Suppose a drug test is 93% sensitive and 87% specific. That is, the test will produce 93% true positive results for drug users and 87% true negative results for non-drug users. Suppose that 1.8% of people are users of the drug. If a randomly selected individual tests positive, what is the probability he or she is a user

Respuesta :

Answer:

The probability is  [tex]P(U | P ) = 11.6 \%[/tex]

Step-by-step explanation:

Generally a true positive means that the person tested is a drug user and he/she test positive to the test

while true negative mean that the person tested is not a drug user and he/she test negative to the test

From the question we are told that

The probability that a person test positive  to the drug test given that the person is  a drug user is    

      [tex]P(P | U ) = 0.93[/tex]

Here  P => event that a person test positive to the drug test

         U => event that the person is a drug user

The probability that a person test negative to the drug test given that the person is not a drug user is      

     [tex]P(N | S ) = 0.87[/tex]  

Here  N => event that a person test negative to the drug test

         S => event that the person is not a drug user

The probability that a person is a drug user is  

     [tex]P(U) = 0.018[/tex]

Generally the probability that a person test positive to the test given that the person is a non- user is  

     [tex]P(P | S ) = 1 - 0.87[/tex]

=>  [tex]P(P | S ) = 0.13[/tex]

Generally the probability that a person is  a non user of drug is  

      [tex]P(S) = 1 - 0.018[/tex]  

=> [tex]P(S) = 0.982[/tex]  

Generally the probability that a person test positive to the drug test is mathematically evaluated as

      [tex]P(P) = P(P | U) * P(U ) + P(P | S ) * P(S)[/tex]

=>  [tex]P(P) = 0.93 * 0.018 + 0.13 * 0.982[/tex]

=>  [tex]P(P) = 0.1444[/tex]

Generally the probability a person is a user given that he or she tested positive is mathematically represented as

     [tex]P(U | P ) = \frac{P(P |U ) * P(U)}{P(P)}[/tex]

=>  [tex]P(U | P ) = \frac{0.93 * 0.018 }{0.1444}[/tex]

=>  [tex]P(U | P ) = 0.116[/tex]

Converting to percentage

    [tex]P(U | P ) = 0.116 * 100[/tex]

=> [tex]P(U | P ) = 11.6 \%[/tex]