Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: test for equality of coeff. across models with different samples


From   David Hoaglin <[email protected]>
To   [email protected]
Subject   Re: st: test for equality of coeff. across models with different samples
Date   Tue, 3 Apr 2012 06:55:00 -0400

Bettina,

If one sample is a subsample of the other, the two estimates of a
particular coefficient are not independent.  You can "test their
equality" by fitting a model to the full sample that includes an
interaction between the subsample and each predictor (for the
constant, an indicator for being in the subsample).  The test would
then be that the coefficient of the interaction is zero.

David Hoaglin


> I estimate two models and want to test for equality of coefficients across the equations. At the same time the samples I use differ across models (one is a subsample of the other) .
> More specifically I estimate:
> Logit dep.var independent vars
> Logit dep.var independents vars, fe
>
> I want to know whether coefficientlist_eq.1=coefficientlist_eq.2 foreach independent variable.
> Is test the appropriate command here?
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index