Contact

T.DIST.RT in ONLYOFFICE: Right-Tail Student t Probability for Signed Inputs

Statistical Intermediate ONLYOFFICE

Use T.DIST.RT with explicit tail conventions, independently checked examples and exact-source bounds and compatibility limits.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

=T.DIST.RT(1,1) has the independent target 0.25. At x=−1 it instead targets 0.75, because a right-tail probability is defined relative to the signed threshold.

Syntax

T.DIST.RT(x, deg_freedom)

Enter an inspectable distribution example

Create TModel. Put Parameter in A1 and Value in B1. Enter Threshold in A2 and 1 in B2; Degrees of freedom in A3 and 1 in B3; Tail area in A4 and 0.05 in B4. Keep these cells unchanged when adding controls.

One degree of freedom is chosen because the t distribution then has the Cauchy closed form: its CDF is 1/2+atan(t)/π and its density is 1/[π(1+t²)]. This lets the examples be checked independently without running ONLYOFFICE. It is an arithmetic teaching case, not a recommendation to base practical inference on a tiny sample.

A t distribution is symmetric around zero. Its tail heaviness depends on degrees of freedom; a t value is not a raw measurement in minutes or grams. In a statistical test, its construction and degrees of freedom must come from the appropriate sampling model. A distribution formula alone does not establish those assumptions.

Keep the sign of the threshold

The official reference takes x and degrees of freedom. It returns the modeled probability above x. For a symmetric t distribution, a negative threshold leaves more than half the distribution to its right; replacing it with its absolute value changes the event.

At df=1, the right-tail formula is 1/2−atan(x)/π. Therefore x=1 gives 1/4, x=−1 gives 3/4, and x=0 gives 1/2. These closed forms independently establish the example targets.

Worked right-tail probabilities

Formula Independent target
=T.DIST.RT(B2,B3) 0.25
=T.DIST.RT(-1,1) 0.75
=T.DIST.RT(0,1) 0.5
=T.DIST.RT(1,2) 0.211324865405187
=T.DIST.RT(1,4) 0.186950483150029
=T.DIST.RT(1,10) 0.170446566151030

The change across degrees of freedom is not a change in the threshold; it changes the reference distribution. A t value by itself is insufficient to determine a probability without df.

Advanced: directional and two-sided questions

For a right-sided alternative using a signed statistic, retain that statistic’s sign. If the observed value points strongly in the opposite direction, a large right-tail probability is expected. Automatically taking ABS would instead report a small tail in whichever direction the data happened to go and can misrepresent a prespecified hypothesis.

A two-sided magnitude probability is =T.DIST.2T(ABS(x),df). For x=−1,df=1 it equals 0.5. Doubling the right tail at the original negative value would give 1.5, which is not a probability. This shows why the positive-magnitude condition matters when using the identity two-tail=2×right-tail.

The left CDF and right tail sum to 1 in exact mathematics: =T.DIST(-1,1,TRUE)+T.DIST.RT(-1,1) targets 1. But the source paths differ in how they handle signs and complements, so do not require bit-for-bit identity in every floating-point case.

Source behavior and portability

The tagged T.DIST.RT guard requires df≥1 but permits negative x. Its common helper first computes a magnitude tail from x², then the caller complements that result for negative x. This sign handling is why its negative-input result differs from legacy TDIST, whose guard rejects x<0.

Help calls df an integer. The forward calculation does not explicitly truncate it, whereas T.INV and T.INV.2T parse it as an integer. The documented exercises use integer df and do not make a blanket claim that every t-family name coerces fractional df identically. =T.DIST.RT(1,0) is source-predicted #NUM!, and argument conversion failures propagate.

For a nonnegative threshold, =TDIST(1,1,1) targets the same right-tail area 0.25. There is no legacy signed-threshold equivalence at −1 because TDIST rejects that input. Preserve the intended event rather than choosing a replacement name by punctuation.

The beta-based positive tail is calculated directly, while a negative threshold requires a complement. Extreme probabilities can still be affected by finite precision; a returned or displayed zero should not be read as mathematical impossibility. These source observations do not establish native array, import or every-client behavior.

If a whole test procedure is required, T.TEST also needs the paired or independent-sample design. Its one-tail result is based on an absolute statistic in this implementation, so it should not be mistaken for this function’s signed right-tail interface.

Version, precision and verification

Checked October 18, 2026 against current official help and SDKJS tag v10.0.0.169, commit 3679e0375a758d7dc59d31337a45461be3525ed8. Introduction dates and a final supported-version endpoint are not established. Desktop Editors, Docs, mobile releases and imported files require separate compatibility checks.

Neither the ONLYOFFICE application nor its calculation engine was executed for this guide. The numerical targets are independently calculated mathematical values; code-path and error observations are manual source traces. They are not screenshots, displayed workbook results or promises of identical final digits. Use English function names and comma separators as shown, adapting separators to the editor’s locale.

Keep inputs and intermediate probabilities numeric and unrounded. Format the display rather than replacing values with rounded strings. These moderate scalar examples do not certify extreme-tail accuracy, unusual type coercion, array entry or dynamic spill. Model assumptions must be checked separately from arithmetic correctness.