LRTnu: Likelihood Ratio Test for nu = 1 of a COM-Poisson model
Description
Perform a likelihood ratio chi-squared test for nu = 1 of a COM-Poisson model.
The test statistics is calculated as 2*(llik- llik_0) where llik and
llik_0 are the log-likelihood of a COM-Poisson and Poisson model respectively.
The test statistic has 1 degrees of freedom.
Usage
LRTnu(object, digits = 3)
Arguments
object
an object class 'cmp', obtained from a call to glm.cmp
digits
numeric; minimum number of significant digits to be used for most numbers.
References
Huang, A. (2017). Mean-parametrized Conway-Maxwell-Poisson regression models for
dispersed counts. Statistical Modelling17, 359--380.