Difference between revisions of "Documentation/How Tos/Calc: CONFIDENCE 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 21: | Line 21: | ||
{{Documentation/SeeAlso| | {{Documentation/SeeAlso| | ||
− | * [[Documentation/How_Tos/Calc: NORMDIST function|NORMDIST]] | + | * [[Documentation/How_Tos/Calc: NORMDIST function|NORMDIST]] |
* [[Documentation/How_Tos/Calc: NORMINV function|NORMINV]] | * [[Documentation/How_Tos/Calc: NORMINV function|NORMINV]] | ||
Revision as of 13:57, 26 February 2009
CONFIDENCE
Returns a confidence interval.
Syntax:
CONFIDENCE(α; sd; size)
- sd (> 0) is the (known) standard deviation of a normal distribution.
- size is the size of a sample from that distribution.
- α is the significance level (0 < α < 1), which determines the desired confidence level = (1 - α)*100%. Thus for example α = 0.05 gives a 95% confidence level.
- CONFIDENCE returns a value that when added and subtracted from the sample mean gives an interval within which the population mean is expected to lie with the specified confidence level.
- CONFIDENCE calculates NORMINV(1 - α/2; 1; 0) * sd / √(size)
Example:
CONFIDENCE(0.05;1;20)
- returns approximately 0.438. With a 95% confidence level, the mean of the entire population lies within ±0.438 of the sample mean.