Campaign organizers for both the Republican and Democratic parties are interested in identifying individual undecided voters who

Question:

Campaign organizers for both the Republican and Democratic parties are interested in identifying individual undecided voters who would consider voting for their party in an upcoming election. A non-partisan group has collected data on a sample of voters with tracked variables. The variables in this data are listed in the following table.image text in transcribed

Apply logistic regression with lasso regularization to classify observations as being undecided or not by using Vote as the target (or response) variable. Set aside 20% of the data as a test set and use 80% of the data for training and validation.

a. Determine the lasso regularization penalty that maximizes AUC in a validation procedure.

b. Apply the final model selected in part

(a) to the test set. What are the values of the intercept and variable coefficients in this final model? Interpret the coefficients.

c. For the final model selected in part (a), compute and interpret the precision on the test set.


Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Business Analytics

ISBN: 9780357902219

5th Edition

Authors: Jeffrey D. Camm, James J. Cochran, Michael J. Fry, Jeffrey W. Ohlmann

Question Posted: