(2) Returning to problem 1, suppose that the analyst wanted to build a regression model by defining y = the change in bl
Posted: Wed May 11, 2022 11:28 am
(2) Returning to problem 1, suppose that the analyst wanted to
build a regression model by defining y = the change in blood
pressure, and coding the qualitative factor drug
using dummy variables to represent A, B, and C.
(a) Following the approach shown in class, write down a
way of coding the qualitative factor drug so that it can
be added to the regression model. (8 pts)
(b) Write down a regression model using y as your
dependent variable and your coding in part (a) to add the
qualitative factor drug. What does this model imply
for drug A? Drug B? Drug C? (5 pts)
(c) What hypotheses would you test to see if drug
impacts y = the change in blood pressure? (5
pts)
build a regression model by defining y = the change in blood
pressure, and coding the qualitative factor drug
using dummy variables to represent A, B, and C.
(a) Following the approach shown in class, write down a
way of coding the qualitative factor drug so that it can
be added to the regression model. (8 pts)
(b) Write down a regression model using y as your
dependent variable and your coding in part (a) to add the
qualitative factor drug. What does this model imply
for drug A? Drug B? Drug C? (5 pts)
(c) What hypotheses would you test to see if drug
impacts y = the change in blood pressure? (5
pts)