[R] binary

Mohamed Lajnef Mohamed.lajnef at inserm.fr
Mon Jan 25 16:05:03 CET 2010


Hi val,


Val a écrit :
> Hi all
>
> Assume I have a data set xx;
>
> Group: 1=group1  , 2=group2
>
> IQ:  1= High, 0 =low
>
> fit <- glm(IQ ~group, data = xx, family = binomial())
>
> summary(fit)
>
> Results
>
>                    Estimate Std. Error z value Pr(>|z|)
>
> (Intercept) -2.55456    0.210 -12.273  < 5e-16 ***
>
>  group          0.36180      0.076   3.952     5.24e-05 ***
>
> the odd ratio = exp(0.36180 )= 1.435912
>
> My question is that the log-odd  estimate 0.3618  is it for group1 or group2?
>   
normally 1vs2, glm takes 2 as reference, in the group1 the IQ increase 
by 0.3618compared to group 2

> What does the odd ratio 1.43359 is interpreted?
>   
in the group1 the IQ score  increase by 1.43359  compared to group 2

> Thanks in advance
>   

Regards
ML
> ______________________________________________
> R-help at 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.
>
>   


-- 
Mohamed Lajnef
INSERM Unité 955. 
40 rue de Mesly. 94000 Créteil.
Courriel : Mohamed.lajnef at inserm.fr 
tel.: 01 49 81 31 31 (poste 18470)
Sec : 01 49 81 32 90
fax : 01 49 81 30 99 
Portable:06 15 60 01 62



More information about the R-help mailing list