Difference between revisions of "Documentation/How Tos/Calc: VARA function"
From Apache OpenOffice Wiki
< Documentation | How Tos
m |
|||
(10 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:VARA function}} |
+ | {{Documentation/CalcFunc StatisticalTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_VAR_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_VARP_function | ||
+ | }}__NOTOC__ | ||
== VARA == | == VARA == | ||
Line 26: | Line 31: | ||
: where cells <tt>'''B1'''</tt>, <tt>'''B2'''</tt>, <tt>'''B3'''</tt> contain <tt>'''red'''</tt>, <tt>'''TRUE'''</tt>, and <tt>'''2'''</tt> returns <tt>'''1'''</tt>, the variance of <tt>'''0'''</tt>, <tt>'''1'''</tt> and <tt>'''2'''</tt>. | : where cells <tt>'''B1'''</tt>, <tt>'''B2'''</tt>, <tt>'''B3'''</tt> contain <tt>'''red'''</tt>, <tt>'''TRUE'''</tt>, and <tt>'''2'''</tt> returns <tt>'''1'''</tt>, the variance of <tt>'''0'''</tt>, <tt>'''1'''</tt> and <tt>'''2'''</tt>. | ||
− | === | + | ===Issues: === |
− | + | * Calc always evaluates text values as <tt>'''0'''</tt>. The international standard ODFF optionally allows numerical text to be converted to number form. Portability between ODFF compliant spreadsheets may therefore be an issue. | |
− | |||
− | |||
− | |||
− | [[Documentation/How_Tos/Calc: | + | {{SeeAlso|EN| |
+ | * [[Documentation/How_Tos/Calc: VAR function|VAR]] | ||
+ | * [[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]] | |
− | * Calc | ||
− | * | + | * [[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:35, 2 February 2024
Spreadsheet Lookup functions
Measures of dispersion / spread
Probability and statistics
Correlation and line fitting
See also (in the Arrays Functions category); GROWTH, LINEST, LOGEST, TREND
Ranking
VARA
Returns the sample variance (allowing text and logical values).
Syntax:
VARA(number1; number2; ... number30)
- number1 to number30 are up to 30 numbers or ranges containing numbers. Logical values and text may also be included.
- VARA returns the standard deviation where number1 to number30 are a sample of the entire population.
- Logical values are regarded as 1 (TRUE) and 0 (FALSE).
- Text values are always regarded as zero.
- With N values in the sample, the calculation formula is:
Example:
VARA(2; 6; 4)
- returns 4.
VARA(B1:B3)
- where cells B1, B2, B3 contain red, TRUE, and 2 returns 1, the variance of 0, 1 and 2.
Issues:
- Calc always evaluates text values as 0. The international standard ODFF optionally allows numerical text to be converted to number form. Portability between ODFF compliant spreadsheets may therefore be an issue.
See Also