# MEAN

## Purpose:

Calculates the mean value of a series.

## Syntax:

MEAN(series, first,
points)

series |
- |
Optional. A series, defaults to the current
Window. |

first |
- |
Optional. An integer, the first point to include
in the calculation of the mean. Defaults to 1. |

points |
- |
Optional. An integer, the number of points
to include in the mean calculation. Defaults to the number of points from
first to the end of the series. |

## Returns:

A real.

## Example:

mean(gsin(200,0.01))

returns -5.592748E-016.

## Example:

mean(gsin(200,0.01),1,50)

returns 0.636410.

## Remarks:

The sample mean is define as:

MEAN operates on Real or Complex series.

See COLMEAN
to determine the mean of each column of an array.

MEAN ignores NaN values.

## See Also:

AVGS

COLMEAN

DEMEAN

KURTOSIS

MEDIAN

PERCENTILE

RMS

ROWMEAN

SKEW

STATS

STD

STDEV

SUM