AIC_CMP | R Documentation |
Computes the Akaike's information criterion or the Schwarz's Bayesian criterion for COM-Poisson Fits
## S3 method for class 'glm_CMP'
AIC(object, ..., k = 2)
## S3 method for class 'glm_CMP'
BIC(object, ...)
object |
an object of class |
... |
optionally more fitted model objects. |
k |
numeric, the penalty per parameter to be used; the
default |
## Estimate a COM-Poisson model
Bids$size.sq <- Bids$size ^ 2
fit <- glm.CMP(formula.mu = numbids ~ leglrest + rearest + finrest +
whtknght + bidprem + insthold + size + size.sq + regulatn,
formula.nu = numbids ~ 1, data = Bids)
## Compute its AIC and BIC
AIC(fit)
BIC(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.