CMP Distribution {COMPoissonReg}R Documentation

COM-Poisson Distribution

Description

Functions for the COM-Poisson distribution.

Usage

dcmp(x, lambda, nu, log = FALSE)

rcmp(n, lambda, nu)

pcmp(x, lambda, nu)

qcmp(q, lambda, nu, log.p = FALSE)

Arguments

x

vector of quantiles.

lambda

rate parameter.

nu

dispersion parameter.

log

logical; if TRUE, probabilities are returned on log-scale.

n

number of observations.

q

vector of probabilities.

log.p

logical; if TRUE, probabilities p are given as \log(p).

Value

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.7.0 Index]