Description Usage Arguments Details Value Author(s) References See Also
Computes an expectation of a function of a COM-Poisson random variable.
1 | com.expectation(f, lambda, nu, log.error = 0.001)
|
f |
function taking as a single argument the value of x |
lambda |
value of lambda parameter |
nu |
value of nu parameter |
log.error |
precision in the log of the expectation |
Computes the expectation E[f(X)] where X is a COM-Poisson random variable.
The expectation as a real number.
Jeffrey Dunn
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.