


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Model Comparison
Lecture 18 Nov. 7, 2007
Kate Cowles 374 SH, 335- [email protected]
Model comparison
3
Model comparison for nested vs. non- nested models
4 Tools for Bayesian model comparison
Frequentist use of deviance as measure of model fit in linear and generalized linear models
Example:
Dataset is counts of how many beetles were killed ri, i = 1,... , 8 in 8 groups of beetles exposed to different doses of an insecticide. Each group i had ni beetles in it.
[ logL(θˆmodel of interest; y) − logL(θˆsaturated; y)
]
7 against the general alternative
8 Frequentist deviance for models for bee- tles data fit.beetles(beetles) [,1] [,2] [1,] 6 53 [2,] 13 47 [3,] 18 44 [4,] 28 28 [5,] 52 11 [6,] 52 7 [7,] 61 1 [8,] 60 0 Call: glm(formula = respmat ~ beetles$V1, family = binomial(link = logit)) Deviance Residuals: Min 1Q Median 3Q Max -1.5213 -0.6270 0.8705 1.2575 1. Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) -59.869 5.100 -11.74 <2e-16 *** beetles$V1 33.784 2.866 11.79 <2e-16 ***
Signif. codes: 0 ‘’ 0.001 ‘’ 0.01 ‘’ 0.05 ‘.’ 0.1 ‘ ’ 1 (Dispersion parameter for binomial family taken to be 1) Null deviance: 280.866 on 7 degrees of freedom Residual deviance: 11.474 on 6 degrees of freedom AIC: 41.
DIC = Dˆavg(y) + pD = 2 Dˆavg(y) − D (^) θˆ(y)