Maximum values (multiple).
Vector of the n maximum values of the elements of x.
Syntax: @max(x, n[, s])
x: series, vector, matrix
s: (optional) sample string or object when x is a series and assigning to a series
Return: vector
The maximum n values may be written as
where the order statistics
represent the data ordered from low to high.
For series calculations, EViews will use the current or specified workfile sample.
Examples
Let x be a series of length 5 whose elements are 1, 3, 5, 4, 2. Then
= @maxes(x,2)
returns a vector of length 2 whose elements are 5 and 4.
Cross-references
See also
@imaxes,
@mins, and
@max.