Description Usage Arguments Value Examples
View source: R/Quasi_Poisson.R
Calculate the AIC and BIC for a quasi-Poisson GLM by training a normal Poisson GLM.
1 | quasi_poisson_aic_bic(model)
|
model |
Quasi-Poisson GLM to calculate the AIC/BIC for. |
A list of two elements, AIC and BIC.
1 2 3 4 5 6 7 | ## Not run:
data(dataCar, package = "insuranceData")
dataCarGLM <- glm(numclaims ~ veh_value + veh_age + gender + agecat,
data = dataCar, family = quasi_poisson, offset = log(exposure))
quasi_poisson_aic_bic(dataCarGLM)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.