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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial content)
 
m
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:VAR function}}
 +
{{Documentation/CalcFunc StatisticalTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_STDEVPA_function
 +
|NextPage=Documentation/How_Tos/Calc:_VARA_function
 +
}}__NOTOC__
  
 
== VAR ==
 
== VAR ==
Returns the sample variance of the arguments.
+
Returns the sample variance.
  
 
=== Syntax: ===
 
=== Syntax: ===
Line 16: Line 21:
 
<tt>'''VAR(2; 6; 4)'''</tt>
 
<tt>'''VAR(2; 6; 4)'''</tt>
 
: returns <tt>'''4'''</tt>.
 
: returns <tt>'''4'''</tt>.
 
=== See also: ===
 
[[Documentation/How_Tos/Calc: VARA function|'''VARA''']],
 
[[Documentation/How_Tos/Calc: VARP function|'''VARP''']],
 
[[Documentation/How_Tos/Calc: VARPA function|'''VARPA''']],
 
[[Documentation/How_Tos/Calc: STDEV function|'''STDEV''']]
 
 
[[Documentation/How_Tos/Calc: Statistical functions|'''Statistical functions''']]
 
  
 
===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.
 +
 +
{{SeeAlso|EN|
 +
* [[Documentation/How_Tos/Calc: VARA function|VARA]]
 +
* [[Documentation/How_Tos/Calc: VARP function|VARP]]
 +
* [[Documentation/How_Tos/Calc: VARPA function|VARPA]]
 +
* [[Documentation/How_Tos/Calc: STDEV function|STDEV]]
 +
* [[Documentation/How_Tos/Calc: DEVSQ function|DEVSQ]]
 +
* [[Documentation/How_Tos/Calc: AVEDEV function|AVEDEV]]
 +
 +
* [[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]]}}
 +
[[Category: Documentation/Reference/Calc/Statistical functions]]

Latest revision as of 13:33, 2 February 2024



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.

Issues:

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



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_VAR_function&oldid=260028"
Views
Personal tools
Navigation
Tools