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

From Apache OpenOffice Wiki
Jump to: navigation, search
(See also:)
(See also:)
Line 26: Line 26:
  
 
[[Documentation/How_Tos/Calc: Statistical functions|'''Statistical functions''']]
 
[[Documentation/How_Tos/Calc: Statistical functions|'''Statistical functions''']]
 +
 +
[[Documentation/How_Tos/Calc: Functions listed alphabetically|'''Functions listed alphabetically''']],
 +
[[Documentation/How_Tos/Calc: Functions listed by category|'''Functions listed by category''']]
  
 
===Issues: ===
 
===Issues: ===
 
* Calc assumes that logical values are <tt>'''1'''</tt> (<tt>'''TRUE'''</tt>) and <tt>'''0'''</tt> (<tt>'''FALSE'''</tt>). Excel ignores logical values.
 
* Calc assumes that logical values are <tt>'''1'''</tt> (<tt>'''TRUE'''</tt>) and <tt>'''0'''</tt> (<tt>'''FALSE'''</tt>). Excel ignores logical values.

Revision as of 13:17, 13 September 2008


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.

See also:

VARA, VARP, VARPA, STDEV, DEVSQ, AVEDEV

Statistical functions

Functions listed alphabetically, Functions listed by category

Issues:

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