T_CVF

The T_CVF function computes the cutoff value V in a Student's t distribution with Df degrees of freedom such that the probability that a random variable X is greater than V is equal to a user-supplied probability P .

This routine is written in the IDL language. Its source code can be found in the file T_cvf.pro in the lib subdirectory of the IDL distribution.

Calling Sequence

Result = T_CVF( P, Df )

Arguments

P

A non-negative single- or double-precision floating-point scalar, in the interval [0.0, 1.0], that specifies the probability of occurrence or success.

Df

A positive integer, single- or double-precision floating-point scalar that specifies the number of degrees of freedom of the Student's t distribution.

Example

Use the following command to compute the cutoff value in a Student's t distribution with five degrees of freedom such that the probability that a random variable X is greater than the cutoff value is 0.025. The result should be 2.57058.

result = T_CVF(0.025, 5)

PRINT, result

IDL prints:

2.57058

See Also

CHISQR_CVF , F_CVF , GAUSS_CVF , T_PDF