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]
st: RE: RE: Residual diagnostics for panel data regression
From
Silvia Palombi <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: RE: RE: Residual diagnostics for panel data regression
Date
Tue, 25 Sep 2012 08:48:28 +0100
Hi Mark
Thanks a lot.
I am using xtcd, but I'm doing xtmg estimation and unfortunately xttest1 etc. can only be used after xtreg and xtgls.
As an alternative, I constructed a loop to ran -wntestq- (Portmanteau's serial correlation test) on region-specific residuals, stored the p-values and then used these to obtain a Fisher statistics.
This is as far as I could get because I cannot do the same with -hettest-, since this command can only be used after -reg- and not to test residuals directly as with -wntestq- (i.e., hettest resid is not allowed).
If you have any other suggestions it would be helpful to hear them.
Many thanks,
Silvia
________________________________________
From: [email protected] [[email protected]] On Behalf Of Schaffer, Mark E [[email protected]]
Sent: 24 September 2012 21:34
To: [email protected]
Subject: st: RE: Residual diagnostics for panel data regression
Silvia,
> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Silvia Palombi
> Sent: 23 September 2012 22:34
> To: [email protected]
> Subject: st: Residual diagnostics for panel data regression
>
> Dear Statalisters
>
> I would like to run diagnostic tests on residuals from a panel data
model - in
> particular normality, serial correlation and heteroskedasticity.
>
> For normality, -iqr- and -swilk- seemed to work, but the -wntestq-
> Portmanteau test for serial correlation and the -hettest- White
> heteroskedasticity test did not (because the sample includes multiple
> panels).
>
> Could anyone tell me whether there are any post-estimation commands
> which would allow me to run similar tests on residuals from panel data
> models?
A bit of searching with findit yielded some possibilities:
xttest1
xttest2
xttest3
xtcsd
xtcd
xtserial
-findit [P]- (where [P] is the name of the program above) will tell you
about the program and how to install it.
HTH,
Mark
>
> Thank you.
> *
> * 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/
--
Heriot-Watt University is the Sunday Times
Scottish University of the Year 2011-2012
We invite research leaders and ambitious early career researchers to
join us in leading and driving research in key inter-disciplinary themes.
Please see www.hw.ac.uk/researchleaders for further information and how
to apply.
Heriot-Watt University is a Scottish charity
registered under charity number SC000278.
*
* 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/
*
* 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/