mu2lam: Calculate lambda of Conway Maxwell Poisson distribution from...

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/mu2lam.R

Description

Uses uniroot to calculate lambda of the Conway Maxwell Poisson distribution with given mean and dispersion parameters.

Usage

1
mu2lam(mu, disp, l0 = NULL, l1 = NULL)

Arguments

mu

mean parameter (positive)

disp

dispersion parameter (positive)

l0, l1

initial end points of interval serached by uniroot, l0 < l1. The root does not need to lie between these end points.

Details

For the Conway Maxwell Poiosson ditribution the probability of x successes is given by

p(x) = λ^x exp(-λ)/(x!)^ν

for x = 0, 1, 2, ….

mu2lam gives λ for the Conway Maxwell Poisson distribtution with mean mu and dispersion ν. Uses uniroot to calculate λ of the Conway Maxwell Poisson distribution with given mean and dispersion.

Value

The value of λ.

Author(s)

Philip Wilson

References

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.

See Also

p2lam

Examples

1
mu2lam(1.5,1.2)

edpcr documentation built on May 2, 2019, 5:22 p.m.

Related to mu2lam in edpcr...