Difference between revisions of "Manuals/calci/GEOMEAN"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> <font size="3"><font face="Times New Roman">'''GEOMEAN''' (n1, n2...)</font></font> <font size="3"><font face="Tim...")
 
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
<div style="font-size:30px">'''GEOMEAN(n1,n2,…)'''</div><br/>
 +
*<math>n1,n2</math> are the positive real numbers.
 +
==Description==
 +
*This function gives the geometric mean of an array or references.
 +
*For example it is used to calculate average rate of growth of human population.
 +
*The geometric mean of two numbers, is  the square root of their product and the geometric mean of the three numbers  is the cube root of their product.
 +
*So the geometric mean of n numbers is defined as the nth root of the product of the numbers.
 +
*In GEOMEAN(n1,n2...)n1,n2.., are positive real numbers and n1 is required. n2,n3.. are optional.
 +
*The  arguments  can be numbers ,names, arrays or references that contain numbers.
 +
*Also we can directly use logical values and text representations of numbers.
 +
*The values are ignored when the argument contains logical values or empty cells.
 +
*The geometric and arithmetic means are equal when all the numbers in the given set are equal,otherwise the geometric mean of a data set is less than the data set's arithmetic mean.
 +
*The geometric mean of a data set {a1,a2 ...,an} is given by:
 +
[PI(){i=1 to n} ai] ^{1/n} = sqrt[n]{a1, a2 ... an}.
 +
*This function will give the result as error when
 +
#Any one of the argument is nonnumeric
 +
#Any one value<=0
 +
#Any one of the references cannot be translated in to numbers.
  
<font size="3"><font face="Times New Roman">'''GEOMEAN''' (n1, n2...)</font></font>
+
==Examples==
 +
GEOMEAN(3,27)=9
 +
GEOMEAN(2,4,8)=4
 +
GEOMEAN(3,5,8,10,12)=6.786916380543178
 +
GEOMEAN(-2,32)=NAN, because the value is<0.
 +
==See Also==
  
<font size="3"><font face="Times New Roman">n1, n2 etc are parameters. You can also give as an array or use array reference.</font></font>
+
==References==
 
+
[http://en.wikipedia.org/wiki/Gamma_distribution| Gamma Distribution]*
</div>
 
----
 
<div id="1SpaceContent" class="zcontent" align="left">
 
 
 
<font size="3"><font face="Times New Roman">To calculates the geometric mean. Parameter can be an array.</font></font>
 
 
 
</div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left">
 
 
 
<font size="3">·</font>        <font size="3"><font face="Times New Roman">Parameters are numbers, names, arrays, and references. </font></font>
 
 
 
<font size="3">·</font>        <font size="3"><font face="Times New Roman">Here logical values and the text representations of numbers are calculated. </font></font>
 
 
 
<font size="3">·</font>        <font size="3"><font face="Times New Roman">GEOMEAN calculates the error value when data point ≤ 0. </font></font>
 
 
 
<font size="3"><font face="Times New Roman">
 
 
 
Formulas:-
 
 
 
[[Image:PicExportError|13px|*]]<font color="#000000">                       </font><font size="3"><font color="#000000"><font face="Times New Roman">The equation to find out the geometric mean is: </font></font></font>
 
 
 
</font></font></div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
 
 
GEOMEAN
 
 
 
</div></div>
 
----
 
<div id="8SpaceContent" class="zcontent" align="left"><font face="Times New Roman"> 
 
 
 
<font size="3"><font color="#000000">GEOMEAN (B2, B3, B4, B5)</font></font>
 
 
 
<font size="3"><font color="#000000">GEOMEAN (2, 4, 6, 8) = 4.4267</font></font>
 
 
 
</font></div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></div></div>
 
----
 
<div id="4SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Remarks </div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Examples </div></div>
 
----
 
<div id="11SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Description </div></div>
 
----
 
<div id="2SpaceContent" class="zcontent" align="left">
 
 
 
{| id="TABLE3" class="SpreadSheet blue"
 
|- class="even"
 
| class="    " |
 
| Column1
 
| class="  " | Column2
 
| class="  " | Column3
 
| class="  " | Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class=" " | 2
 
| class="sshl_f" | 4.426728
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| class="  " | Row2
 
| class=" " | 4
 
| class="SelectTD" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="odd"
 
| Row3
 
| class=" " | 6
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| Row4
 
| class="sshl_f " | 8
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="odd"
 
| class=" " | Row5
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| Row6
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|}
 
 
 
<div align="left">[[Image:calci1.gif]]</div></div>
 
----
 

Revision as of 23:34, 4 December 2013

GEOMEAN(n1,n2,…)


  • are the positive real numbers.

Description

  • This function gives the geometric mean of an array or references.
  • For example it is used to calculate average rate of growth of human population.
  • The geometric mean of two numbers, is the square root of their product and the geometric mean of the three numbers is the cube root of their product.
  • So the geometric mean of n numbers is defined as the nth root of the product of the numbers.
  • In GEOMEAN(n1,n2...)n1,n2.., are positive real numbers and n1 is required. n2,n3.. are optional.
  • The arguments can be numbers ,names, arrays or references that contain numbers.
  • Also we can directly use logical values and text representations of numbers.
  • The values are ignored when the argument contains logical values or empty cells.
  • The geometric and arithmetic means are equal when all the numbers in the given set are equal,otherwise the geometric mean of a data set is less than the data set's arithmetic mean.
  • The geometric mean of a data set {a1,a2 ...,an} is given by:

[PI(){i=1 to n} ai] ^{1/n} = sqrt[n]{a1, a2 ... an}.

  • This function will give the result as error when
  1. Any one of the argument is nonnumeric
  2. Any one value<=0
  3. Any one of the references cannot be translated in to numbers.

Examples

GEOMEAN(3,27)=9 GEOMEAN(2,4,8)=4 GEOMEAN(3,5,8,10,12)=6.786916380543178 GEOMEAN(-2,32)=NAN, because the value is<0.

See Also

References

Gamma Distribution*