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.
Answers: 2
Mathematics, 21.06.2019 14:00
Which of the following of the following sets of side lengths could not form a triangle?
Answers: 3
Mathematics, 21.06.2019 15:00
Find the product of (4x + 3y)(4x β 3y). 16x2 β 24xy + 9y2 16x2 β 9y2 16x2 + 24xy + 9y2 16x2 + 9y2
Answers: 1
Mathematics, 21.06.2019 16:30
Which choice represents the sample space ,s for this event
Answers: 3
Mathematics, 21.06.2019 21:00
Which of the functions graphed below has a removable discontinuity?
Answers: 2
Campaign organizers for both the Republican and Democrat parties are interested in identifying indiv...
History, 07.01.2020 23:31
Arts, 07.01.2020 23:31
Mathematics, 07.01.2020 23:31
History, 07.01.2020 23:31
Mathematics, 07.01.2020 23:31
Health, 07.01.2020 23:31
English, 07.01.2020 23:31
Social Studies, 07.01.2020 23:31
Health, 07.01.2020 23:31