T.DIST.2T
Returns the two-tailed Student's t probability beyond x.
T.DIST.2T computes P(|T| > x) for the specified degrees of freedom.
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.DIST.2T(x, deg_freedom)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
x | number | Required | — |
deg_freedom | number | Required | — |
How it works
For nonnegative x, returns P(|T| ≥ x), twice the right-tail probability of a Student t variate. Degrees of freedom must be positive. At x = 0 the two tails cover all outcomes.
Remarks
- Requires
x >= 0anddeg_freedom >= 1. - Represents a two-sided tail area.
- Invalid numeric coercions propagate as spreadsheet errors.
Error cases
- Returns
#NUM!when arguments are outside valid ranges.
Examples
Find the probability outside the interval from −2 to 2 for ten degrees of freedom.
Formula =T.DIST.2T(2,10)
Expected result 0.0733880347707403
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?.
Keep the two cutoffs fixed and increase the degrees of freedom.
Formula =T.DIST.2T(2,30)
Expected result 0.0546250449629833
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 x = 0 the two tails together cover the whole distribution.
Formula =T.DIST.2T(0,10)
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?.
Degrees of freedom must be positive.
Formula =T.DIST.2T(2,0)
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?.