Function Repository Resource:

NormalCI

Source Notebook

Estimate the confidence interval based on a normal distribution

Contributed by: Wolfram Research

ResourceFunction["NormalCI"][μ,σ]

gives a confidence interval based on a normal distribution.

Details and Options

ResourceFunction["NormalCI"][μ,σ] gives a confidence interval {min,max} centered at μ based on a normal distribution with location parameter μ and scale parameter σ.
ResourceFunction["NormalCI"] is the confidence interval for a population mean based on a sample mean μ and standard error σ if the true population variance is known.
The following option can be given:
ConfidenceLevel0.95probability associated with a confidence interval

Examples

Basic Examples (1) 

A 95% confidence interval based on the normal distribution:

In[1]:=
ResourceFunction["NormalCI"][1, 2]
Out[1]=

Options (1) 

ConfidenceLevel (1) 

A 99% confidence interval:

In[2]:=
ResourceFunction["NormalCI"][1, 2, ConfidenceLevel -> .99]
Out[2]=

Requirements

Wolfram Language 11.3 (March 2018) or above

Version History

  • 1.0.0 – 15 February 2019

Related Resources

License Information