Documentation/How Tos/Calc: VAR function

From OpenOffice.org Wiki

Jump to: navigation, search


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:
Image:Calc_sample_var_formula.png

Example:

VAR(2; 6; 4)

returns 4.

See also:

VARA, VARP, VARPA, STDEV, DEVSQ, AVEDEV

Statistical functions

Issues:

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