Multivariate OLS and Logistic Regression
Answer the following:
You are interested in explaining the violent crime rate of states in 2015, and you wish to build a model that includes several variables at once. Â
Estimate a multivariate OLS regression model in which Violent_Crime is the dependent variable and the following variables are independent: Â state income per capita in thousands of dollars (Income_PC), percentage of the population with a bachelorâs degree (Bach_Degree), state unemployment rate (UNEMP), and Republican governor (REPGOV). Â
Violent_Crime is a continuous variable measured as the number of violent crimes committed per 100,000 population.
Income_PC is a continuous variable measured in thousands of dollars.
Bach_Degree is a continuous variable measured as a percentage.
UNEMP is a continuous variable measured as a percentage. Â
REPGOV is a dichotomous (nominal) variable with Republican governors coded as a â1â and other governors (Democrats and Independents) coded as a â0.â
Steps:
Based on the output, answer the following questions:
a.)  What is the equation of the regression line?  Identify a and the bs in the equation Violent_Crime = a + b(INcome_PC) + b(Bach_Degree) + b(UNEMP) + b(REPGOV).
b.) Â Interpret each regression coefficient.
c.) Â Interpret the constant term (the intercept).
d.) Â Are any of the relationships mentioned above statistically significant? Â Which ones? Â (Use a 95 percent confidence level.)
e.) Â What is the Adjusted R2Â value? Â What does this value tell us?
You are interested in explaining why individuals oppose the death penalty for situations involving murder. Â To attempt to answer this question, you analyze data taken from the 2014 General Social Survey, which includes responses to several items that measure individualsâ policy attitudes.
Using the SPSS file named â2014 GSS Dataset,â please provide the descriptive statistics for the variable CAPPUM. Â Â Â Â Â Â
Steps:
Based on the output:
Based on your review of the literature, you suspect that peopleâs level of education may influence their opinions concerning capital punishment.
Relying on data from the 2014 General Social Survey (use the SPSS file named â2014 GSS Datasetâ), estimate a binary logistic regression model in which CAPPUN is the dependent variable and DEGREE is the independent variable. Â
CAPPUN is a dichotomous variable with those individuals who favor the death penalty coded as a â1â and those who oppose the death penalty coded as a â2.â Â
DEGREE is an ordinal variable measured as the level of education of the respondent (less than high school, high school, junior college, bachelor, graduate). Â Higher values indicate more education. Â
Steps:
Based on the output, answer the following:
a.) Â Interpret the regression coefficient by computing the odds ratio. Â (Do not worry about the constant term.)
b.) Â Is the relationship between the respondentâs degree and their views concerning the death penalty statistically significant? Â
c.) Â What is the Nagelkerke R2Â value? Â What does this value tell us?
You remain interested in explaining individualsâ opposition to the death penalty, and you wish to build a model that includes several variables at once.
Estimate a binary logistic regression model in which CAPPUN is the dependent variable and the following variables are independent:  educational attainment (DEGREE), age (AGE), sex (SEX), and political party affiliation (PARTYID). Â
CAPPUN is a dichotomous variable with those individuals who favor the death penalty coded as a â1â and those who oppose the death penalty coded as a â2.â Â
DEGREE is an ordinal variable measured as the level of education of the respondent (less than high school, high school, junior college, bachelor, graduate). Â Higher values indicate more education. Â
AGE is a continuous variable measured in the number of years comprising the respondentâs age.
SEX is a dichotomous variable with males coded as a â1â and females as a â2.â
PARTYID is an ordinal variable measured as a seven-point likert scale ranging from âStrong Democratâ to âStrong Republican.â Â (Note that higher values along this scale correspond to being more strongly Republican.) Â
Follow the same procedure as above in Question 3, except this time add additional independent variables by selecting and clicking the arrow that points to the right for the independent variable box. Â
Based on the output, answer the following:
a.) Â Interpret the regression coefficients by computing the odds ratio for each independent variable. Â (Do not worry about the constant term.)
b.) Â Are any relationships between the independent variables and individualsâ views concerning the death penalty statistically significant? Â
c.) Â What is the Nagelkerke R2Â value? Â What does this value tell us?