CMP Distribution {COMPoissonReg} | R Documentation |
COM-Poisson Distribution
Description
Functions for the COM-Poisson distribution.
Usage
dcmp(x, lambda, nu, log = FALSE, control = NULL)
rcmp(n, lambda, nu, control = NULL)
pcmp(x, lambda, nu, control = NULL)
qcmp(q, lambda, nu, log.p = FALSE, control = NULL)
ecmp(lambda, nu, control = NULL)
vcmp(lambda, nu, control = NULL)
ncmp(lambda, nu, log = FALSE, control = NULL)
tcmp(lambda, nu, control = NULL)
Arguments
x |
vector of quantiles. |
lambda |
rate parameter. |
nu |
dispersion parameter. |
log |
logical; if TRUE, probabilities are returned on log-scale. |
control |
a |
n |
number of observations. |
q |
vector of probabilities. |
log.p |
logical; if TRUE, probabilities |
Value
- dcmp
density,
- pcmp
cumulative probability,
- qcmp
quantiles,
- rcmp
generate random variates,
- ecmp
expected value,
- vcmp
variance,
- ncmp
value of the normalizing constant, and
- tcmp
upper value used to compute the normalizing constant under truncation method.
Author(s)
Kimberly Sellers
References
Kimberly F. Sellers & Galit Shmueli (2010). A Flexible Regression Model for Count Data. Annals of Applied Statistics, 4(2), 943-961.
[Package COMPoissonReg version 0.8.1 Index]