[R] Logistic Regression on a Windows Machine

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Mon Nov 25 10:00:38 CET 2002


On Sun, 24 Nov 2002, Carrie Beam wrote:

> Hello everybody,
>
> I am hoping you can help me.  I just downloaded and installed the
> "precompiled binary distribution" of R to my Windows machine (running
> Windows Millennium).  (I did not download or install anything else - no
> packages).
>
> I need to run a logistic regression and understand the function I need is
> polr() or maybe SSlogis().
>
> However, when I try to invoke either function, I get
>     Error: couldn't find function "polr"
>     Error: couldn't find function "SSlogis"
>
> I have done some snooping on the website and think I may need the MASS
> package for polr() and the NLS package for SSlogis().
>
> My questions:
> 1.  Are these indeed the functions I need to run a logistic regression?

Probably not.  See ?glm if you mean a binomial logistic regression.
nls/SSlogis will give you a least-squares logistic fit.

> 2.  If so, are the packages with them available for a Windows machine?

Yes, just look at the results of library().


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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