Difference between revisions of "Documentation/How Tos/Calc: DEVSQ function"
From Apache OpenOffice Wiki
< Documentation | How Tos
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
||
Line 17: | Line 17: | ||
{{Documentation/SeeAlso| | {{Documentation/SeeAlso| | ||
− | * [[Documentation/How_Tos/Calc: VAR function|VAR]] | + | * [[Documentation/How_Tos/Calc: VAR function|VAR]] |
− | * [[Documentation/How_Tos/Calc: STDEV function|STDEV]] | + | * [[Documentation/How_Tos/Calc: STDEV function|STDEV]] |
− | * [[Documentation/How_Tos/Calc: AVEDEV function|AVEDEV]] | + | * [[Documentation/How_Tos/Calc: AVEDEV function|AVEDEV]] |
* [[Documentation/How_Tos/Calc: AVERAGE function|AVERAGE]] | * [[Documentation/How_Tos/Calc: AVERAGE function|AVERAGE]] | ||
Revision as of 14:04, 26 February 2009
DEVSQ
Returns the sum of squares of deviations from the mean.
Syntax:
DEVSQ(number1; number2; ... number30)
- number1 to number30 are up to 30 numbers or ranges containing numbers.
- DEVSQ calculates the mean of all the numbers, then sums the squared deviation of each number from that mean. With N values, the calculation formula is:
Example:
DEVSQ(1; 3; 5)
- returns 8, calculated as (-2)2 + 0 + (2)2.