First off there are multiple definitions of "best", you need to decide which "best" is best for you.
Second, for reasonable definitions of "best", deciding between, linear, polynomial, and ... Requires backgroud knowledge and real thought. R can fit many different models and give you numerical and graphical summaries of those models, but determining the "best" model requires at least 1 person, some actual knowledge, and some real thought. Basic steps: Take a bunch more statistics classes and/or hire a statistician. If you can come back with a bit more of an example of what you are trying to accomplish along with background, what you mean by best, and show what your thought process has been so far, then we may be able to direct you better. You should also read through the posting guide that is linked to at the bottom of most posts to the group. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] (801) 408-8111 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: Thursday, April 24, 2008 10:58 AM > To: r-help@r-project.org > Subject: [R] R Newbie Question/Data Model > > Given a data set and a set of predictors and a response in > the data, we would like to find a model that fits the data set best. > Suppose that we do not know what kind of model (linear, > polynomial regression,... ) might be good, we are wondering > if there is R-package(s) can auctomatically do this. > Otherwise, can you direct me, or point out reference(s), > basic steps to do this. Thanks. > > -james > > ______________________________________________ > 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. > ______________________________________________ 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.