The Wald test equation data member command does not work

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

EViewsNas
Posts: 2
Joined: Sat Sep 14, 2013 10:03 pm

The Wald test equation data member command does not work

Postby EViewsNas » Sat Sep 14, 2013 10:22 pm

Hi,
Although I am using Eviews 8, the newly introduced equation data members @robf and @robfprob do not work. I estimated a number of OLS regressions with HAC standard errors and tried to extract the Wald F stats but the error massage (@robf is an illegal or reserved name) always appears. Indeed, other data members such as @f and @r2 work perfectly.

if you would like replicate what I have done, you can create , for example, a new unstructured work file with 3000 observations and run the following code:

series x1=rnd
series x2=rnd
series y=rnd

equation eq1.LS(COV=HAC) Y C X1 X2

scalar c_eq1=@f
scalar c_eq1=@robf

The first five commands work but the last one unfortunately does not.

I hope that this issue will be resolved soon :?

Thanks,
Nas

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

Re: The Wald test equation data member command does not work

Postby EViews Glenn » Mon Sep 16, 2013 9:29 am

Your @f is using an unsupported method for obtaining the scalar value. For older statistics, one was able to use the equation methods without the name of an equation. Newer methods require the method used with an explicit equation.

The following modified version of your code will work

Code: Select all

series x1=rnd series x2=rnd series y=rnd equation eq1.LS(COV=HAC) Y C X1 X2 scalar c_eq1=eq1.@f scalar c_eq1=eq1.@robf
Note that I am explicitly accessing equation EQ1 in the last line.

EViewsNas
Posts: 2
Joined: Sat Sep 14, 2013 10:03 pm

Re: The Wald test equation data member command does not work

Postby EViewsNas » Tue Sep 17, 2013 6:10 am

Thank you :D


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 2 guests