Stat_MeanArithmetic

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > STAT (Statistical module) >

Stat_MeanArithmetic

 

Description

 

Returns the arithmetic mean of all ArrayVariable items.

 

Syntax

 

n = STAT_MeanArithmetic(ArrayVariable)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

ArrayVariable

Numeric Array

No

The array containing data

 

Remarks

 

This function will expect the name of a predefined array with all the necessary data already loaded.

 

The arithmetic mean of a set of n numbers x1, x2, ..., xn is defined as follows:

 

 

Restrictions

 

See also

 

Examples