Question: Please answer using R code This homework assignment will use the wbca dataset of the faraway package. 1. First recode the response variable variable C1ass=1-Class

Please answer using R code

Please answer using R code This homework assignment will use the wbca

This homework assignment will use the wbca dataset of the faraway package. 1. First recode the response variable variable C1ass=1-Class so that a 1 refers to a malignant tumor. Then t a logistic regression model using all of the predictors. a. Compute the measure of predictive power which is the correlation between y and A 7r. b. Compute the measure of predictive power ij? 2. Using a cutoff of are = .5 produce the confusion table and report the sensitivity, specicity, and correct classication rate. 3. Repeat (2) but using the model resulting from backward elimination with the A10 method. Describe any changes to sensitivity, specicity and correct agreement rate

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!