[R] Logistic Regression

Terry Therneau therneau at mayo.edu
Tue Feb 7 15:28:34 CET 2012


I'm surprised not to see the simple answer: "glm" models return the MLE
estimate.
	fit <- glm(y ~ x1 + x2 + .... , family='binomial')

There is no need for special packages, this is a standard part of R.

Terry Therneau

---------------- begin included message --------------
On 02/06/2012 03:08 PM, Ana wrote:
> I am looking for R packages that can make a Logistic Regression model
> with parameter estimation by Maximum Likelihood Estimation.
>
>
> Many thanks for helping out.
>
> ______________________________________________
> 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.
Hi Ana,

I worked out some maximum likelihood estimates for logistic regression
in
R on my website: http://www.netstorm.be/home/lrm

Best regards

Thomas



More information about the R-help mailing list