5 Problem In this problem we will plot the ROC curve for the example that we did class. We had defined the following two random variables ๆ = D = = { T 1 0 = if sample is infected if sample is not infected { 1 The ROC curve plots the True Positive Rate (which (which is also 1-0 where theta is the specificity). Recall that 0 test is positive test is negative is also the sensitivity n) against the False Positive Rate Sensitivity or also referred to as True Positive Rate P(T = 1|D = 1) D(T 100
5 Problem In this problem we will plot the ROC curve for the example that we did class. We had defined the following two random variables ๆ = D = = { T 1 0 = if sample is infected if sample is not infected { 1 The ROC curve plots the True Positive Rate (which (which is also 1-0 where theta is the specificity). Recall that 0 test is positive test is negative is also the sensitivity n) against the False Positive Rate Sensitivity or also referred to as True Positive Rate P(T = 1|D = 1) D(T 100
Glencoe Algebra 1, Student Edition, 9780079039897, 0079039898, 2018
18th Edition
ISBN:9780079039897
Author:Carter
Publisher:Carter
Chapter10: Statistics
Section10.3: Measures Of Spread
Problem 1GP
Related questions
Question
![0
=
=
=
=
Specificity or also referred to as True Negative Rate
P(T=0|D = 0)
P(T=0nD = 0)
P(D = 0)
True Negatives
1 - Prevalance
We assume that X|(D
0)~ Norm (50, 10) and X|(D = 1) ~ Norm(70, 15). In R there are
functions to obtain both the probability density function (pdf) and the cumulative distribution function (cdf)
of a random variable that has a Normal distribution. These functions are dnorm and pnorm. Review the
help files to see the parameters of these functions. In this problem you are required to do the following
1. Plot the pdf and the cdf of X|(D = 1) ~ Norm(70, 15) for values 20 to 120.
2. Let x* denote the cutoff value such that if X > x* then the test is positive test otherwise it is consid-
ered be negative. Plot the ROC curve for values of z* ranging from 52 < x ≤ 65.
3. If False Positive Rate and False Negative Rates are equally bad, determine the value of r*.
=](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fa8a6433a-daca-4307-8eb1-311fecdc6fbb%2F6375128b-9d45-404b-a0b0-b0e8deccfef7%2Ffzg3kl9_processed.png&w=3840&q=75)
Transcribed Image Text:0
=
=
=
=
Specificity or also referred to as True Negative Rate
P(T=0|D = 0)
P(T=0nD = 0)
P(D = 0)
True Negatives
1 - Prevalance
We assume that X|(D
0)~ Norm (50, 10) and X|(D = 1) ~ Norm(70, 15). In R there are
functions to obtain both the probability density function (pdf) and the cumulative distribution function (cdf)
of a random variable that has a Normal distribution. These functions are dnorm and pnorm. Review the
help files to see the parameters of these functions. In this problem you are required to do the following
1. Plot the pdf and the cdf of X|(D = 1) ~ Norm(70, 15) for values 20 to 120.
2. Let x* denote the cutoff value such that if X > x* then the test is positive test otherwise it is consid-
ered be negative. Plot the ROC curve for values of z* ranging from 52 < x ≤ 65.
3. If False Positive Rate and False Negative Rates are equally bad, determine the value of r*.
=
![5
Problem
In this problem we will plot the ROC curve for the example that we did class. We had defined the following
two random variables
n
=
=
=
D
=
{
T
1
0
=
if sample is infected
if sample is not infected
The ROC curve plots the True Positive Rate (which is also the sensitivity n) against the False Positive Rate
(which is also 1 - 0 where theta is the specificity). Recall that
{
1
0
test is positive
test is negative
Sensitivity or also referred to as True Positive Rate
P(T=1|D = 1)
P(T=1nD = 1)
P(D = 1)
True Positives
Prevalance](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fa8a6433a-daca-4307-8eb1-311fecdc6fbb%2F6375128b-9d45-404b-a0b0-b0e8deccfef7%2Fn5b0a_processed.png&w=3840&q=75)
Transcribed Image Text:5
Problem
In this problem we will plot the ROC curve for the example that we did class. We had defined the following
two random variables
n
=
=
=
D
=
{
T
1
0
=
if sample is infected
if sample is not infected
The ROC curve plots the True Positive Rate (which is also the sensitivity n) against the False Positive Rate
(which is also 1 - 0 where theta is the specificity). Recall that
{
1
0
test is positive
test is negative
Sensitivity or also referred to as True Positive Rate
P(T=1|D = 1)
P(T=1nD = 1)
P(D = 1)
True Positives
Prevalance
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
Step 1
Given:-
The ROC curve plots the True Positive Rate (which is also the sensitivity ŋ) against the False Positive Rate.
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Glencoe Algebra 1, Student Edition, 9780079039897…](https://www.bartleby.com/isbn_cover_images/9780079039897/9780079039897_smallCoverImage.jpg)
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
![Calculus For The Life Sciences](https://www.bartleby.com/isbn_cover_images/9780321964038/9780321964038_smallCoverImage.gif)
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,
![Holt Mcdougal Larson Pre-algebra: Student Edition…](https://www.bartleby.com/isbn_cover_images/9780547587776/9780547587776_smallCoverImage.jpg)
Holt Mcdougal Larson Pre-algebra: Student Edition…
Algebra
ISBN:
9780547587776
Author:
HOLT MCDOUGAL
Publisher:
HOLT MCDOUGAL
![Glencoe Algebra 1, Student Edition, 9780079039897…](https://www.bartleby.com/isbn_cover_images/9780079039897/9780079039897_smallCoverImage.jpg)
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
![Calculus For The Life Sciences](https://www.bartleby.com/isbn_cover_images/9780321964038/9780321964038_smallCoverImage.gif)
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,
![Holt Mcdougal Larson Pre-algebra: Student Edition…](https://www.bartleby.com/isbn_cover_images/9780547587776/9780547587776_smallCoverImage.jpg)
Holt Mcdougal Larson Pre-algebra: Student Edition…
Algebra
ISBN:
9780547587776
Author:
HOLT MCDOUGAL
Publisher:
HOLT MCDOUGAL