@mins |

Minimum values (multiple).

Vector or svector the n minimum values of the elements of x.

Syntax: @mins(x, n[, s])

x: data object

s: (optional) sample string or object when x is a series or alpha

Return: vector or svector

The minimum 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

= @mins(x,2)

returns a vector of length 2 whose elements are 1 and 2.

Cross-references