HypothesisTesting`
HypothesisTesting`

MeanCI

MeanCI[list]

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

Details

  • 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:
  • ConfidenceLevel0.95probability associated with a confidence interval
    KnownVarianceNonevariance of population

Examples

open allclose all

Basic Examples  (1)

In[1]:=
Click for copyable input

A 95% confidence interval for the population mean:

In[2]:=
Click for copyable input
Out[2]=

Options  (2)

See Also

NormalCI  StudentTCI  MeanTest  MeanDifferenceCI  MeanDifferenceTest

Tutorials