[R] svyglm AIC: NA??????'

Marc Schwartz marc_schwartz at me.com
Wed Jul 25 23:42:33 CEST 2012


On Jul 25, 2012, at 4:35 PM, Diana Marcela Martinez Ruiz <dianammr06 at hotmail.com> wrote:

> 
> 
> hello
> I want to know why when I use the function "svyglm" for a logistic regression I get the AIC: NA. The code and the result is mestran below:
> 
> mod2<-svyglm(APES_DICOT~Nivel_Educativo+Ocupacion_principal+Afiliacion_salud+Tiene_cuidador+Presencia_enfer_cronica+
> Consumo_tabaco+Consumo_alcohol+Presencia_Dolor+ABC_fis+ABC_instr+Anergia+Actividad_fisica_ultimo_año+
> Disminucion_fuerza_agarre+Hospitalizacion_ultimo_año+Urgencias_ultimo_año+Miedo_caer,design=Muestra.comp,
> family=quasibinomial(link="logit"))
> 
> error or warning:
> 
> Degrees of Freedom: 282 Total (i.e. Null);  28 Residual
>  (32 observations deleted due to missingness)
> Null Deviance:      323 
> Residual Deviance: 186.9        AIC: NA
> 
> 
> thanks


Presumably based upon the same logic that Thomas (who you cc'd here) included in a post earlier today:

  https://stat.ethz.ch/pipermail/r-help/2012-July/319508.html

Also, please start a new thread when you post, rather than replying to an existing thread.

Regards,

Marc Schwartz



More information about the R-help mailing list