This is the gamma_p from the boost library
gammap(a, z)
a | The numeric 'a' parameter in the normalized lower incomplete gamma |
---|---|
z | The numeric 'z' parameter in the normalized lower incomplete gamma |
gammap results
The gamma p function is given by:
gammap = lowergamma(a, z)/gamma(a)
Matthew L. Fidler
gammap(1, 3)
#> [1] 0.9502129
gammap(1:3, 3)
#> [1] 0.9502129 0.8008517 0.5768099
gammap(1, 1:3)
#> [1] 0.6321206 0.8646647 0.9502129