Page 1 of 1

Picking the highest value over a group of variables

Posted: Thu May 19, 2011 2:53 am
by bjohn
Suppose I have five variables: a,b,c,d and e.

I want a command which for any given observation, returns the max of the values of a,b,c,d and e.

The @max command returns the highest value of a single variable over a specified time period, but I want to max "the other way"- i.e. across variables but for a single observation.

Does such a command exist? And does it propagate NA's? (Ideally I would like one which doesn't).

Many thanks

Re: Picking the highest value over a group of variables

Posted: Thu May 19, 2011 8:01 am
by EViews Gareth
@rmax