Description Usage Arguments Details Value Author(s) References See Also Examples
Probability mass function and random generation for the COM-Poisson distribution for given values of the parameters.
1 2 3 |
x |
vector of (non-negative integer) quantiles. |
p |
vector of probabilities. |
lambda |
scalar value of lambda parameter |
nu |
scalar value of nu parameter |
z |
normalizing constant, computed if not specified |
n |
number of random values to return |
log.z |
natural log of z |
log.p |
if TRUE, probabilities p are given as log(p). |
lower.tail |
if TRUE (default), probabilities are P[X <= x], otherwise, P[X > x]. |
Computes the probability mass function of the COM-Poisson distribution
f(x) = (1/Z) (lambda^x)/(x!^nu).
dcom
gives the probability that a random COM-Poisson variable X takes value x.
rcom
gives a vector of n
random values sampled from the COM-Poisson
distribution.
qcom
gives the quantile function
Jeffrey Dunn
Shmueli, G., Minka, T. P., Kadane, J. B., Borle, S. and Boatwright, P., “A useful distribution for fitting discrete data: Revival of the Conway-Maxwell-Poisson distribution,” J. Royal Statist. Soc., v54, pp. 127-142, 2005.
com.loglikelihood
, com.log.density
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.