OpenBI Docs Buy

T.DIST

Student's t distribution at a value, as a density or a left-tail probability.

Group: Statistics. Compatible with DAX.

Syntax

T.DIST ( <X>, <Deg_freedom>, <Cumulative> )
ParameterTypeDescription
XNumberThe t value.
Deg_freedomWhole numberThe degrees of freedom, 1 or more; rounded to a whole number.
CumulativeBooleanTRUE for the cumulative probability, the chance of a value up to x; FALSE for the density at x.

Returns

Number. Student's t density at x, or the left-tail probability up to x.

Remarks

  • For a test's p-value, T.DIST.2T (both tails) or T.DIST.RT (the right tail) is usually what is wanted.
  • Degrees of freedom that are not whole are rounded to the nearest whole number: 2.5 counts as 3.
  • With many degrees of freedom it comes close to NORM.S.DIST.

Examples

Density and left tail

EVALUATE
ROW (
    "Density", T.DIST ( 1.5, 10, FALSE ),
    "Left tail", T.DIST ( 1.5, 10, TRUE )
)
DensityLeft tail
0.1274447942870920.91774633677728

Close to the normal with many degrees of freedom

EVALUATE
ROW (
    "t, 1000 df", T.DIST ( 1.96, 1000, TRUE ),
    "Normal", NORM.S.DIST ( 1.96, TRUE )
)
t, 1000 dfNormal
0.9748634075221340.97500210485178

T.INV, T.DIST.2T, NORM.S.DIST, T.DIST.RT.

Last updated · OpenBI Studio 0.3.74