Dear Matej, For your best information, you can read Draper and Smith, 1998 "Applied Regression Analysis", I think this is the most cited literature for regression analysis, or if you are facing with categorical data (like what you are doing now) go with Hosmer and Lemeshow , 2002 "Applied Logistic Regression" Hope this help, Eduwin INDONESIA -----Original Message----- From: owner-r-help at stat.math.ethz.ch [mailto:owner-r-help at stat.math.ethz.ch] On Behalf Of Matej Cepl Sent: Wednesday, November 27, 2002 8:16 AM To: r-help at stat.math.ethz.ch Subject: Re: [R] [NB] lm problems
On Tue, 26 Nov 2002 ripley at stats.ox.ac.uk wrote:
You can't do linear regression with an ordered factor as a response. If you mean to code the levels you need to do so explicitly by codes(G5).
Thanks to everybody who answered to my query. Just to justify myself in your eyes, let me tell you that a silly idea of doing regression analysis on nominal variables is not mine, but of my instructor in school. Thanks again, Matej -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. -.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._._._ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._