Formualizer Docs

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

ArgumentTypeRequiredDefault
probabilitynumberRequired—
deg_freedomnumberRequired—

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

  • probability must be strictly between 0 and 1.
  • deg_freedom must be at least 1.
  • 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?.

Implementation

Engine source

On this page