Medical Bill=1+2 drink+3 smoke+4 drink*smoke+other
The independent variable drink*smoke will take value of 1 for one who both somkes and drinks and all the other independent variables will take a value of 0 for this person, and so on.
Hence the amount of medical bill is higher by the coefficient of drink*smoke for this person as compared to someone who neither smokes nor drinks. Similarly the amount of medical bill is higher by the coefficient of smoke for one who only smokes as compared to who does neither smoke nor drink.
Hence the difference between the coefficients of drink*smoke and of smoke represents the difference between their medical bills.
Given that the 4 variables (smoke, drink, smoke*drink, neither (which need not be written separately, and the absence of all of them would mean the presence of this one) are MECE, it should be possible to test for their statistical significance.
Get Answers For Free
Most questions answered within 1 hours.