Page 1 of 1
R-squared decimals
Posted: Mon Jun 22, 2015 8:12 am
by miorinnovo
Just curious if there's a way to reduce the number of decimals in a table.
I have my setformat going in the table and it adjusts my rmses to the number of decimals i want but not for my adjusted r-squared (@rbar2) Any ideas?
Thanks
Re: R-squared decimals
Posted: Mon Jun 22, 2015 8:17 am
by EViews Gareth
We'll need more details. Setformat will do it.
Re: R-squared decimals
Posted: Mon Jun 22, 2015 8:22 am
by miorinnovo
So I created a table and formatted it to 3 decimals:
table(11,4) tablename
tablename.setformat(2,2,11,4) f.3
in column 4 I have my @rbar2's but they have many decimal places..
ideas?
thanks
Re: R-squared decimals
Posted: Mon Jun 22, 2015 9:05 am
by EViews Gareth
Works for me:
Code: Select all
create u 100
series y=nrnd
series x=nrnd
equation eq1.ls y c x
table(11,4) tablename
tablename.setformat(2,2,11,4) f.3
tablename(3,4) = eq1.@rbar2
show tablename
Re: R-squared decimals
Posted: Mon Jun 22, 2015 10:17 am
by miorinnovo
Thank you!
I was using:
tablename(3,4) = @str(eq1.@rbar2)
instead of your:
tablename(3,4) = eq1.@rbar2