Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: xtivreg,re - check linearity assumption


From   "Daniel Schalling" <daniel.schalling@uni-weimar.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: xtivreg,re - check linearity assumption
Date   Mon, 5 Dec 2011 11:46:50 +0100

Dear Statalis

I did a xtivreg,re with 75 groups, 60 time intervals (days), 90 exogenous
variables and 1 endogenous variable with 1 instrument. After estimating the
model I want to check the linearity assumptions. 

After an usual regression you can do this with the - acprplot - command.

How to deal with that after a xtivreg,re? Is there a similar command? I made
a research about this, but I didn't find anything.

I tried to deal with it like that, but I'm not sure whether that's ok:
xtivreg y x1 (x2 = z), re
predict resid, ue
twoway (scatter resid x1) (lfit  resid x1)  (lowess  resid x1)
--> if in the graph is a clear violation of the linear assumption is
visible, I'll take a closer look at the variable x1

Thanks for any suggestion,
Daniel.


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index