T.INV
Returns the t-value whose left-tail probability equals probability.
T.INV is the inverse of T.DIST(x, deg_freedom, TRUE).
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
=T.INV(probability, deg_freedom)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
probability | number | Required | — |
deg_freedom | number | Required | — |
How it works
Solves P(T ≤ q) = probability for a Student t variate with positive degrees of freedom. Probabilities below one half return a negative quantile.
Remarks
probabilitymust be strictly between0and1.deg_freedommust be at least1.- Invalid numeric coercions propagate as spreadsheet errors.
Error cases
- Returns
#NUM!for out-of-range probability or invalid degrees of freedom.
Examples
Find the negative Student t quartile with lower-tail probability one quarter.
Formula =T.INV(0.25,10)
Expected result -0.699812061312429
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?.
Move to the symmetric positive quartile at lower-tail probability three quarters.
Formula =T.INV(0.75,10)
Expected result 0.699812061312429
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?.
At probability one half, the t quantile is zero for one degree of freedom.
Formula =T.INV(0.5,1)
Expected result 0
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?.
A probability above one cannot identify a t statistic.
Formula =T.INV(1.1,10)
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?.
Median t quantile
Formula =T.INV(0.5,10)
Expected result 0
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?.
Upper-tail critical value
Formula =T.INV(0.975,10)
Expected result 2.22813885198627
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?.