Difference between revisions of "Manuals/calci/HARMEAN"

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">'''HARMEAN''' (N'''1''', N2...)</font></font> <font size="3"><font fac...")
 
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
<div style="font-size:30px">'''HARMEAN(n1,n2)'''</div><br/>
 +
*<math>n1</math> and <math>n2 </math> are the positive real numbers.
 +
==Description==
 +
*This function gives the harmonic mean of a given set of numbers.
 +
*Harmonic mean is used to calculate the average of a set of numbers.
 +
*The Harmonic mean is always the lowest mean.
 +
*Normally Harmonic mean<geometric mean<Arithmetic mean.
 +
*Harmonic mean is dfined by the reciprocal of the arithmetic mean of the reciprocals of a specified set of numbers.
 +
*The harmonic mean of a positive real numbers x1,x2,x3....xn>0 is defined by H=n/(1/x1+1/x2+...+1/xn)=n/summation (i=1 to n)(1/xi).
 +
*In HARMEAN(n1,n2,...) n1,n2.. are the positive real numbers, and here n1 is required.n2,n3..., are optional.
 +
*Also arguments can be numbers,names, arrays or references that contain numbers.
 +
*We can give logical values and text representations of numbers directly. Suppose the arguments contains any text, logical values or empty cells like that values are ignored.
 +
*This will give the result as error when 1.the arguments with the error values or the referred text couldn't translated in to numbers.
 +
2.Also any data point<=0.
 +
==Examples==
  
<font size="3"><font face="Times New Roman">'''HARMEAN''' (N'''1''', N2...)</font></font>
+
HARMEAN(1,2,3,4,5)=2.18978102189781
 +
HARMEAN(20,25,32,41)=27.4649361523969
 +
HARMEAN(0.25,5.4,3.7,10.1,15.2)=1.0821913906985883                 
 +
HARMEAN(3,5,0,2)=NAN
 +
HARMEAN(1,-2,4)=NAN
  
<font size="3"><font face="Times New Roman">'''Where N1, N2 ...'''   n1, n2 etc are parameters. You can also give as an array or use array reference.</font></font>
+
==See Also==
 +
*[[Manuals/calci/AVERAGE  | AVERAGE ]]
 +
*[[Manuals/calci/GEOMEAN  | GEOMEAN ]]
  
</div>
 
----
 
<div id="1SpaceContent" class="zcontent" align="left">
 
  
<font size="3"><font face="Times New Roman">Calci returns the harmonic mean of a data set. It is the reciprocal of the arithmetic mean of reciprocals. </font></font>
+
==References==
 
+
[http://en.wikipedia.org/wiki/Pearson_product-moment_correlation_coefficient| Correlation]
</div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left">
 
 
 
<font size="3">·</font>        <font size="3"><font face="Times New Roman">HM &lt;GM&lt;AM. </font></font>
 
 
 
<font size="3">·</font>        <font size="3"><font face="Times New Roman">The values are ignored, when an array or reference argument contains text, logical values, or empty cells. </font></font>
 
 
 
<font size="3">·</font>        <font size="3"><font face="Times New Roman">Logical values and text representations of numbers are counted. </font></font>
 
 
 
<font size="3">·</font>        <font size="3"><font face="Times New Roman">HARMEAN calculates an error value, when any data point ≤ 0. </font></font>
 
 
 
<font size="3"><font face="Times New Roman"></font></font>
 
 
 
<font size="3"><font face="Times New Roman">
 
 
 
Formulas:-
 
 
 
<font size="3"><font face="Times New Roman">To find out the harmonic mean, the equation is: </font></font>
 
 
 
</font></font></div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
 
 
HARMEAN
 
 
 
</div></div>
 
----
 
<div id="8SpaceContent" class="zcontent" align="left">
 
 
 
Lets see an example in (Column1, Row1)
 
 
 
<nowiki>=HARMEAN (B1:B6) That is </nowiki>
 
 
 
<nowiki>=HARMEAN(5,6,7,9,12,13) is 7.68</nowiki>
 
 
 
</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=" " | 5
 
| class="sshl_f" | 7.683527
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| class="  " | Row2
 
| class=" " | 6
 
|
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="odd"
 
| Row3
 
| class=" " | 7
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| Row4
 
| class=" " | 9
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="odd"
 
| class=" " | Row5
 
| class=" " | 12
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| Row6
 
| class="sshl_f " | 13
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|}
 
 
 
<div align="left">[[Image:calci1.gif]]</div></div>
 
----
 

Revision as of 02:10, 10 December 2013

HARMEAN(n1,n2)


  • and are the positive real numbers.

Description

  • This function gives the harmonic mean of a given set of numbers.
  • Harmonic mean is used to calculate the average of a set of numbers.
  • The Harmonic mean is always the lowest mean.
  • Normally Harmonic mean<geometric mean<Arithmetic mean.
  • Harmonic mean is dfined by the reciprocal of the arithmetic mean of the reciprocals of a specified set of numbers.
  • The harmonic mean of a positive real numbers x1,x2,x3....xn>0 is defined by H=n/(1/x1+1/x2+...+1/xn)=n/summation (i=1 to n)(1/xi).
  • In HARMEAN(n1,n2,...) n1,n2.. are the positive real numbers, and here n1 is required.n2,n3..., are optional.
  • Also arguments can be numbers,names, arrays or references that contain numbers.
  • We can give logical values and text representations of numbers directly. Suppose the arguments contains any text, logical values or empty cells like that values are ignored.
  • This will give the result as error when 1.the arguments with the error values or the referred text couldn't translated in to numbers.

2.Also any data point<=0.

Examples

HARMEAN(1,2,3,4,5)=2.18978102189781 HARMEAN(20,25,32,41)=27.4649361523969 HARMEAN(0.25,5.4,3.7,10.1,15.2)=1.0821913906985883 HARMEAN(3,5,0,2)=NAN HARMEAN(1,-2,4)=NAN

See Also


References

Correlation