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

From Apache OpenOffice Wiki
Jump to: navigation, search
(See also:)
m
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:CONFIDENCE function}}
 +
{{Documentation/CalcFunc StatisticalTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_CHITEST_function
 +
|NextPage=Documentation/How_Tos/Calc:_CRITBINOM_function
 +
}}__NOTOC__
  
 
== CONFIDENCE ==
 
== CONFIDENCE ==
Line 14: Line 19:
 
: <tt>'''CONFIDENCE'''</tt> 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.
 
: <tt>'''CONFIDENCE'''</tt> 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.
  
: <tt>'''CONFIDENCE'''</tt> calculates <tt>'''NORMINV(1 - &alpha;/2; 1; 0) * sd / &radic;(size)'''</tt>
+
: <tt>'''CONFIDENCE'''</tt> calculates <tt>'''NORMINV(1 - &alpha;/2; 0; 1) * sd / &radic;(size)'''</tt>
  
 
=== Example: ===
 
=== Example: ===
Line 20: Line 25:
 
: returns approximately 0.438. With a 95% confidence level, the mean of the entire population lies within &plusmn;0.438 of the sample mean.
 
: returns approximately 0.438. With a 95% confidence level, the mean of the entire population lies within &plusmn;0.438 of the sample mean.
  
=== See also: ===
+
{{SeeAlso|EN|
[[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]]
  
[[Documentation/How_Tos/Calc: Statistical functions|'''Statistical functions''']]
+
* [[Documentation/How_Tos/Calc: Statistical functions|Statistical functions]]
  
[[Documentation/How_Tos/Calc: Functions listed alphabetically|'''Functions listed alphabetically''']],
+
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
[[Documentation/How_Tos/Calc: Functions listed by category|'''Functions listed by category''']]
+
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 +
[[Category: Documentation/Reference/Calc/Statistical functions]]

Latest revision as of 13:49, 2 February 2024



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; 0; 1) * 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.



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