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.
Wald Coefficient Restrictions in command pane
Moderators: EViews Gareth, EViews Moderator
-
neptunhiker
- Posts: 50
- Joined: Sat Oct 20, 2012 7:30 am
-
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
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
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:
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
Who is online
Users browsing this forum: No registered users and 2 guests
