Ask your own question, for FREE!
Probability 14 Online
OpenStudy (anonymous):

Consider a quick test for diabetes. It correctly detects diabetes with probability 0.7 if the patient has diabetes, and it correctly detects absence of diabetes if the patient does not have diabetes with probability 0.9. Assuming that a random person is positively tested for diabetes and assuming that 5% of the population have diabetes, then the probability that the person indeed has diabetes is

OpenStudy (anonymous):

We need to assign variables to events. Let \(A\) be the event that the have diabetes. Let \(B\) be the probability that they tested positive for diabetes. The question is asking for \(Pr(A|B)\).

OpenStudy (anonymous):

Remember that: \[ \Pr(A|B) = \frac{\Pr(A\cap B)}{\Pr(B)} \]

OpenStudy (anonymous):

We don't know that much about \(\Pr(B)\) yet though... We need another event: Let \(C\) be the event that the test is correct.

OpenStudy (anonymous):

so wat is 0.7 and 0.9 isnt it P(A|B) abd P(-A|-B)?

OpenStudy (anonymous):

\[ \Pr(B) = \Pr(B|C)+\Pr(B|\overline{C}) \]

OpenStudy (anonymous):

It correctly detects diabetes with probability 0.7 This is saying \[ \Pr(B|A) = 0.7 \] it correctly detects absence of diabetes if the patient does not have diabetes with probability 0.9. This is saying: \[ \Pr(\overline{B}|\overline{A})=0.9 \]

OpenStudy (anonymous):

But what we want is \[ \Pr(A|B) \]Get it?

OpenStudy (anonymous):

this part i get it. thanks:) wat about C? how do i find it?

OpenStudy (anonymous):

Oh, I'm not completely sure you need it... I was just throwing it out there for the moment.

OpenStudy (anonymous):

Since \[ \Pr(B|A) = \frac{\Pr(B\cap A)}{\Pr(A)} \implies\Pr(B\cap A)=\Pr(B|A) \Pr(A) \]We plug it in to get:\[ \Pr(A|B) = \frac{\Pr(A\cap B)}{\Pr(B)} =\frac{\Pr(B|A)\Pr(A)}{\Pr(B)} \]

OpenStudy (anonymous):

Of course now all we need is that nasty \(\Pr(B)\).

OpenStudy (anonymous):

\[ \Pr(B) = \Pr(B|A)+\Pr(B|\overline{A}) \]

OpenStudy (anonymous):

So we just need to find out when it tests positively but they don't actually have diabetes.

OpenStudy (anonymous):

ok, i will try now. thanks :)

OpenStudy (anonymous):

\[ \Pr(B|\overline{A})\Pr(\overline{A}) = \Pr(B\cap\overline{A} )\]\[ \Pr(\overline{B}|\overline{A})\Pr(\overline{A}) = \Pr(\overline{B}\cap\overline{A} )\]\[ \Pr(\overline{A})=\Pr(B\cap\overline{A} )+\Pr(\overline{B}\cap\overline{A} ) \]

OpenStudy (anonymous):

P(dia|+)={P(dia)*P(+|dia)} / {P(dia)*P(+|dia)+P(-dia)*(P(+|-dia)}

OpenStudy (anonymous):

is this way correct?

OpenStudy (anonymous):

\[ \Pr(B|\overline{A})\Pr(\overline{A})=\Pr(\overline{A})-\Pr(\overline{B}|\overline{A})\Pr(\overline{A})\]\[ \Pr(B|\overline{A})=1-\Pr(\overline{B}|\overline{A}) \]

OpenStudy (anonymous):

So I'm getting: \[ \Pr(A|B) = \frac{\Pr(B|A)\Pr(A)}{\Pr(B|A)+(1-\Pr(\overline{B}|\overline{A}))} \]

OpenStudy (anonymous):

Is there a way to check your answer?

OpenStudy (anonymous):

i'll get back to you when i get back my assignment. thanks so much:)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!