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
R-squared decimals
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: R-squared decimals
We'll need more details. Setformat will do it.
-
miorinnovo
- Posts: 199
- Joined: Sun Mar 01, 2015 5:01 pm
Re: R-squared decimals
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
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
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: R-squared decimals
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
-
miorinnovo
- Posts: 199
- Joined: Sun Mar 01, 2015 5:01 pm
Re: R-squared decimals
Thank you!
I was using:
tablename(3,4) = @str(eq1.@rbar2)
instead of your:
tablename(3,4) = eq1.@rbar2
I was using:
tablename(3,4) = @str(eq1.@rbar2)
instead of your:
tablename(3,4) = eq1.@rbar2
Who is online
Users browsing this forum: No registered users and 0 guests
