Hi, y is nominal (3 categories), x1 to 3 is scale. What I want is a regression, showing the probability to fall in one of the three categories of y according to the x. How can I perform such a regression in R? Thanks for your help S?ren
check:
help("multinom", package = "nnet")
I hope it helps.
Best,
Dimitris
soeren.vogel at eawag.ch wrote:> Hi,
>
> y is nominal (3 categories), x1 to 3 is scale. What I want is a
> regression, showing the probability to fall in one of the three
> categories of y according to the x. How can I perform such a regression
> in R?
>
> Thanks for your help
>
> S?ren
>
> ______________________________________________
> 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.
>
--
Dimitris Rizopoulos
Assistant Professor
Department of Biostatistics
Erasmus University Medical Center
Address: PO Box 2040, 3000 CA Rotterdam, the Netherlands
Tel: +31/(0)10/7043399
Fax: +31/(0)10/7044657
Soren, It sounds like you are new to R so I will refer you to some packages that I think some people would find more user friendly as beginners. Zelig is excellent. You could run a series of logistic regressions coding your dependent variables as follows (a versus b, a versus c, b versus c) See the website below http://gking.harvard.edu/zelig/docs/index.html Alternatively you could try Rattle See the website below http://rattle.togaware.com/rattle-features.html Or you could try Rcmder HTH Paul> soeren.vogel@eawag.ch wrote: > > Hi, > > y is nominal (3 categories), x1 to 3 is scale. What I want is a > regression, showing the probability to fall in one of the three > categories of y according to the x. How can I perform such a > regression in R? > > Thanks for your help > > Sören > > ______________________________________________ > R-help@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.