Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Fit a logistic regression model that uses income and balance to predict default. Using the validation set approach, estimate the test error of model in

Fit a logistic regression model that uses income and balance to predict default.
Using the validation set approach, estimate the test error of model in (a). In order to do this, you must perform the following steps:
Split the sample set into a training set and a validation set.
Fit a multiple logistic regression model using only the training observations.
Obtain a prediction of default status for each individual in the validation set by computing the posterior probability of default for that individual, and classifying the individual to the default category if the posterior probability is greater than 0.5.
Compute the validation set error, which is the fraction of the observations in the validation set that are misclassified.
Repeat the process in (b) using LOOCV to split of the observations into a training set and a validation set. Comment on the results obtained.
Repeat the process in (b) using k-fold (with k=5) to split of the observations into a training set and a validation set. Comment on the results obtained.

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

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

1292097612, 978-1292097619

More Books

Students also viewed these Databases questions

Question

What is the purpose of the staffing practice called Two-in-aBox?

Answered: 1 week ago