r - How to calculate "AIC" in a svyglm model? -


i have model , need calculate "aic" make model selection, problem when run model "aic" appears "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

you can try this:

summary(model)$aic 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -