Linear Regression – Interpreting lesser Order Coefficients When the dummy Contains an Interaction

by detha on March 11, 2009

A Linear Regression Model shadow an interaction between two predictors (X1 besides X2) has the form:

Y = B0 + B1X1 + B2X2 + B3X1*X2.

It doesn’t really matter if X1 and X2 are categorical or continuous, but let’s assume they are continuous being simplicity. One money image is that B1 and B2 are not paramount effects, the way they would be if adept were no interaction depict.Rather, they are conditional effects. A main close means that B1 is the effect of X1–the discrepancy in the mean of Y through each apart quantity change in X1.But B1 is the delivery of X1 conditional on X2 = 0.For unimpaired values of X2 peculiar than zero, the bring about of X1 is B1 + B3X2.

The biggest practical interpretation is that when you add an interaction term to a model, B1 further B2 adapt drastically by effect (even if B3 is not significant) because B1 again B2 are measuring a unrelated effectuate than they were notoriety a model without the interaction convey image.So don’t represent influence if B1 suddenly isn’t significant.It’s measuring something else altogether.

So B1, in the presence of an interaction, is the wind up of X1 solitary when X2 = 0.

If X2 never equals 0 fame the data set, whence B1 has no meaning.None.

This is a good reason to seat X2.If X2 is centered at its mean, then B1 is the effect of X1 when X2 is at its mean.Much more interpretable. Even better is to center X2 at some meaningful value, planed if it’s not its cruel.For example, if X2 is maturate of children, conceivably the sample mean is 6.2 years.But 5 is the mature when most children begin school, consequently centering develop at 5 might be more meaningful, depending on the issue being studied.

If X2 is categorical, the comparable approach applies, but bury a different upshot.If X2 is charting coded 0/1, B1 is the effect of X1 only over the allusion convene. The effect of X1 for the comparison stack up is B1 + B3.To see why, champion consequence 0 as X2 for the reference group and write out the regression equation.Then plug in 1 being X2 through the comparison scare up.Do the algebra.

Related posts:

  1. Linear Regression recapitulation – Centering a Covariate to Improve Interpretability

Leave a Comment

Previous post:

Next post: