[R] Logistic regression in R?

Jonathan Baron baron at cattell.psych.upenn.edu
Mon Mar 25 16:08:08 CET 2002


On 03/25/02 15:26, Fredrik Karlsson wrote:
>Hi all!
>
>I want to do some logistic regression. Is there a fintion in R that does
>this, or do I have to do the variable conversion by hand?

The simplest way of doing this is to use glm, with
family=binomial

See http://www.psych.upenn.edu/~baron/rpsych.htm
section 6.9.

-- 
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list