Page 1 of 1

Max/Min in Matrix

Posted: Thu Aug 22, 2013 6:23 am
by Katjes
Hi, I try to get the max and min of each column of a matrix, using the cmax and cmin command.
However, if the matrix contains NA values these commands don't work,
Therefore I created a table including the stats of the matrix, and then create a vector, which is filled by the min and max values given in the stats table.
Is it possible to get it easier (by command)? Or what is the reason, why cmin/cmax are not working correctly?

Re: Max/Min in Matrix

Posted: Thu Aug 22, 2013 6:54 am
by EViews Gareth
They are working correctly :wink:

If you want the non-NA version, then the way you're doing it is probably the easiest.