Difference between revisions of "Documentation/How Tos/Calc: VAR function"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Automated text replacement %s)
m (Robot: Automated text replacement %s)
Line 18: Line 18:
  
 
{{Documentation/SeeAlso|
 
{{Documentation/SeeAlso|
* [[Documentation/How_Tos/Calc: VARA function|VARA]],
+
* [[Documentation/How_Tos/Calc: VARA function|VARA]]
* [[Documentation/How_Tos/Calc: VARP function|VARP]],
+
* [[Documentation/How_Tos/Calc: VARP function|VARP]]
* [[Documentation/How_Tos/Calc: VARPA function|VARPA]],
+
* [[Documentation/How_Tos/Calc: VARPA function|VARPA]]
* [[Documentation/How_Tos/Calc: STDEV function|STDEV]],
+
* [[Documentation/How_Tos/Calc: STDEV function|STDEV]]
* [[Documentation/How_Tos/Calc: DEVSQ function|DEVSQ]],
+
* [[Documentation/How_Tos/Calc: DEVSQ function|DEVSQ]]
 
* [[Documentation/How_Tos/Calc: AVEDEV function|AVEDEV]]
 
* [[Documentation/How_Tos/Calc: AVEDEV function|AVEDEV]]
  

Revision as of 14:45, 26 February 2009


VAR

Returns the sample variance.

Syntax:

VAR(number1; number2; ... number30)

number1 to number30 are up to 30 numbers or ranges containing numbers.
VAR returns the variance where number1 to number30 are a sample of the entire population. With N values in the sample, the calculation formula is:
Calc sample var formula.png

Example:

VAR(2; 6; 4)

returns 4.

Template:Documentation/SeeAlso

Issues:

  • Calc assumes that logical values are 1 (TRUE) and 0 (FALSE). Excel ignores logical values.
Personal tools