Question: construct a data set in R to be used for logistic regression. The outcome of interest is whether the death penalty is given. (a) Fit

construct a data set in R to be used for logistic regression. The outcome of interest is whether the death

penalty is given.

(a) Fit a logistic regression model using only defendants race as a predictor

(b) Fit a logistic regression model with both defendants race and victims race. What happens

to the parameter for defendants race?

(c) Interpret the parameter in front of victims race in the model from part (b)

(d) Fit a model that includes an interaction term between defendants race and victims race. Look

at the standard error for this interaction term. Do you think this model is appropriate? Why

or why not? [Hint: it might help to look back at the table of data from lecture 2]

construct a data set in R to be used for logistic regression.

\f

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!