7tmw at queensu.ca
2011-Feb-13 14:54 UTC
[R] saturated model with a given umber of interaction effects
Hello I have the following model y ~ a + b + c + d + e + f I would like to look at all possible 3 way interaction, is it possible to do this without typing out each interaction manually? Is there some way to run a saturated model permitting only 2 and 3 way interactions (As opposed to considering up to 6 way, which I do not need). any suggesting would be greatly appreciated, thanks Tristan [[alternative HTML version deleted]]
Peter Ehlers
2011-Feb-13 18:05 UTC
[R] saturated model with a given umber of interaction effects
On 2011-02-13 06:54, 7tmw at queensu.ca wrote:> Hello > > I have the following model > > y ~ a + b + c + d + e + f > > I would like to look at all possible 3 way interaction, is it possible to do this without typing out each interaction manually? Is there some way to run a saturated model permitting only 2 and 3 way interactions (As opposed to considering up to 6 way, which I do not need). any suggesting would be greatly appreciated, thanksy ~ (a + b + c + d + e + f)^3 or y ~ .^3 if the structure of your data permits. Peter Ehlers> > Tristan > > > [[alternative HTML version deleted]] >