Page 1 of 1

fixed decimals in matrix

Posted: Thu Feb 27, 2025 3:56 am
by remuct
Hello
I am filling a matrix with column vectors using colplace, is there a way to limit the number of decimals in a given column? Setcell allows this by specifying the fixed decimal as the last argument, but this does not work with colplace.
Thank you

Re: fixed decimals in matrix

Posted: Thu Feb 27, 2025 8:56 am
by EViews Gareth
Display or actual?

Re: fixed decimals in matrix

Posted: Thu Feb 27, 2025 12:26 pm
by remuct
Do you mean by "actual" the values of the initial vector (possibly subject to further calculations) and by "display" the values displayed as results? If so, displayed. What I want is to display the values of the column vector in a matrix with fixed decimals.

Re: fixed decimals in matrix

Posted: Thu Feb 27, 2025 10:38 pm
by EViews Gareth
Once you have the matrix filled, use setformat:

https://eviews.com/help/helpintro.html# ... 23ww175785