Statalist


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

Re: st: dwstat for paneldata


From   "frank palme" <[email protected]>
To   [email protected]
Subject   Re: st: dwstat for paneldata
Date   Tue, 21 Aug 2007 15:36:18 +0100

dear mansour farahani,

thank you very much for your help, it worked perfectly.

frank

On 8/21/07, Mansour Farahani <[email protected]> wrote:
> Wooldridge (2002, 282�283) 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" <[email protected]> 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/
>

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index