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: [EMAIL PROTECTED] >Subject: [R] problem with logistic regression >To: r-help@stat.math.ethz.ch >Cc: [EMAIL PROTECTED] > >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@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 ______________________________________________ R-help@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