- #1
mynameisfunk
- 125
- 0
If I have a model with a categorical variable X1=0,1,2,3 and a continuous variable X2 and I have a regression model that includes an interaction between X1 and X2, then I decide I want to collapse X1 into an indicator variable where X1_new=0 if X=0 and X1_new=1 if X>=1, is my new model with an interaction term between X1_new and X2 nested with the original model?