This function evaluates the F probability density function.
FPR — Function value, the value of the probability density function. (Output)
F — Argument for which the F probability density function is to be evaluated. (Input)
DFN — Numerator
degrees of freedom. (Input)
DFN must be
positive.
DFD — Denominator
degrees of freedom. (Input)
DFD must be
positive.
Generic: FPR (F, DFN, DFD)
Specific: The specific interface names are S_FPR and D_FDPR
Single: FPR (F, DFN, DFD)
Double: The double precision name is DFPR.
The function FPR evaluates the F probability density function, defined as
The parameters and , correspond to the arguments DFN and DFD.
In this example, we evaluate the probability function at F = 2.0, DFN = 10.0, DFD = 1.0.
USE
UMACH_INT
USE
FPR_INT
IMPLICIT NONE
INTEGER NOUT
REAL F, DFN, DFD, PR
CALL UMACH(2, NOUT)
F = 2.0
DFN = 10.0
DFD = 1.0
PR = FPR(F, DFN, DFD)
WRITE (NOUT, 99999) F, DFN, DFD, PR
99999 FORMAT (' FPR(', F6.2, ', ', F6.2, ', ', F6.2, ') = ', F6.4)
END
FPR( 2.00, 10.00, 1.00) = 0.1052
PHONE: 713.784.3131 FAX:713.781.9260 |