CMP Distribution {COMPoissonReg}R Documentation

COM-Poisson Distribution

Description

Functions for the COM-Poisson distribution.

Usage

dcmp(x, lambda, nu, log = FALSE)
pcmp(x, lambda, nu)
qcmp(q, lambda, nu, log.p = FALSE)
rcmp(n, lambda, nu)

Arguments

x

vector of quantiles.

q

vector of probabilities.

n

number of observations.

lambda

rate parameter.

nu

dispersion parameter.

log, log.p

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

Value

dcmp gives the density, pcmp gives the cumulative probability, qcmp gives the quantile function, and rcmp generates random values.

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