Re: [R] problem with logistic regression

From: Joe Nocera <v39k9_at_unb.ca>
Date: Tue 08 Feb 2005 - 03:48:28 EST

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@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@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



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 Received on Tue Feb 08 03:32:14 2005

This archive was generated by hypermail 2.1.8 : Tue 08 Feb 2005 - 04:20:32 EST