Hi Kashif,
you can test for autocorrelation in panel data using -xtserial- (type
-findit xtserial- to install it) and correct for it with either -xtregar-
or -xtgls-.
I'm not quite sure about the -xtivreg- command though, sorry.
Cordula
--On 09 August 2004 13:58 +0500 kashif saeed <[email protected]> wrote:
Hi!
I am new to Stata and working on panel data. I want little help regarding
Stata procedures for panel data. When AR (1) models are estimated Stata
does not reports DW statistic if Baltagi-WU LBI statistic is not
required. Is there any command to get DW statistic without LBI statistic.
My second question is that if autocorrelation is detected then how can
one remove it in panel data models in Stata.
When using instrumental variables in panel data there is no option of
detecting autocorrelation. How can this be done (with commands) and how
can autocorrelation be removed.
Any help in this regard will be greatly appreciated.
Kashif Saeed.
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/