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 16:10
To find the extreme values of a function f(x.y) on a curve x-x(t), y y(t), treat f as a function of the single variable t and use the chain rule to find where df/dt is zero. in any other single-variable case, the extreme values of f are then found among the values at the critical points (points where df/dt is zero or fails to exist), and endpoints of the parameter domain. find the absolute maximum and minimum values of the following function on the given curves. use the parametric equations x=2cos t, y 2 sin t functions: curves: i) the semicircle x4,y20 i) the quarter circle x2+y-4, x20, y20 b, g(x,y)=xy
Answers: 2
question
Mathematics, 21.06.2019 17:00
The vet charges $45 for an office visit and $10 for each vaccination your dog needs. write an eaquation
Answers: 1
question
Mathematics, 21.06.2019 18:50
Which expression shows the sum of the polynomials with like terms grouped together
Answers: 2
question
Mathematics, 21.06.2019 20:10
The population of a small rural town in the year 2006 was 2,459. the population can be modeled by the function below, where f(x residents and t is the number of years elapsed since 2006. f(t) = 2,459(0.92)
Answers: 1
You know the right answer?
Campaign organizers for both the Republican and Democrat parties are interested in identifying indiv...
Questions
question
History, 20.01.2021 22:20
question
Mathematics, 20.01.2021 22:20
question
History, 20.01.2021 22:20
question
Mathematics, 20.01.2021 22:20
question
Spanish, 20.01.2021 22:20
question
Mathematics, 20.01.2021 22:20
question
Business, 20.01.2021 22:20
Questions on the website: 13722367