简体   繁体   中英

How to calculate “AIC” in a svyglm model?

I have this model and I need to calculate "AIC" to make model selection, my problem is that when I run the model "AIC" appears as "NA".

MODEL= svyglm(formula = Asiste ~ afro + sexo + E27 + JovenActivo + hijos + 
jefe + LN_YSVL_sin_joven_prom + aniosed + climaeducativo + 
Mdeo + icv2 + TV + Computadora + Telefono + Internet + Cable + 
Calefon + DVD + Microhondas + Aire + Auto_o_moto + Secadora + 
Madre_ausente + Internet + TV + Lavavajillas + Refrigerador + 
climaeducativo + Actividad_del_Jefe + Hacinamiento, family = quasibinomial(link =      
"logit"), 
data = Personas.con.muestra, design = diseño_personas_14_17, 
subset = (Stratum != 0))

MODEL$aic
[1] NA

Any suggestion?

Thanks!! Natalia

您可以尝试以下方法:

summary(MODEL)$aic

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM