Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

While working with doctors on heart attack patients, we want to predict whether

ID: 3365329 • Letter: W

Question

While working with doctors on heart attack patients, we want to predict whether the patient will have a second heart attack within 1 year (yes = 1), based on two predictor variables: whether the patient completed an anger-control treatment course (yes=1), and the patient's score on a trait anxiety scale (a higher score means more anxious). Data on 20 patients is used to fit the following logistic regression:

Are both AngerTreatment and Anxiety good predictors of whether the patient will have a second heart attack within a year?

Predictor Coef SE Coef Z P Constant -6.36347 3.21390 -1.98 0.048 AngerTrt -1.02411 1.17108 -0.87 0.382 Anxiety 0.119045 0.0549790 2.17 0.030

Explanation / Answer

Sol:

AngerTreatment Pvalue=0.382

p>0.05

AngerTreatment is not significant variable.

Anxiety p value=0.030

p<0.05

Anxiety is significant variable.

A) No - only anxiety is a significant predictor