CONFIDENCE.T
Returns the half-width of a confidence interval using a t critical value.
CONFIDENCE.T is typically used when population standard deviation is unknown and sample size
is limited.
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=CONFIDENCE.T(alpha, standard_dev, size)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
alpha | number | Required | — |
standard_dev | number | Required | — |
size | number | Required | — |
Remarks
alphamust satisfy0 < alpha < 1.standard_devmust be greater than0.sizemust be at least2so thatdf = size - 1is valid.
Error cases
- Returns
#NUM!when inputs are outside valid bounds.
Examples
Calculate a margin for a 95-percent confidence interval.
Formula =CONFIDENCE.T(0.05,4,20)
Expected result 1.87205762567968
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Change the significance level while holding sample size and spread constant.
Formula =CONFIDENCE.T(0.01,4,20)
Expected result 2.55889770369492
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Calculate the margin with a very small sample.
Formula =CONFIDENCE.T(0.05,4,2)
Expected result 35.938574128375
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Significance must be a probability between zero and one.
Formula =CONFIDENCE.T(1.1,4,20)
Expected result #NUM!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
95% t-interval half-width
Formula =CONFIDENCE.T(0.05,2,25)
Expected result 0.825559424651208
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
90% t-interval half-width
Formula =CONFIDENCE.T(0.1,5,10)
Expected result 2.89840603775228
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.