Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: dwstat for paneldata


From   "Mansour Farahani" <mfarahan@hsph.harvard.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   Re: st: dwstat for paneldata
Date   Tue, 21 Aug 2007 10:22:10 -0400

Wooldridge (2002, 282283) derives a simple test for autocorrelation in panel-data models. There is a user-written program, called xtserial, written by David Drukker to perform this test in Stata. To install this user-written program, type

findit xtserial
To use xtserial, you simply specify the dependent and independent variables. A significant test statistic indicates the presence of serial correlation.

Mansour
>>> "frank palme" <frank.palme@googlemail.com> 08/21/07 10:06 AM >>>
hello statalist,

i have a problem with the durbin watson test employed to panel data. i
have bilateral trade data. i created a panelid, so i won't have
repeated time observations and set the year with tab year =
gen(dyear).

then i did;
tsset panelid year, yearly

when i wanted to used the dwstat comand, the error message appeared
that this test is not usable with multiple panels?

am i doing something wrong in setting the dataset panel?

thank you for your help

frank
*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index