[R] Automatic creation of binary logistic models

Paul Smith phhs80 at gmail.com
Thu Aug 4 22:14:54 CEST 2011


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.miles at 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 <phhs80 at 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 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.
>
>



More information about the R-help mailing list