Home · Command reference

RainbowStats™ · Command reference

MEAN — Arithmetic mean

Calculate the arithmetic average of the supplied observations.

Syntax

MEAN(series)
MEAN(seriesList)
AVG(series)

Inputs and results

A single series returns one number. A series list returns a one-column matrix, with one mean per series in list order.

Example

x = SERIES_SINCE(UNRATE,20010101)
MEAN(x)

Notes and interpretation

AVG is an alias for MEAN. This is a summary over the supplied observations, not a rolling average or a time-weighted average. Select the desired date range first.