2. Suppose that a binary response variable Y is related to a set of predictors and a logistic model is fitted under sample size n = 8. Table.1 gives the observed yi and estimated probability t^į = Pr^ (Yi = 1) for each sample i, where į = 1,2,...,8. Please sketch the ROC curve and calculate the area under the curve. (Hint: What if the cutoff +0 = 0.55?) i yi îi 1 1 0.59 2 0 0.42 3 1 0.67 4 1 0.82 5 0 0.09 6 0 0.51 7 1 0.91 8 0 0.25 Table 1

Calculus For The Life Sciences
2nd Edition
ISBN:9780321964038
Author:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Chapter13: Probability And Calculus
Section13.2: Expected Value And Variance Of Continuous Random Variables
Problem 10E
icon
Related questions
Question
2. Suppose that a binary response variable Y is related to a set of predictors and a logistic model
is fitted under sample size n = 8. Table.1 gives the observed yi and estimated probability i =
Pr° (Yi = 1) for each sample i, where į = 1,2,..,8. Please sketch the ROC curve and calculate the
area under the curve. (Hint: What if the cutoff t0 = 0.55?)
i yi îti
1 1 0.59
20 0.42
3 1 0.67
4 1 0.82
5 0 0.09
6 0 0.51
7 1 0.91
8 0 0.25
Table 1
Transcribed Image Text:2. Suppose that a binary response variable Y is related to a set of predictors and a logistic model is fitted under sample size n = 8. Table.1 gives the observed yi and estimated probability i = Pr° (Yi = 1) for each sample i, where į = 1,2,..,8. Please sketch the ROC curve and calculate the area under the curve. (Hint: What if the cutoff t0 = 0.55?) i yi îti 1 1 0.59 20 0.42 3 1 0.67 4 1 0.82 5 0 0.09 6 0 0.51 7 1 0.91 8 0 0.25 Table 1
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 16 images

Blurred answer
Recommended textbooks for you
Calculus For The Life Sciences
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill