Wonderful! Thanks, Jeremy. Is bestglm() also able of trying nonlinear transformations of the variables, say log(X1) for instance?
Paul On Thu, Aug 4, 2011 at 8:28 PM, Jeremy Miles <jeremy.mi...@gmail.com> wrote: > > Sounds like you want a best subsets regression, the bestglm() function, > found in the bestglm() package will do the trick. > Jeremy > > On 4 August 2011 12:23, Paul Smith <phh...@gmail.com> wrote: >> >> Dear All, >> >> Suppose that you are trying to create a binary logistic model by >> trying different combinations of predictors. Has R got an automatic >> way of doing this, i.e., is there some way of automatically generating >> different tentative models and checking their corresponding AIC value? >> If so, could you please direct me to an example? >> >> Thanks in advance, >> >> Paul >> >> ______________________________________________ >> 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.