Question #45608

(a) One half percent of the population has a particular disease. A test is developed for the disease. The test gives a false positive 3% of the time and a false negative 2% of the time. (a). What is the probability that Joe (a random person) tests positive? (b). Joe just got the bad news that the test came back positive; what is the probability that Joe has the disease?

(b) Three cooks, A, B and C bake a special kind of cake, and with respective probabilities 0.02, 0.03, and 0.05 it fails to rise. In the restaurant where they work, A bake 50 percent of these cakes, B 30 percent and C 20 percent. What proportion of failures is caused by A
1

Expert's answer

2014-09-08T11:55:24-0400

Answer on Question #45608 – Math – Statistics and Probability

(a) One half percent of the population has a particular disease. A test is developed for the disease. The test gives a false positive 3% of the time and a false negative 2% of the time. (a). What is the probability that Joe (a random person) tests positive? (b). Joe just got the bad news that the test came back positive; what is the probability that Joe has the disease?

Solution:

Let DD be the event that Joe has the disease. Let TT be the event that Joe's test comes back positive. We are told that P(D)=0.005P(D) = 0.005, since 12%\frac{1}{2}\% of the population has the disease, and Joe is just an average guy. We are also told that P(TD)=0.98P(T|D) = 0.98, since 2%2\% of the time a person having the disease is missed ("false negative"). We are told that P(TDc)=0.03P(T|D^c) = 0.03, since there are 3%3\% false positives.

(a). We want to compute P(T)P(T). We do so by conditioning on whether or not Joe has the disease:


P(T)=P(TD)P(D)+P(TDc)P(Dc)=(0.98)(0.005)+(0.03)(0.995)=0.035.P(T) = P(T|D)P(D) + P(T|D^c)P(D^c) = (0.98)(0.005) + (0.03)(0.995) = 0.035.


(b). We want to compute


P(DT)=P(DT)P(T)=P(TD)P(D)P(TD)P(D)+P(TDc)P(Dc)=(0.98)(0.005)(0.98)(0.005)+(0.03)(0.995)=0.14.P(D|T) = \frac{P(D \cap T)}{P(T)} = \frac{P(T|D)P(D)}{P(T|D)P(D) + P(T|D^c)P(D^c)} = \frac{(0.98)(0.005)}{(0.98)(0.005) + (0.03)(0.995)} = 0.14.


(b) Three cooks, A, B and C bake a special kind of cake, and with respective probabilities 0.02, 0.03, and 0.05 it fails to rise. In the restaurant where they work, A bake 50 percent of these cakes, B 30 percent and C 20 percent. What proportion of failures is caused by A?

Solution:

We start to solve with definition of the probability events applying to our problem.

The probability of an event A occurring when it is known that some event A has occurred is called a conditional probability and is denoted by P(AB)P(A|B). The symbol P(AB)P(A|B) is usually read the probability that A occurs given that B occurs or simply the probability of A given B.

The conditional probability of A, given B, denoted by P(AB)P(A|B), is defined the following formula.


P(AB)=P(AB)P(B) if P(B)>0P(A|B) = \frac{P(A \cap B)}{P(B)} \text{ if } P(B) > 0


Note the given values accordingly to the condition of the task. The cook A bake a 50%50\% of these cakes with probability P(A)=0.5P(A) = 0.5, the cook B bake a 30%30\% of cakes with probability P(B)=0.3P(B) = 0.3 and the cook C bake a 20%20\% of cakes with probability P(C)=0.2P(C) = 0.2.

Let FF be the event that the cake fails to rise. Then we can write the probability with takes into account this condition.


P(FA)=0.02,P(FB)=0.03andP(FC)=0.05P(F|A) = 0.02, \quad P(F|B) = 0.03 \quad \text{and} \quad P(F|C) = 0.05


To solve our problem we apply the Bayes' Theorem. Accordingly to the theorem it should be noted.

Let the events A1,A2,,AkA_1, A_2, \ldots, A_k form a partition of the space SS such that P(Aj)>0P(A_j) > 0, for j=1,,kj = 1, \ldots, k, and let BB be any event such that P(B)>0P(B) > 0. Then, for j=1,,kj = 1, \ldots, k,


P(AjB)=P(Aj)P(BAj)P(B)=P(Aj)P(BAj)i=1kP(Ai)P(BAi)P(A_j|B) = \frac{P(A_j)P(B|A_j)}{P(B)} = \frac{P(A_j)P(B|A_j)}{\sum_{i=1}^{k} P(A_i)P(B|A_i)}


Apply the formula noted above to solve our problem.


P(AF)=P(AF)P(F)P(A|F) = \frac{P(A \cap F)}{P(F)}


Where P(F)P(F) is equal to the following formula.


P(F)=P(AF)+P(BF)+P(CF)=P(A)P(FA)+P(B)P(FB)+P(C)P(FC)P(F) = P(A \cap F) + P(B \cap F) + P(C \cap F) = P(A)P(F|A) + P(B)P(F|B) + P(C)P(F|C)


According to the condition of the task we have all data, so we can substitute into the formula noted above.


P(F)=(0.50.02)+(0.30.03)+(0.20.05)=0.01+0.009+0.01=0.029P(F) = (0.5 \cdot 0.02) + (0.3 \cdot 0.03) + (0.2 \cdot 0.05) = 0.01 + 0.009 + 0.01 = 0.029


Now we can substitute the obtained value into the formula. We know that


P(AF)=P(A)P(FA)=0.01P(A \cap F) = P(A)P(F|A) = 0.01


So, we can find the value of P(AF)P(A|F).


P(AF)=P(AF)P(F)=0.010.0290.344827P(A|F) = \frac{P(A \cap F)}{P(F)} = \frac{0.01}{0.029} \approx 0.344827


Finally we can write that P(AF)=0.34482P(A|F) = 0.34482.

**Answer**: The proportion of failures is caused by AA is equal to P(AF)=0.34482P(A|F) = 0.34482 (approximately 34%).

www.AssignmentExpert.com


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS