Description Usage Arguments Details References See Also Examples
Probability mass function, distribution function and random generation for discrete gamma distribution.
1 2 3 4 5 |
x, q |
vector of quantiles. |
shape, scale |
shape and scale parameters. Must be positive, scale strictly. |
rate |
an alternative way to specify the scale. |
log, log.p |
logical; if TRUE, probabilities p are given as log(p). |
lower.tail |
logical; if TRUE (default), probabilities are P[X ≤ x] otherwise, P[X > x]. |
n |
number of observations. If |
Probability mass function of discrete gamma distribution f is defined by discretization of continuous gamma distribution f(y) = S(x) - S(x+1) where S is a survival function of continuous gamma distribution.
Chakraborty, S. and Chakravarty, D. (2012). Discrete Gamma distributions: Properties and parameter estimations. Communications in Statistics-Theory and Methods, 41(18), 3301-3324.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.