Description Usage Arguments Details References Examples
Density, distribution function, quantile function and random generation for the logarithmic series distribution.
1 2 3 4 5 6 7 |
x, q |
vector of quantiles. |
theta |
vector; concentration parameter; ( |
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]. |
p |
vector of probabilities. |
n |
number of observations. If |
Probability mass function
f(x) = (-1/log(1-θ)*θ^x) / x
Cumulative distribution function
F(x) = -1/log(1-θ) * sum((θ^x)/x)
Quantile function and random generation are computed using algorithm described in Krishnamoorthy (2006).
Krishnamoorthy, K. (2006). Handbook of Statistical Distributions with Applications. Chapman & Hall/CRC
Forbes, C., Evans, M. Hastings, N., & Peacock, B. (2011). Statistical Distributions. John Wiley & Sons.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.