Description Usage Arguments References Examples
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.
1 | LRTnu(object, digits = 3)
|
object |
an object class 'cmp', obtained from a call to |
digits |
numeric; minimum number of significant digits to be used for most numbers. |
Huang, A. (2017). Mean-parametrized Conway-Maxwell-Poisson regression models for dispersed counts. Statistical Modelling 17, 359–380.
1 2 3 4 | data(takeoverbids)
M.bids <- glm.cmp(numbids ~ leglrest + rearest + finrest + whtknght
+ bidprem + insthold + size + sizesq + regulatn, data=takeoverbids)
LRTnu(M.bids)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.