Page 1 of 1

How can I get p values into a table?

Posted: Wed Nov 26, 2014 8:56 am
by Jolandilab
Hi

I am very new to programming in eviews.

I want to create a table with the p-values of the different coefficients. I know from another post (http://forums.eviews.com/viewtopic.php?f=5&t=1068) that I need to calculate it but that post produces a vector. I would like it in a table.

The code from the other post was:

Code: Select all

!df = eq01.@regobs - eq01.@ncoef vector pvals = @tdist(eq01.@tstats,!df)

Re: How can I get p values into a table?

Posted: Wed Nov 26, 2014 9:48 am
by EViews Gareth
If you're using EViews 8, you can do eq.@pvals(1)

Re: How can I get p values into a table?

Posted: Wed Nov 26, 2014 12:36 pm
by Jolandilab
Thank you!