Programming a table
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Posts: 199
- Joined: Sun Mar 01, 2015 5:01 pm
Programming a table
Hi,
How can I program a table so that the data will update with the chosen sample length.
Right now in my table I have @mean(variable). the mean of that variable does not change even if I change the length of my sample. How can I have the table react to sample length?
Thanks
How can I program a table so that the data will update with the chosen sample length.
Right now in my table I have @mean(variable). the mean of that variable does not change even if I change the length of my sample. How can I have the table react to sample length?
Thanks
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13309
- Joined: Tue Sep 16, 2008 5:38 pm
-
- Posts: 199
- Joined: Sun Mar 01, 2015 5:01 pm
Re: Programming a table
Ok thanks. I guess i just have to rerun the table each time.
-
- Posts: 199
- Joined: Sun Mar 01, 2015 5:01 pm
Re: Programming a table
IS there a way to give data for different samples? For example variable a's mean from 2010-2012 but variable b's mean from 2010-2015?
thanks
thanks
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13309
- Joined: Tue Sep 16, 2008 5:38 pm
-
- Posts: 199
- Joined: Sun Mar 01, 2015 5:01 pm
Re: Programming a table
I meant display, but i found a work around...
Actually on another point, I'm using the (cov=hac) version of a univariate least squares regression. Is there a way to display the resulting p value in a tables?
Actually on another point, I'm using the (cov=hac) version of a univariate least squares regression. Is there a way to display the resulting p value in a tables?
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13309
- Joined: Tue Sep 16, 2008 5:38 pm
-
- Posts: 199
- Joined: Sun Mar 01, 2015 5:01 pm
Re: Programming a table
The p value for the constant and/or and other variable in the regression.
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13309
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Programming a table
Follow us on Twitter @IHSEViews
-
- Posts: 199
- Joined: Sun Mar 01, 2015 5:01 pm
Re: Programming a table
Thanks.
As a follow up, can you tell em how to get the p-value for the Breusch-Godfrey Serial Correlation LM Test in a table?
Using gives me the pvalue for the first variable in that equation. How do I adjust this line of code to get the p-value from the f-test form the Breusch-Godfrey?
Thanks a lot.
As a follow up, can you tell em how to get the p-value for the Breusch-Godfrey Serial Correlation LM Test in a table?
Using
Code: Select all
equation.@pval(1)
Thanks a lot.
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13309
- Joined: Tue Sep 16, 2008 5:38 pm
-
- Posts: 199
- Joined: Sun Mar 01, 2015 5:01 pm
Re: Programming a table
Thanks again. I'm using the code from this linked post:
and this may be a dumb question but why does the p value for the f-stat that shows up in the "freeze" table not exactly the same as the Prob(Wald F-statistic) that gets reported in the estimation output for the same equaiton?
Thanks again
Code: Select all
freeze(tab1) eq01.wald c(1)=0
scalar f_pvalue = @val(tab1(6,4))
and this may be a dumb question but why does the p value for the f-stat that shows up in the "freeze" table not exactly the same as the Prob(Wald F-statistic) that gets reported in the estimation output for the same equaiton?
Thanks again
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13309
- Joined: Tue Sep 16, 2008 5:38 pm
-
- Posts: 199
- Joined: Sun Mar 01, 2015 5:01 pm
Re: Programming a table
I do but I made this adjustment to the code c(1)=c(2)=0.
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13309
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Programming a table
The report F-stat is the test that all the coefficients other than the constant are zero.
Follow us on Twitter @IHSEViews
Who is online
Users browsing this forum: No registered users and 11 guests