HypothesisTesting`
HypothesisTesting`

MeanCI

MeanCI[list]

gives a confidence interval for the population mean estimated from list.

Details and Options

  • To use MeanCI, you first need to load the Hypothesis Testing Package using Needs["HypothesisTesting`"].
  • MeanCI[list] gives a confidence interval {min,max} centered at Mean[list].
  • If the variance is assumed known, MeanCI is based on the normal distribution.
  • If the variance is not assumed known, MeanCI is based on Student's distribution with Length[list]-1 degrees of freedom.
  • The following options can be given:
  • ConfidenceLevel 0.95probability associated with a confidence interval
    KnownVariance Nonevariance of population

Examples

open allclose all

Basic Examples  (1)

A 95% confidence interval for the population mean:

Options  (2)

ConfidenceLevel  (1)

A 99% confidence interval:

KnownVariance  (1)

A 95% confidence interval assuming the population variance is 1:

Wolfram Research (2007), MeanCI, Wolfram Language function, https://reference.wolfram.com/language/HypothesisTesting/ref/MeanCI.html.

Text

Wolfram Research (2007), MeanCI, Wolfram Language function, https://reference.wolfram.com/language/HypothesisTesting/ref/MeanCI.html.

CMS

Wolfram Language. 2007. "MeanCI." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/HypothesisTesting/ref/MeanCI.html.

APA

Wolfram Language. (2007). MeanCI. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/HypothesisTesting/ref/MeanCI.html

BibTeX

@misc{reference.wolfram_2024_meanci, author="Wolfram Research", title="{MeanCI}", year="2007", howpublished="\url{https://reference.wolfram.com/language/HypothesisTesting/ref/MeanCI.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_meanci, organization={Wolfram Research}, title={MeanCI}, year={2007}, url={https://reference.wolfram.com/language/HypothesisTesting/ref/MeanCI.html}, note=[Accessed: 22-November-2024 ]}