Let
be independent Normal variables with mean zero and unit variance, so that
have independent
-distributions with unit degrees of freedom.
g01jdf evaluates the probability that
If
this is equivalent to the probability that
Alternatively let
then
g01jdf returns the probability that
Two methods are available. One due to
Pan (1964) (see
Farebrother (1980)) makes use of series approximations. The other method due to
Imhof (1961) reduces the problem to a one-dimensional integral. If
then a non-adaptive method
described in
d01bdf
is used to compute the value of the integral otherwise
d01ajf
is used.
Pan's procedure can only be used if the
are sufficiently distinct;
g01jdf requires the
to be at least
distinct; see
Section 9. If the
are at least
distinct and
, then Pan's procedure is recommended; otherwise Imhof's procedure is recommended.
Farebrother R W (1980) Algorithm AS 153. Pan's procedure for the tail probabilities of the Durbin–Watson statistic Appl. Statist. 29 224–227
Imhof J P (1961) Computing the distribution of quadratic forms in Normal variables Biometrika 48 419–426
Pan Jie–Jian (1964) Distributions of the noncircular serial correlation coefficients Shuxue Jinzhan 7 328–337
If on entry
or
, explanatory error messages are output on the current error message unit (as defined by
x04aaf).
On successful exit at least four decimal places of accuracy should be achieved.
Please consult the
X06 Chapter Introduction for information on how to control and interrogate the OpenMP environment used within this routine. Please also consult the
Users' Note for your implementation for any additional implementation-specific information.
For the situation when all the
are positive
g01jcf may be used. If the probabilities required are for the Durbin–Watson test, then the bounds for the probabilities are given by
g01epf.