Question 1 . Find the estimated simple linear regression equation for predicting
ID: 3253705 • Letter: Q
Question
Question 1. Find the estimated simple linear regression equation for predicting "Risk" based on whether or not the person is a "smoker". What is the coefficient for the slope. Round decimal to three digit .
Yes
Risk Age Pressure Smoker 12 57 152 No 24 67 163 No 13 58 155 No 56 86 177 Yes 28 59 196 No 51 76 189 Yes 18 56 155 Yes 31 78 120 No 37 80 135 Yes 15 78 98 No 22 71 152 No 36 70 173 Yes 15 67 135 Yes 48 77 209 Yes 15 60 199 No 36 82 119 Yes 8 66 166 No 34 80 125 Yes 3 62 117 No 37 59 207Yes
Explanation / Answer
Here we need use dummy variable. Let for non-smoker =0 and smoker =1. Folloiwng table shows the data with dummay variable:
Following table shows the regression analysis generated by excel:
So estimate slope coefficient is 19.700
Risk Smoker Smoker 12 No 0 24 No 0 13 No 0 56 Yes 1 28 No 0 51 Yes 1 18 Yes 1 31 No 0 37 Yes 1 15 No 0 22 No 0 36 Yes 1 15 Yes 1 48 Yes 1 15 No 0 36 Yes 1 8 No 0 34 Yes 1 3 No 0 37 Yes 1Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.