[R] problem with logistic regression

Tim F Liao tfliao at uiuc.edu
Mon Feb 7 19:28:09 CET 2005


Helene,

The problem is not with R, but with the specification of the
SAS procedure you used.  It would be simpler and more
comparable if you specify your model in SAS with Proc Logistic
or Proc Genmod.

See if they work out for you,

Tim

---- Original message ----
>Date: Mon,  7 Feb 2005 17:19:54 +0100
>From: Helene.Dryssens at eleves.polytech-lille.fr  
>Subject: [R] problem with logistic regression  
>To: r-help at stat.math.ethz.ch
>Cc: nathaliebouez at yahoo.fr
>
>Hi,
>
>we try to do a logistic regression with the function glm.
>But we notice that this function don't give the same results
as the SAS proc
>catmod (differents estimate given).
>We try to change the contrast on R system with:
>>
options(contrasts=c(unordered="contr.SAS",ordered="contr.poly"))
>
>We also try with brlr and logistf functions.
>Unfortunately, the estimate aren't still the same.
>
>Please could someone help us.
>
>Thank you
>
>--------------------------------------------------
>This mail sent through Polytech'Lille WebMail (IMP)
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html




More information about the R-help mailing list