I saved a correlation matrix for group grp in a table corr_grp
freeze(corr_grp) grp.cor
Now I want to optimise by reducing the decimals of 2. Everthing is fine if the correlation is positive, but for negative values the correlation is put in brackets.
corr_grp.setformat( @all) f(.2)
How can I change this, so that a (0.34) is shown as -0.34.
setformat for negative values
Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: setformat for negative values
If you don't want the negatives in parenthesis, why did you use them in the format choice?
Surely you just want
corr_grp.setformat(@all) f.2
Surely you just want
corr_grp.setformat(@all) f.2
Follow us on Twitter @IHSEViews
Re: setformat for negative values
Ok, thanks, but if the numbers are only positive, then I got no brackets using my command above, hence I thought that I used the right command.
But I will skip the brackets! Thanks again!
But I will skip the brackets! Thanks again!
Who is online
Users browsing this forum: No registered users and 10 guests