Wald Coefficient Restrictions in command pane

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

neptunhiker
Posts: 50
Joined: Sat Oct 20, 2012 7:30 am

Wald Coefficient Restrictions in command pane

Postby neptunhiker » Sat Nov 03, 2012 9:34 am

Hello everyone,

I would like to test the hypothesis whether a coefficient in a linear regression model output is different from 1. After having estimated the regression I can use the view menu and enter my restriction c(2)=1 through Coefficient Diagnostics-Wald Coefficient Restrictions. What do I need to do, if I want to do the same procedure in the command pane or in a program?

Let's assume I have about 100 different equations and I want to test for all of them, whether the coefficient c(2) is equal to 1. How can I do that without doing the wald test via the view menu for each and one of them manualy?

Thanks a lot for suggestions.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Wald Coefficient Restrictions in command pane

Postby EViews Gareth » Sat Nov 03, 2012 4:28 pm

Look up the wald entry in the Equation section of the Object Reference.

neptunhiker
Posts: 50
Joined: Sat Oct 20, 2012 7:30 am

Re: Wald Coefficient Restrictions in command pane

Postby neptunhiker » Sun Nov 04, 2012 2:20 am

Hi Gareth,

thank you. I am still quite a beginner in eViews, so I wasn't aware of the object reference menu. Here is my solution:

Code: Select all

' Estimate ls equation equation eq1.ls seriesA c seriesB ' Wald Test Hypothesis C(2)=1 eq1.wald c(2)=1


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests