@movmin |

Trailing moving minimums (propagate NAs).

n-period trailing minimums, propagating NAs.

Syntax: @movmin(x, n)

x: series

n integer, series

Return: series

For each observation and integer , compute the minimum () using the current and previous observations of the series,

and propagating missing values (NAs).

If n is not an integer, the integer floor will be used.

Examples

show @movmin(x, 12)

produces a linked series of minimums based on a 12-period moving window over the series x where NAs propagate.

Cross-references

See also
@movmax.