

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Drug testing example for conditional probability
Suppose that a drug test for an illegal drug is such that it is 98% accurate in the case of a user of that drug (e.g. it produces a positive result with probability .98 in the case that the tested individual uses the drug) and 90% accurate in the case of a non-user of the drig (e.g. it is negative with probability .9 in the case the person does not use the drug). Suppose it is known that 10% of the entire population uses this drug.
You test someone and the test is positive. What is the probability that the tested individual uses this illegal drug?
What is the probability of a false positive with this test (e.g. the probability of obtaining a posi- tive drug test given the person tested is a non-user)?
What is the probability of obtaining a false negative for this test (e.g. the probability that the test is negative, but the individual tested is a user)?
Let:
We want to find: P [ A |+], P [+| A ] (false positive), and P [โ| A ] (false negative)
We know that P [ A ] =. 1, P [+| A ] =. 98, and P [โ| A ] =. 9 and from this we know that P [+| A ] =. 9 which allows us to find using Bayes Theorem:
so
or
Also, the probability of a false positive is
P [+| A ] = 1 โ P [โ| A ] =. 1
and the probability of a false negative is
P [โ| A ] = 1 โ P [+| A ] =. 02