Hi, I want to analysis the effect of two continuous independent variables (rain and slope) on a categorical dependent variable (soil type). Do you know how doing it? Many Thanks -- Guy Rotem Department of Life Sciences ,The Spatial Ecology Lab Postdoctoral fellow at Conservation Evidence Ben Gurion University of the Negev P.O.B. 653 Beer-Sheva 84105 ISRAEL +972-52-3354485 (mobile) +972-8-6532188 (Home) [[alternative HTML version deleted]]
This is not a statistics tutorial service. This is information that should be in any introductory text on the use of R. You are expected to do more self-study. Please read the Posting Guide. -- David. On Dec 25, 2013, at 12:58 AM, Guy Rotem wrote:> Hi, > I want to analysis the effect of two continuous independent variables (rain > and slope) on a categorical dependent variable (soil type). > Do you know how doing it? > > Many Thanks > > -- > Guy Rotem > Department of Life Sciences ,The Spatial Ecology Lab > Postdoctoral fellow at Conservation Evidence > Ben Gurion University of the Negev > P.O.B. 653 Beer-Sheva 84105 > ISRAEL >David Winsemius Alameda, CA, USA
On 12/25/2013 3:58 AM, Guy Rotem wrote:> Hi, > I want to analysis the effect of two continuous independent variables (rain > and slope) on a categorical dependent variable (soil type). > Do you know how doing it?You could look a my short course notes for Visualizing Categorical Data with SAS and R, http://www.datavis.ca/courses/VCD/, Section 5, Polytomous response models. Various possibilities exist, depending on whether soil type is ordinal or nominal. Some of the R functions (among others) for fitting these models are: polr in the MASS package multinom in the nnet package HTH -Michael -- Michael Friendly Email: friendly AT yorku DOT ca Professor, Psychology Dept. & Chair, Quantitative Methods York University Voice: 416 736-2100 x66249 Fax: 416 736-5814 4700 Keele Street Web: http://www.datavis.ca Toronto, ONT M3J 1P3 CANADA