gamppf(3f) - [M_datapac:PERCENT_POINT] compute the gamma percent point function
Synopsis
Description
Input Arguments
Output Arguments
Examples
Author
Maintainer
License
References
SUBROUTINE GAMPPF(P,Gamma,Ppf)
REAL(kind=wp),intent(in) :: P REAL(kind=wp),intent(in) :: Gamma REAL(kind=wp),intent(out) :: Ppf
GAMPPF(3f) computes the percent point function value for the gamma distribution with REAL tail length parameter = GAMMA.The gamma distribution used herein has mean = GAMMA and standard deviation = sqrt(GAMMA). This distribution is defined for all positive X, and has the probability density function
f(X) = (1/constant) * (X**(GAMMA-1)) * exp(-X)where the constant = the gamma function evaluated at the value GAMMA.
Note that the percent point function of a distribution is identically the same as the inverse cumulative distribution function of the distribution.
P The value (between 0.0 (exclusively) and 1.0 (exclusively)) at which the percent point function is to be evaluated. GAMMA The value of the tail length parameter. GAMMA should be positive.
PPF The percent point function value for the gamma distribution
Sample program:
program demo_gamppf use M_datapac, only : gamppf implicit none ! call gamppf(x,y) end program demo_gamppfResults:
The original DATAPAC library was written by James Filliben of the Statistical Engineering Division, National Institute of Standards and Technology.
John Urban, 2022.05.31
CC0-1.0
o Wilk, Gnanadesikan, and Huyett, Probability Plots for the Gamma Distribution, Technometrics, 1962, pages 1-15, especially pages 3-5. o National Bureau of Standards Applied Mathematics Series 55, 1964, page 257, Formula 6.1.41. o Johnson and Kotz, Continuous Univariate Distributions--1, 1970, pages 166-206. o Hastings and Peacock, Statistical Distributions--A Handbook for Students and Practitioners, 1975, pages 68-73.
Nemo Release 3.1 | gamppf (3) | February 23, 2025 |