Command Reference : Function Reference : Function Reference: M
  
 
@max
Maximum value.
Finds the maximum value of the elements of x.
Syntax: @max(x[, s])
x: series, vector, matrix
s: (optional) sample string or object when x is a series and assigning to series
Return: number
The maximum 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
= @max(x)
returns 5.
Cross-references
See also @imax, @min, and @maxes.