Let's say I have 3 features for a regression model: if_smoking, if_drinking, and body_height. The first 2 are binary, while the 3rd is continuous. I have coefficients like:
bias/y_intercept: 1.2
coefficient for if_smoking: 0.8
coefficient for if_drinking: 0.5
coefficient for body_height: 0.2
The model, therefore, should be: y_predict = 1.2 + 0.8*if_smoking + 0.5*if_drinking + 0.2*body_height
I can say that if_smoking is more important than if_drinking since the former's coefficient is 0.8 over the latter's 0.5, and both are binary (0 or 1).
However, is body_height more or less important than if_smoking and if_drinking? If I look at the coefficient, it's 0.2, less than if_smoking's 0.8 and if_drinking's 0.5. However, body_height is continuous. Let's say a person's height is 5 feet, 0.2*5 is greater than if_smoking's 0.8*1 and if_drinking's 0.5*1. In other words, body_height's coefficient (0.2) is smaller but its overall contribution (0.2*5=1) is larger.
So, do I say body_height is less or more important than if_smoking and if_drinking?