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: comparing coefficients across models


From   David Hoaglin <[email protected]>
To   [email protected]
Subject   Re: st: comparing coefficients across models
Date   Thu, 2 Aug 2012 21:33:21 -0400

Hello, Dalhia.

Others have already given a useful suggestion for comparing the two
coefficients.

You should investigate the reason(s) for the collinearity problem that
you are reporting.  If x1 and x2 are continuous variables, it may be
helpful to center them (at their mean or at some other convenient
value).

What was the actual model that produced the collinearity problem?

David Hoaglin

On Thu, Aug 2, 2012 at 4:41 PM, Dalhia <[email protected]> wrote:
>
> Hello,
> I have two groups and need to run the same regression model
> on both groups (number of observations differ but variables are all the
> same). I am interested in the difference in the coefficients for one
> particular variable.
>
> here are the two models I am running:
>
> xtreg y x1 x2, fe robust if group==1
> xtreg y x1 x2, fe robust if group==2
>
> I cannot put the two groups together, and run the model with an
> interaction with dummy variable for group, because then the model becomes highly
> multicollinear, and the coefficients are not stable.
>
> Is there a test that can help me check if the coefficient on x2 differs significantly across the two groups?
*
*   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