Skip to content

Logistic Regression

1 message · Terry Therneau

#
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:
http://www.R-project.org/posting-guide.html
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