Page 1 of 1

eviews output? Where is it?

Posted: Mon Mar 20, 2017 5:18 pm
by Eoghan
I'm trying to get the p-value from my f-statistic.

I ran the command: !pval = @qfdist(.0319,3,1226) and eviews at the bottom left says !pval successfully computed

Where does the result go? I need what it computed

Re: eviews output? Where is it?

Posted: Mon Mar 20, 2017 5:23 pm
by EViews Gareth
It is stored in the program variable !pval.

Program variables disappear once the program has run.

If you want something permanent, use a scalar object instead

Re: eviews output? Where is it?

Posted: Mon Mar 20, 2017 5:28 pm
by Eoghan
I tried scalar pvalue=!pval=..... but that says !pval not defined now

Re: eviews output? Where is it?

Posted: Mon Mar 20, 2017 7:46 pm
by EViews Gareth
Did you define it in your program?

Re: eviews output? Where is it?

Posted: Tue Mar 21, 2017 8:44 am
by EViews Matt
Hello,

The syntax "pvalue = !pval = @qfdist(.0319,3,1226)" tests whether !pval is equal to @qfdist(.0319,3,1226) and assigns that true/false result to pvalue, it does not assign the value returned by @qfdist to both !pval and pvalue. It sounds like "pvalue = @qfdist(.0319,3,1226)" is what you want.