@mean |

Arithmetic mean.

Computes the arithmetic mean of the elements of x.

Syntax: @mean(x[, s])

x: series, vector, matrix

s: (optional) sample string or object when x is a series and assigning to a series

Return: number

For series calculations, EViews will use the current or specified workfile sample.

Examples

= @mean(x)

returns the sample mean of a series x. If x = @rnd, then @mean(x) will be near 0.5 in large samples.

Cross-references