Question: Draw the ROC curve using the five thresholds above. Include the thresholds of 0 and 1 as well. Provide appropriate labels for the axes. The
Draw the ROC curve using the five thresholds above. Include the thresholds of 0 and 1 as well. Provide appropriate labels for the axes.

The data set \"chick weights\" captures an experiment comparing the effect of different feeds on chicken weight. lCan we predict which feed a particular chicken received based on their weight? The following logistic regression model was run and the predicted probabilities (13) were calculated and are provided in the table below. logt[P(sunflower = 1|X)] = {30 + lxwerght \" 0.032 \".- 0.039 0.090 \"1- 0.149 \"1- \"-5- n\" m Complete the following three tasks and upload a picture of your answers. Part 1 Calculate the true positive rate and true negative rate for the following ve thresholds. t= {02.04, 0.5, 0.6,0.8} Recommendation: create a table as we did in the lecture notes. Part 2 Draw the ROC curve using the ve thresholds above. Include the thresholds of 0 and 1 as well. Provide appropriate labels for the axes. Part 3 According to the Youden Index, which threshold provides the best classication? Please show all supporting work
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
