Question: Use the built in dataset ttcars ? ( ) from the R package and apply the logistic regression model to complete the following
Use the built in dataset ttcars from the R package and apply the logistic regression model to
complete the following steps:
Identify the number of variables in the dataset
Split your dataset for training and testing your Logistic Regression Model
Predict your test data for the Logistic Model
Plot an AUC and ROC curve to identify the performance of the Model.
DO # code for R
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
