Many thanks for your suggestions.
I have incorporated the suggested programme below into my existing programme.
freeze(tab1) e1.wald c(1)=0
scalar f_pvalue = @val(tab1(6,4))
However I'm still not able to get the p-values for the regression coefficients when I run the model. Is it still possible to run all the 31 model simultaneously using the table option ? The only output with all the regression parameters was for only one dependent variable. The other 30 were ignored.
Can you kindly provide a sample programme ?
Many thanks
COEFFICIENTS AND P-VALUES FROM OLS
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
Re: COEFFICIENTS AND P-VALUES FROM OLS
Problem solved. Many thanks for your suggestion.
Re: COEFFICIENTS AND P-VALUES FROM OLS
How did you solve it?
I need to retrieve the p-value from thousands of OLS and store them in a table.
Thank You, Fabio
I need to retrieve the p-value from thousands of OLS and store them in a table.
Thank You, Fabio
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13602
- Joined: Tue Sep 16, 2008 5:38 pm
Re: COEFFICIENTS AND P-VALUES FROM OLS
If you want the p-values from an equation object, the easiest thing to do is to calculate them yourself:
Code: Select all
!df = eq01.@regobs - eq01.@ncoef
vector pvals = @tdist(eq01.@tstats,!df)
Re: COEFFICIENTS AND P-VALUES FROM OLS
I thought so... Thank You!
Who is online
Users browsing this forum: paues and 2 guests
