p2mu: Calculate mean of Conway Maxwell Poisson distribution from...

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

View source: R/p2mu.R

Description

Uses p2lam to calculate lambda of Conway Maxwell Poisson distribution, then uses that to calculate the mean.

Usage

1
p2mu(p0, disp, n = 100)

Arguments

p0

probability of 0 successes.

disp

dispersion parameter ν (positive).

n

truncation integer.

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, ….

p2mu gives the mean for the Conway Maxwell Poisson distribtution with p(0) and ν

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

mu2lam

Examples

1
p2mu(.05,1.2)

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

Related to p2mu in edpcr...