1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Natasha_Volkova [10]
3 years ago
13

It is known that there only is 1% chance of getting a disease. a test is being devised to detect the disease. the probability th

at the test comes out positive if the patient has the disease is 0.98 and the probability that the test comes out negative if the patient does not have the disease is 0.95,
a.what is the probability that a random test comes out negative?
b.what is the probability that a patient really has the disease, if the test came out positive?
Mathematics
1 answer:
Cerrena [4.2K]3 years ago
6 0
Suppose D is the event that a given patient has the disease, and P is the event of a positive test result.

We're given that

\mathbb P(D)=0.01
\mathbb P(P\mid D)=0.98
\mathbb P(P^C\mid D^C)=0.95

where A^C denotes the complement of an event A.

a. We want to find \mathbb P(P^C). By the law of total probability, we have

\mathbb P(P^C)=\mathbb P(P^C\cap D)+\mathbb P(P^C\cap D^C)

That is, in order for P^C to occur, it must be the case that either D also occurs, or D^C does. Then from the definition of conditional probability we expand this as

\mathbb P(P^C)=\mathbb P(D)\mathbb P(P^C\mid D)+\mathbb P(D^C)\mathbb P(P^C\mid D^C)

so we get

\mathbb P(P^C)=0.01\cdot0.02+0.99\cdot0.95=0.9407

b. We want to find \mathbb P(D\mid P). Now, we can use Bayes' rule, but if you're like me and you find the formula a bit harder to remember, we can easily derive it.

By the definition of conditional probability,

\mathbb P(D\mid P)=\dfrac{\mathbb P(D\cap P)}{\mathbb P(P)}

We have the probabilities of P/P^C occurring given that D/D^C occurs, but not vice versa. However, we can expand the probability in the numerator to get a probability in terms of P being conditioned on D:

\mathbb P(D\cap P)=\mathbb P(D)\mathbb P(P\mid D)

Meanwhile, the law of total probability lets us rewrite the denominator as

\mathbb P(P)=\mathbb P(P\cap D)+\mathbb P(P\cap D^C)

or in terms of conditional probabilities,

\mathbb P(P)=\mathbb P(D)\mathbb P(P\mid D)+\mathbb P(D^C)\mathbb P(P\mid D^C)

so that

\mathbb P(D\mid P)=\dfrac{\mathbb P(D)\mathbb P(P\mid D)}{\mathbb P(D)\mathbb P(P\mid D)+\mathbb P(D^C)\mathbb P(P\mid D^C)}

which is exactly what Bayes' rule states. So we get

\mathbb P(D\mid P)=\dfrac{0.01\cdot0.98}{0.01\cdot0.98+0.99\cdot0.05}\approx0.1653
You might be interested in
Which table represents a linear function?
kykrilka [37]

Answer:

Option 3 (C)

Step-by-step explanation:

It is the only one that changes the same amount every time ( times 2 )

7 0
3 years ago
What is the value of y in the solution to the system of equations?x + y = 12x – 3y = –30
evablogger [386]
X + y = 12 . . . . . . . . (1)
x - 3y = -30 . . . . . . . (2)
(1) - (2): 4y = 42
y = 10.5
3 0
4 years ago
Which fraction is greater 31/52 or 37/64
fiasKO [112]
31/52 is greater because the pie as I imagine it would be cut into bigger slices than 37/64 because then the pie has to be cut into 64 pieces instead of 52


Therefore, 31/52 is bigger and greater
6 0
3 years ago
What is the 7th term of the geometric sequence? <br><br> 2, 8, 32, 128, ...
artcher [175]
The 7th term of the geometric sequence is 8,192!
7 0
3 years ago
Davina is comparing cell phone plans. The first plan has a flat fee of $10 plus .04 per text. The second has a flat fee of $5 pl
bazaltina [42]
10+.04(15)(.5)=10.30. 5+.12(15)(.5)=5.9. 10.3-5.9=4.4 the difference is 4.40 :)
8 0
3 years ago
Other questions:
  • What is the volume of a cone that has a diameter of 4.5 and height of 6 5/8
    7·1 answer
  • Y=2/3x+5 find the slope and y-intercept of the linear equation
    11·2 answers
  • Given that y c1 c2x2 is a two-parameter family of solutions of xy y 0 on the interval ( , ), show that constants c1 and c2 canno
    6·1 answer
  • 3.
    15·1 answer
  • When asked to state the simple linear regression model, a student wrote it as follows: E(Yi) = βo + β1Xi + ei . Do you agree? Ex
    8·1 answer
  • Segments BC and DE are parallel. What is the length of CE?
    5·1 answer
  • What do you think this means about solving for the variables in a situation represented by
    8·1 answer
  • Giving out braliest (idek if I spelt it right lol-)
    9·2 answers
  • Simplify the expression 5m+9n<br><br> M= -7 n=4
    10·1 answer
  • 27 x 9^3x can be written in the form 3^k where k is an expression in terms of x. Find k
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!