Question: Bonus: (worth up to 10 points) Data was collected on y = fasting blood sugar levels and x1 = grams of carbohydrates eaten for a

Bonus: (worth up to 10 points) Data was collected on y = fasting blood sugar levels and x1 = grams of carbohydrates eaten for a group of diabetic patients. Data was collected for ve different treatments - diet only, diet and exercise, oral medication, long-lasting insulin, and short-acting insulin. a. (5 points) Write the model equation that includes indicator (dummy) variables to incorporate treatment type. Be sure to dene each of your variables. b. (5 points) What additional predictors would be needed to incorporate interaction between grams of carbohydrates eaten and treatment type? Write out what the model equation would be with interaction included. [Upload a single .PDF or .DOCX file showing your BY HAND work and solution for this exercise]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
