This function evaluates the inverse of the noncentral Student's t cumulative distribution function.
TNIN — Function
value. (Output)
The probability that a noncentral Student's
t random variable takes a value less than or equal to TNIN is P.
P — Probability
for which the inverse of the noncentral Student's t cumulative
distribution function is to be evaluated. (Input)
P must be in the open
interval (0.0, 1.0).
IDF — Number of degrees of freedom of the noncentral Student's t cumulative distribution. (Input) IDF must be positive.
DELTA — The noncentrality parameter. (Input)
Specific: The specific interface names are S_TNIN and D_TNIN.
Double: The double precision name is DTNIN.
Function TNIN
evaluates the inverse distribution function of a noncentral t random
variable with IDF
degrees of freedom and noncentrality parameter DELTA;
that is, with P = P,
v = IDF,
and
d = DELTA,
it determines t0 (= TNIN(P,
IDF, DELTA )), such that
where G(×) is the gamma function. The probability that the random variable takes a value less than or equal to t0 is P. See TNDF for an alternative definition in terms of normal and chi-squared random variables. The function TNIN uses bisection and modified regula falsi to invert the distribution function, which is evaluated using routine TNDF.
4 1 Over 100 iterations have occurred without convergence. Convergence is assumed.
In this example, we find the 95-th percentage point for a noncentral t random variable with 6 degrees of freedom and noncentrality parameter 6.
USE
TNIN_INT
USE
UMACH_INT
IMPLICIT NONE
99999 FORMAT (' The 0.05 noncentral t critical value is ', F6.3, &
The 0.05 noncentral t critical value is 11.995.
|
Visual Numerics, Inc. PHONE: 713.784.3131 FAX:713.781.9260 |