I'm attempting to use stepAIC to select a model through a forward procedure.
I want to consider up to all 3-way interactions.

 

I've attempted to use the following code:

 

m2.Fwd3way <- stepAIC(m1.Ionly, direction="forward",

                      scope=list(upper=~(var1 + var2 + var3 + var4)^3,
lower=~1))

 

When I submit this the trace indicates that only 2-way interactions were
considered.  Is this due to improper syntax or am I not able to consider
higher order interactions with stepAIC.

 

Thanks.

 

Marc

 


        [[alternative HTML version deleted]]

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to