com.mean: Computes Mean of the COM-Poisson Distribution

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

View source: R/com.R

Description

Computes the mean of the COM-Poisson distribution for given values of the parameters.

Usage

1
	com.mean(lambda, nu)

Arguments

lambda

value of lambda parameter

nu

value of the nu parameter

Details

Uses com.expectation to compute the first moment of the distribution.

Value

The mean of the distribution.

Author(s)

Jeffrey Dunn

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

com.expectation, com.var

Examples

1
2
3
	data(insurance)
	model = com.fit(Lemaire);
	com.mean(model$lambda, model$nu);

compoisson documentation built on May 29, 2017, 2:50 p.m.