Hey everybody,
I have a linear regression model where I used interaction terms to see if my two treatments modify the relationship between originality of an answer and three other dimensions (fluency, flexibility, elaboration).
Although there are statistically significant coefficients for some interaction terms in the model, when I run a test if the overall interaction is significant, it is not.
How is that possible? Is my approach correct? Does this mean that I should leave all interaction terms out of the regression and only use the main effects? Like this:
Thanks a lot in advance!
I have a linear regression model where I used interaction terms to see if my two treatments modify the relationship between originality of an answer and three other dimensions (fluency, flexibility, elaboration).
Code:
. reg originality treat1 treat2 fluency flexibility elaboration treat1_flu treat1_flex treat1_elab treat2_fl > u treat2_flex treat2_elab, robust Linear regression Number of obs = 178 F(11, 166) = 4.64 Prob > F = 0.0000 R-squared = 0.2189 Root MSE = .06348 ------------------------------------------------------------------------------ | Robust originality | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- treat1 | .0945984 .0417611 2.27 0.025 .0121469 .1770498 treat2 | .0959994 .0397926 2.41 0.017 .0174346 .1745642 fluency | .0011194 .0021622 0.52 0.605 -.0031495 .0053883 flexibility | .007972 .0051042 1.56 0.120 -.0021056 .0180495 elaboration | .0054839 .0029268 1.87 0.063 -.0002947 .0112626 treat1_flu | .0065834 .0044946 1.46 0.145 -.0022905 .0154574 treat1_flex | -.0180415 .0088497 -2.04 0.043 -.035514 -.0005691 treat1_elab | -.0003588 .0051295 -0.07 0.944 -.0104864 .0097687 treat2_flu | .003234 .0029645 1.09 0.277 -.002619 .009087 treat2_flex | -.0100783 .0060007 -1.68 0.095 -.0219259 .0017692 treat2_elab | -.0044916 .0038248 -1.17 0.242 -.0120432 .0030599 _cons | .7248947 .0313272 23.14 0.000 .6630435 .7867458 ------------------------------------------------------------------------------
Code:
test treat1_flu treat2_flu treat1_flex treat2_flex treat1_elab treat2_elab ( 1) treat1_flu = 0 ( 2) treat2_flu = 0 ( 3) treat1_flex = 0 ( 4) treat2_flex = 0 ( 5) treat1_elab = 0 ( 6) treat2_elab = 0 F( 6, 166) = 1.15 Prob > F = 0.3380
Code:
reg originality treat1 treat2 fluency flexibility elaboration
Comment