[R] problem with logistic regression

Joe Nocera v39k9 at unb.ca
Mon Feb 7 17:48:28 CET 2005


CATMOD in SAS builds log-linear glms.  If you are truly trying to create logistic
regressions in SAS, use PROC LOGISTIC instead.  If you really meant that you are trying
to create log-linear models in R - then look up the usage of the function loglin (e.g.
loglin())

Cheers,
Joe

Quoting Helene.Dryssens at eleves.polytech-lille.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
> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Joseph J. Nocera
Ph.D. Candidate
NB Coop. Fish & Wildlife Research Unit
Biology Department - Univ. New Brunswick
Fredericton, NB
Canada   E3B 6E1
tel: (902) 679-5733

"Why does it have to be spiders?  Why can't it be 'follow the butterflies'"?!
    - Ron Weasley, Harry Potter & The Chamber of Secrets




More information about the R-help mailing list