Wolfram Research

Function Repository Resource:

StudentTCI

Source Notebook

Estimate the confidence interval based on Student t distribution

Contributed by: Wolfram Research

ResourceFunction["StudentTCI"][μ,σ,df]

gives a confidence interval based on Student t distribution with df degrees of freedom.

Details and Options

ResourceFunction["StudentTCI"][μ,σ,df] gives a confidence interval {min,max} centered at μ based on Student t distribution with location parameter μ, scale parameter σ and df degrees of freedom.
ResourceFunction["StudentTCI"] is the confidence interval for a population mean based on a sample mean μ and standard error σ estimated from a sample of size df + 1.
The following option can be given:
ConfidenceLevel 0.95 probability associated with a confidence interval

Examples

Basic Examples

A 95% confidence interval based on Student t distribution with 10 degrees of freedom:

In[1]:=
ResourceFunction["StudentTCI"][1, 2, 10]
Out[1]=

Options

ConfidenceLevel

A 99% confidence interval:

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

Requirements

Wolfram Language 11.3 (March 2018) or above

Resource History

See Also

License Information