DWstat for Panel Least Squares

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

PROFI_USER
Posts: 8
Joined: Wed Oct 30, 2013 4:21 am

DWstat for Panel Least Squares

Postby PROFI_USER » Mon Feb 24, 2014 12:25 am

Dear experts,

I have found out that Eviews 7 shows different DW stat if I include some NA values to the end of the sample. This modification does not change estimation results except DW stat.
Screen shots show data and estimations results.

Thanks!
Capture.PNG
Capture.PNG (24.47 KiB) Viewed 5974 times
Capture2.PNG
Capture2.PNG (16.62 KiB) Viewed 5974 times

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: DWstat for Panel Least Squares

Postby startz » Mon Feb 24, 2014 7:16 am

You've also included NA values in the middle of the sample. That changes the pattern of serial correlation.

PROFI_USER
Posts: 8
Joined: Wed Oct 30, 2013 4:21 am

Re: DWstat for Panel Least Squares

Postby PROFI_USER » Wed Feb 26, 2014 12:20 am

Thank you for your answer!

Could you please clarify another one aspect of DWstat for panel data. I am confused with terms which contain resids from different cross-sections. Namely
term.PNG
term.PNG (1.21 KiB) Viewed 5937 times
How can we interpret such term? I was not able to find buckground for this.

In particular Alok Bhargava [1982] gives formula which looks quite consiquent.
WikiFormula.PNG
WikiFormula.PNG (13.02 KiB) Viewed 5937 times
How do you feel about it?
Thanks!
Bhargava, Alok; Franzini, L.; Narendranathan, W. (1982). "Serial Correlation and the Fixed Effects Model". Review of Economic Studies 49 (4): 533–549.

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: DWstat for Panel Least Squares

Postby startz » Wed Feb 26, 2014 7:18 am

In the Bhargava formula you give, there are never residuals from different cross sections in a term. They all have the subscript i.

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: DWstat for Panel Least Squares

Postby EViews Glenn » Wed Feb 26, 2014 9:30 am

The DW for the original example looks odd to me as the NAs are added at the end of the cross-section sample and thus shouldn't have an effect (that's my first instinct). I'll take a look when I get into the office this morning. That said, personally, I find the DW in a panel context to be less than illuminating.

[edit] Illuminating or not, we've got a bug. There are some cases when we compute the DW where we lose the panel workfile context. So in this case, the examples not only don't match, but neither is correct. I'll let you know when I have a fix. Sorry for the inconvenience.

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: DWstat for Panel Least Squares

Postby EViews Glenn » Thu Feb 27, 2014 5:19 pm

I've posted a fix in the main EViews code-base and it should show up in the next patch. Again, our apologies.

PROFI_USER
Posts: 8
Joined: Wed Oct 30, 2013 4:21 am

Re: DWstat for Panel Least Squares

Postby PROFI_USER » Wed Mar 05, 2014 12:16 am

Thank you for your assistance!


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest