Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Campaign organizers for both the Republican and Democratic parties are interested in identifying individual undecided voters who would consider voting for their party in an

Campaign organizers for both the Republican and Democratic parties are interested in identifying individual undecided voters who would consider voting for their party in an upcoming election. The DATAfileBlueOrRedcontains 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.

Apply a random forest ensemble of 10 classification trees using Age, HomeOwner, Female, Married, HouseholdSize, Income, Education, and Church as input variables and Undecided as the output variable. Refer to theAppendixfor instructions on how to generate a random forest of classification trees using the Analytic Solver Platform.

Click on link to reference the data.

https://cnow.apps.ng.cengage.com/ilrn/books/cameba03h/images/datafiles/ch09/BlueOrRed.xlsx

(a)What is the most important variable in terms of reducing the classification error of the ensemble?- Select your answer -AgeHomeOwnerFemaleMarriedHouseholdSizeIncomeEducationChurchItem 1is the most important variable in reducing classification error of the ensemble.

(b)For the default cutoff value of 0.5, what is the overall error rate, Class 1 error rate, and Class 0 error rate of the best-pruned tree on the test set? If required, round your answers to one decimal place.Error TypeError RateClass 1%Class 0%Overall%

How does the random tree error rates on the test set compare to the corresponding measures of the single best-pruned tree from Problem 3?The input in the box below will not be graded, but may be reviewed and considered by your instructor.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Management Accounting In A Dynamic Environment

Authors: Cheryl S McWatters, Jerold L Zimmerman

1st Edition

0415839025, 9780415839020

More Books

Students also viewed these Accounting questions

Question

What is one of the skills required for independent learning?Explain

Answered: 1 week ago