Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

show the R codes for 8 questions below, run the results in R studio and show the interpretation required: Assignment Summary Use the College dataset

show the R codes for 8 questions below, run the results in R studio and show the interpretation required:

imageimageimageimageimageimageimageimageimageimageimageimageimageimage

Assignment Summary Use the College dataset from the ISLR library to build a logistic regression model to predict whether a university is private or public. 1. Import the dataset and perform Exploratory Data Analysis by using descriptive statistics and plots to describe the dataset. 2. Split the data into a train and test set - refer to the ALY6015_Feature_Selection_R.pdf document for information on how to split a dataset. 3. Fit logistic regression model. 4. Create a confusion matrix and report the results of your model predictions on the train set. Interpret and discuss the confusion matrix. Which misclassifications are more damaging for the analysis, False Positives or False Negatives? 5. Report and interpret Accuracy, Precision, Recall, and Specificity metrics. 6. Create a confusion matrix and report the results of your model for the test set. Compare the results with the train set and interpret. 7. Plot and interpret the ROC curve. 8. Calculate and interpret the AUC.

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_2

Step: 3

blur-text-image_3

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

OpenIntro Statistics

Authors: David Diez, Mine Çetinkaya-Rundel, Christopher Barr

4th Edition

1943450072, 978-1943450077

More Books

Students also viewed these Algorithms questions

Question

Why is failing to reject ????0 often an unreliable decision?

Answered: 1 week ago

Question

1. How does the idea of allostasis differ from homeostasis?

Answered: 1 week ago