[R] help for performing regressions based on combination of predictors
Lily
sumslily at yahoo.com
Mon Sep 1 18:05:18 CEST 2003
Thank you for your help. I just tried "leaps".
However, I still need to know the regression
coefficients for each regression. Seems leaps
doesn't provided the coefficients.
Lily
--- kjetil brinchmann halvorsen <kjetil at entelnet.bo>
wrote:
> On 31 Aug 2003 at 18:06, Lily wrote:
>
>
> Have you tried
> library(leaps)
> library(help=leaps)
> ?
>
> Kjetil Halvorsen
>
> > Dear All,
> >
> > I would like to perform linear regressions based
> on Y
> > and all of the combinations of the five
> predictors,
> >
>
i.e.,(y,x1,x2),(y,x1,x3),....,(y,x1,x2,x4,x5),....,(y,x1,x2,x3,x4,x5).
> >
> > Is there any quick way to do it instead of repeat
> > performing regressions for 31 times? Or, is there
> > any method to manipulate the dataset into the 31
> > combinations?
> >
> > Thanks for your help!
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> >
>
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
>
More information about the R-help
mailing list