Difference between revisions of "Documentation/How Tos/Calc: STDEVPA function"
From Apache OpenOffice Wiki
< Documentation | How Tos
m (→Issues:) |
|||
| Line 125: | Line 125: | ||
: where cells <tt>'''B1'''</tt>, <tt>'''B2'''</tt>, <tt>'''B3'''</tt>, <tt>'''B4'''</tt> contain <tt>'''red'''</tt>, <tt>'''FALSE'''</tt>, <tt>'''4'''</tt>, <tt>'''4'''</tt> returns <tt>'''2'''</tt>, the population standard deviation of <tt>'''0'''</tt>, <tt>'''0'''</tt>, <tt>'''4'''</tt> and <tt>'''4'''</tt>. | : where cells <tt>'''B1'''</tt>, <tt>'''B2'''</tt>, <tt>'''B3'''</tt>, <tt>'''B4'''</tt> contain <tt>'''red'''</tt>, <tt>'''FALSE'''</tt>, <tt>'''4'''</tt>, <tt>'''4'''</tt> returns <tt>'''2'''</tt>, the population standard deviation of <tt>'''0'''</tt>, <tt>'''0'''</tt>, <tt>'''4'''</tt> and <tt>'''4'''</tt>. | ||
| − | === | + | ===Issue: === |
* Calc always evaluates text values as <tt>'''0'''</tt>. The forthcoming international standard ODFF optionally allows numerical text to be converted to number form. Portability between ODFF compliant spreadsheets may therefore be an issue. | * Calc always evaluates text values as <tt>'''0'''</tt>. The forthcoming international standard ODFF optionally allows numerical text to be converted to number form. Portability between ODFF compliant spreadsheets may therefore be an issue. | ||
| − | |||
| − | |||
{{SeeAlso|EN| | {{SeeAlso|EN| | ||
Revision as of 15:32, 25 January 2024
CALC FUNCTIONS
Measures of Central Tendency
Measures of dispersion / spread
Probability and statistics
Correlation and line fitting
See also (in the Array Function category); GROWTH, LINEST, LOGEST, TREND
Ranking
STDEVPA
Returns the population standard deviation (allowing text and logical values).
Syntax:
STDEVPA(number1; number2; ... number30)
- number1 to number30 are up to 30 numbers or ranges containing numbers. Logical values and text may also be included.
- STDEVPA returns the standard deviation where number1 to number30 are the entire population. If you only have a sample of the population use STDEVA instead.
- Logical values are regarded as 1 (TRUE) and 0 (FALSE).
- Text values are always regarded as zero.
- For a population of N values, the calculation formula is:
Example:
STDEVPA(3; 3; 7; 7)
- returns 2.
STDEVPA(B1:B4)
- where cells B1, B2, B3, B4 contain red, FALSE, 4, 4 returns 2, the population standard deviation of 0, 0, 4 and 4.
Issue:
- Calc always evaluates text values as 0. The forthcoming 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
