forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgeometricMean.lcdoc
More file actions
35 lines (20 loc) · 1.23 KB
/
Copy pathgeometricMean.lcdoc
File metadata and controls
35 lines (20 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Name: geometricMean
Type: function
Syntax: geometricMean(<numbersList>)
Summary: <return|Returns> the geometric mean of a list of numbers.
Introduced: 6.1
OS: mac,windows,linux,ios,android
Platforms: desktop,server,web,mobile
Example:
geometricMean(4,36,45,50,75) -- returns 30
Example:
put geometricMean(importedList) into field "Geometric Mean"
Parameters:
numbersList: A comma-separated list of numbers, or an expression that evaluates to such a list, or an array containing only numbers.
Returns: The <geometricMean> function <return|returns> a number.
Description:
Use the <geometricMean> <function> to find the <value(function)> that best represents a group of <value(glossary)|values> for sets of positive numbers that are interpreted according to their product and not their sum.
The <geometricMean> <function> was added in version 6.1 to complement the <average> <function>.
If the <numbersList> is empty, the <geometricMean> <function> returns zero.
References: function (control_st), min (function), statRound (function), round (function), harmonicMean (function), variance (function), average (function), value (function), max (function), median (function), standardDeviation (function), return (glossary), value (glossary)
Tags: math