Formualizer Docs

T.INV.2T

Returns the positive t critical value for a two-tailed probability.

T.INV.2T solves for t such that P(|T| > t) = probability.

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.2T(probability, deg_freedom)

Arguments

ArgumentTypeRequiredDefault
probabilitynumberRequired—
deg_freedomnumberRequired—

How it works

Finds the nonnegative cutoff q with P(|T| ≥ q) equal to the requested probability. Degrees of freedom must be positive.

Remarks

  • probability must satisfy 0 < probability <= 1.
  • deg_freedom must be at least 1.
  • The compatibility name TINV is a separate function that also truncates deg_freedom.

Error cases

  • Returns #NUM! for invalid probability or degree-of-freedom arguments.

Examples

Find a positive t cutoff that leaves one quarter of the area in both tails combined.

Formula =T.INV.2T(0.25,10)

Expected result 1.22125539500392

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?.

Increase the combined area to three quarters, moving the cutoff closer to zero.

Formula =T.INV.2T(0.75,10)

Expected result 0.327558264952591

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?.

Split the total area equally between the center and the two tails using one degree of freedom.

Formula =T.INV.2T(0.5,1)

Expected result 1

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.2T(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?.

Maximum two-tailed probability

Formula =T.INV.2T(1,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?.

95% two-sided critical value

Formula =T.INV.2T(0.05,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