Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Red or Blue - Campaign organizers for both the Republican and Democratic parties are interested in identifying individual undecided voters who would consider voting for

Red or Blue - 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 Excel file RedOrBlue contains data on a sample of voter 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. Assume a cutoff of 0.5. You are welcome to use either StatTools or SPSS. Classify the data using logistic regression (LR), discriminant analysis (DA), and neural network (NN).

I have already created dummy variables and also divided the database into training and validation (see column J, i.e. 'Partition') sets in the ratio 60:40. Then apply LR, DA, and NN to your training set. Determine the efficacy of your models using the validation set. Specifically, you will compute the metrics shown in the table below (See formulas in Appendix).

  1. Present your results in the following format. [15 Points]

Metric

Logistic

Discriminant

Neural Net

Training

Validation

Training

Validation

Training

Validation

Accuracy (#correct)

Overall Accuracy

Overall Error Rate

Specificity

Sensitivity (Recall)

Precision

F1 score

  1. In your logistic regression model, increases in which variables increase the chance of a voter being undecided? Increases in which variables decrease the chance of a voter being undecided? [10 Points]
  2. Consider a 50-year-old man who attends church, has 15 years of education, owns a home, is married, lives in a household of four people, and has an annual income of $150,000. Use your logistic regression model to classify this voter - decided or undecided? [10 Points]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Precalculus

Authors: Jay Abramson

1st Edition

9781938168345

Students also viewed these Mathematics questions

Question

Identify the purpose and content of the statement of cash flows.

Answered: 1 week ago

Question

Derive Eq. (12.45) through Eq. (12.47).

Answered: 1 week ago