How can I get p values into a table?

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

Jolandilab
Posts: 4
Joined: Wed Nov 26, 2014 8:39 am

How can I get p values into a table?

Postby Jolandilab » Wed Nov 26, 2014 8:56 am

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)

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

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

Postby EViews Gareth » Wed Nov 26, 2014 9:48 am

If you're using EViews 8, you can do eq.@pvals(1)

Jolandilab
Posts: 4
Joined: Wed Nov 26, 2014 8:39 am

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

Postby Jolandilab » Wed Nov 26, 2014 12:36 pm

Thank you!


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests