Navigation:  thinBasic Modules > STAT (Statistical module) >

Stat_MeanGeometric

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the geometric mean of all ArrayVariable items.

 

Syntax

 

n = STAT_MeanGeometric(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 geometric mean of a set of n numbers x1, x2, ..., xn is defined as follows:

 

 

Since computing geometric mean requires taking root, it is further required that all input data values must be positive.

 

Restrictions

 

See also

 

Examples