subject
Mathematics, 27.04.2021 15:40 shaylarreyes

Campaign organizers for both the Republican and Democrat parties are interested in identifying individual undecided voters who would consider voting for their party in an upcoming election. The file BlueOrRed contains data on a sample of voters with tracked variables including: whether or not they are undecided regarding their candidate preference, age, whether they own a home, gender, marital status, household size, income, years of education, and whether they attend church. Partition the data into training (50 percent), validation (30 percent), and test (20 percent) sets. Use logistic regression to classify observations as undecided (or decided) using Age, HomeOwner, Female, Married, HouseholdSize, Income, and Education as input variables and Undecided as the output variable. Perform an exhaustive-search best subset selection with the number of subsets equal to 2.
a. From the generated set of logistic regression models, select one that you believe is a good fit. Express the model as a mathematical equation relating the output variable to the input variables.
b. Increases in which variables increase the chance of a voter being undecided? Increases in which variables decrease the chance of a voter being decided?
c. Using the default cutoff value of 0.5 for your logistic regression model, what is the overall error rate on the test data?
d. Examine the decile-wise lift chart for your model on the test data. What is the first decile lift? Interpret this value.

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 17:10
Complete the table for different values of x in the polynomial expression -7x2 + 32x + 240. then, determine the optimal price that the taco truck should sell its tacos for. assume whole dollar amounts for the tacos.
Answers: 2
question
Mathematics, 21.06.2019 17:30
Daniel bought a computer game for $25 and later sold it to thomas for a 40% profit. how much did daniel sell the computer game for?
Answers: 1
question
Mathematics, 21.06.2019 20:00
Cody started biking to the park traveling 15 mph, after some time the bike got a flat so cody walked the rest of the way, traveling 4 mph. if the total trip to the park took 6 hours and it was 46 miles away, how long did cody travel at each speed? solve using rate times time= distance
Answers: 1
question
Mathematics, 21.06.2019 21:30
The anwser cause i do not understand just plez
Answers: 1
You know the right answer?
Campaign organizers for both the Republican and Democrat parties are interested in identifying indiv...
Questions
question
History, 24.11.2020 23:20
question
Mathematics, 24.11.2020 23:20
question
Spanish, 24.11.2020 23:20