Inverse of gdtr vs x.
Returns the inverse with respect to the parameter x of p = gdtr(a, b, x), the cumulative distribution function of the gamma distribution. This is also known as the p’th quantile of the distribution.
Parameters: | a : array_like
b : array_like
p : array_like
out : ndarray, optional
|
---|---|
Returns: | x : ndarray
|
See also
Examples
First evaluate gdtr.
>>> p = gdtr(1.2, 3.4, 5.6)
>>> print(p)
0.94378087442
Verify the inverse.
>>> gdtrix(1.2, 3.4, p)
5.5999999999999996