On Jul 25, 2012, at 4:35 PM, Diana Marcela Martinez Ruiz 
<dianamm...@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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to