extracting r-square from table

For questions regarding programming in the EViews programming language.

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

vogelh
Posts: 33
Joined: Mon May 21, 2012 2:27 pm

extracting r-square from table

Postby vogelh » Tue Jul 11, 2017 4:11 pm

Sorry to bother on simple programming question.
On OLS results table, what is best way to extract R-squared output and put it in a results matrix. I tried results (1,1) =eq1.ls @cor
but this didn't work.

Thanks.

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

Re: extracting r-square from table

Postby EViews Gareth » Tue Jul 11, 2017 4:13 pm

Code: Select all

results(1,1) = eq1.@r2
Follow us on Twitter @IHSEViews

vogelh
Posts: 33
Joined: Mon May 21, 2012 2:27 pm

Re: extracting r-square from table

Postby vogelh » Tue Jul 11, 2017 4:48 pm

Thanks.
using v.9.5
for adjusted r-square what is the instruction? is it a-r2
Also, hoping you can get pie charts into graphing on new v10.

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

Re: extracting r-square from table

Postby EViews Gareth » Tue Jul 11, 2017 5:13 pm

Follow us on Twitter @IHSEViews

vogelh
Posts: 33
Joined: Mon May 21, 2012 2:27 pm

Re: extracting r-square from table

Postby vogelh » Tue Jul 11, 2017 8:56 pm

greatly appreciated. many thanks.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 19 guests