com.loglikelihood: Computes Log-Likelihood of COM-Poisson

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

View source: R/com.R

Description

Given a set of data, computes the log-likelihood of the data under the COM-Poisson distribution for values of the parameters.

Usage

1
com.loglikelihood(x, lambda, nu)

Arguments

x

matrix of count data

lambda

value of lambda parameter

nu

value of nu parameter

Details

The argument x should consist of a matrix where the first column is the level and the second column is the count for the corresponding level.

Value

The log-likelihood of the data.

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.fit, dcom


compoisson documentation built on May 19, 2017, 12:17 p.m.

Search within the compoisson package
Search all R packages, documentation and source code