Skip to main content Skip to complementary content

TDist - script and chart function

TDist() returns the probability for the Student's t-distribution where a numeric value is a calculated value of t for which the probability is to be computed.

Syntax:  

TDist(value, degrees_freedom, tails)

Return data type: number

Arguments:  

TDIST arguments
Argument Description
value The value at which you want to evaluate the distribution and must not be negative.
degrees_freedom A positive integer stating the number of degrees of freedom.
tails Must be either 1 (one-tailed distribution) or 2 (two-tailed distribution).

This function is related to the TInv function in the following way:
If prob = TDist(value, df ,2), then TInv(prob, df) = value

Limitations:  

All arguments must be numeric, else NULL will be returned.

Examples and results:  

Examples and results
Example Result
TDist(1, 30, 2) Returns 0.3253

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com