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, 22.06.2019 02:30
Carli has 90 apps on her phone. braylen has half the amount of apps as theiss. if carli has three timesthe amount of apps as theiss,how many apps does braylen have? let b represent the number of braylen's apps and t represent the number of theiss's apps.
Answers: 3
question
Mathematics, 22.06.2019 03:10
What is the base of the exponential expression of 4 to the power of 5
Answers: 1
question
Mathematics, 22.06.2019 04:30
For the function f(x)=1/x-2 +5 notice that a=1, h=2, k=5 what are the vertical and horizontal asymoptote
Answers: 1
question
Mathematics, 22.06.2019 04:30
Renting a room at the willow tree resort costs $125 for 2 people. each additional person is $25. write an expression that shows the cost for n extra people
Answers: 1
You know the right answer?
Campaign organizers for both the Republican and Democrat parties are interested in identifying indiv...
Questions
question
Mathematics, 19.08.2019 08:30
question
English, 19.08.2019 08:30
question
History, 19.08.2019 08:30
question
Mathematics, 19.08.2019 08:30