Centering variables, linear regression

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
monsmatglad
Messages
75
Reaction score
0
I am working with multiple regression with two independent variables, and interaction between them.
the expression is: y = b1x1 + b2x2 and b3x1x2
The question is: does one center both independent variables at the same time, when checking for the significance of the effect of the independent variables separately?
Or, should I center one of the IV, and then rerun regression centering the other IV?

Hope this was understandable.

Mons
 
Physics news on Phys.org
If you are worried about "centering" the variables, you should probably include a constant term in your model. That will allow the regression algorithm to determine the best constant value.

A step-wise regression algorithm would determine which variables should be included based on the residual statistical significance. Every statistics package that I am familiar with includes such an algorithm.