Description Usage Arguments Details References See Also Examples
Probability mass function, distribution function and random generation for discrete normal distribution.
1 2 3 4 5 |
x, q |
vector of quantiles. |
mean |
vector of means. |
sd |
vector of standard deviations. |
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
f(x) = Φ((x-μ+1)/σ) - Φ((x-μ)/σ)
Cumulative distribution function
F(x) = Φ((floor(x)+1-μ)/σ)
Roy, D. (2003). The discrete normal distribution. Communications in Statistics-Theory and Methods, 32, 1871-1883.
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.