subject
Mathematics, 23.04.2021 15:40 hartzpeyton136

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. Classify the data using k-nearest neighbors with up to k 5 20. Use Age, Home- Owner, Female, Married, Household Size, Income, and Education as input variables and Undecided as the output variable. In Step 2 of XLMiner’s k-nearest neighbors Classification procedure, be sure to Normalize input data and to Score on best k between 1 and specified value. Generate lift charts for both the validation data and test data.
a. For k 5 1, why is the overall rate equal to 0 percent on the training set? Why isn’t the overall rate equal to 0 percent on the validation set?
b. For the cutoff probability value 0.5, what value of k minimizes the overall error rate on the validation data? Explain the difference in the overall error rate on the training, validation, and test data.
c. Examine the decile-wise lift chart. What is the first decile lift on the test data? Interpret this value.
d. In the effort to identify undecided voters, a campaign is willing to accept an increase in the misclassification of decided voters as undecided if it can correctly classify more undecided voters. For cutoff probability values of 0.5, 0.4, 0.3, and 0.2, what are the corresponding Class 1 error rates and Class 0 error rates on the validation data?

ansver
Answers: 3

Another question on Mathematics

question
Mathematics, 21.06.2019 18:30
To determine the number of deer in a forest a forest ranger tags 280 and releases them back
Answers: 3
question
Mathematics, 21.06.2019 22:10
What is the measure of sty in oo below? 130 310 230 50
Answers: 2
question
Mathematics, 22.06.2019 00:00
Two poles, ab and ed, are fixed to the ground with the of ropes ac and ec, as shown: what is the approximate distance, in feet, between the two poles? 6.93 feet 8.66 feet 12.32 feet 15.59 feet
Answers: 1
question
Mathematics, 22.06.2019 00:30
L|| m if m? 1=125 and m? 7=50 then m? 5= 5 55 75 105 next question ask for turn it in © 2014 glynlyon, inc. all rights reserved. terms of use
Answers: 3
You know the right answer?
Campaign organizers for both the Republican and Democrat parties are interested in identifying indiv...
Questions
question
English, 02.02.2021 03:20
question
History, 02.02.2021 03:20
question
Mathematics, 02.02.2021 03:20
question
Social Studies, 02.02.2021 03:20
question
Mathematics, 02.02.2021 03:20
question
Mathematics, 02.02.2021 03:20
question
Mathematics, 02.02.2021 03:20