Description Usage Arguments Details Value Author(s) References See Also Examples
Uses uniroot
to calculate lambda of the Conway Maxwell Poisson distribution with given probability of 0 successes and dispersion.
1 | p2lam(p0, disp, n = 100)
|
p0 |
probability of 0 successes. |
disp |
dispersion parameter (positive). |
n |
truncation integer. |
For the Conway Maxwell Poiosson ditribution the probability of x successes is given by
p(x) = λ^x exp(-λ)/(x!)^ν
for x = 0, 1, 2, ….
p2lam
gives λ for the Conway Maxwell Poisson distribtution with p(0) and ν.
The value of λ.
Philip Wilson
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.
1 | p2lam(.05,1.2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.