[R] How would you do a logistic analysis

Ott Toomet siim at obs.ee
Fri Aug 30 07:37:55 CEST 2002


On Thu, 29 Aug 2002, chromatonus 712 wrote:

  |On two lists of data (in a matrix perhaps?) And may i also know where I can 
  |find the complete documentation of how to use all the functions in R? Thank 
  |you for your help!

It seems that you need to start with ,,an introduction to R'', available at
CRAN (R website) where it is made clear what is list, what is matrix and how
to do anayses with them (there is also mentioned logit).

You need to do something like

glm(y ~ x1 + x2, family=binomial(link=logit))

where x1 and x2 are explanatory variables and y are responses.  Note this is
binomial logit, I have not seen any package able to do multinomial or nested
logit.  There are however many methods for multinominal analysis,
unfortunately I am not familiar with them.

You can download complete R reference manual from CRAN, but I would rather
use a html-form of it (html form should be installed by default).

Cheers,

Ott

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