If a Smartphone is Defective, Which Factory Made It?

Problem 738

A certain model of smartphone is manufactured by three factories A, B, and C. Factories A, B, and C produce $60\%$, $25\%$, and $15\%$ of the smartphones, respectively. Suppose that their defective rates are $5\%$, $2\%$, and $7\%$, respectively.

If a smartphone of this model is found out to be detective, what is the probability that this smartphone was manufactured in factory C?

Let $E$ be the event that a smartphone of this model is defective. Let $F_A$ be the event that a smartphone is manufactured by factory A. Similarly for $F_B$ and $F_C$.

By Bayes’s rule, we have
\[P(F_C \mid E) = \frac{P(F_C) \cdot P(E \mid F_C)}{P(E)}.\]

Now, we compute the probabilities on the right hand side.

In the post Overall Fraction of Defective Smartphones of Three Factories, we calculated that
\begin{align*}
P(E) &= P(F_A)\cdot P(E \mid F_A) + P(F_B)\cdot P(E \mid F_B) + P(F_C)\cdot P(E \mid F_C)\\
&= 0.0455.
\end{align*}
(See the post for details.)

Factory C produces $15\%$ of the smartphones, thus $P(F_C)=0.15$.
Also, the defective rate for Factory C is $7\%$. Hence $P(E \mid F_C) = 0.07$.

Inserting these values into the formula above, we get
\[P(F_C \mid E) = \frac{0.15 \cdot 0.07}{0.0455} \approx 0.2308.\]

Overall Fraction of Defective Smartphones of Three Factories
A certain model of smartphone is manufactured by three factories A, B, and C. Factories A, B, and C produce $60\%$, $25\%$, and $15\%$ of the smartphones, respectively.
Suppose that their defective rates are $5\%$, $2\%$, and $7\%$, respectively. Determine the overall fraction of […]

Find the Conditional Probability About Math Exam Experiment
A researcher conducted the following experiment. Students were grouped into two groups. The students in the first group had more than 6 hours of sleep and took a math exam. The students in the second group had less than 6 hours of sleep and took the same math exam.
The pass […]

Jewelry Company Quality Test Failure Probability
A jewelry company requires for its products to pass three tests before they are sold at stores. For gold rings, 90 % passes the first test, 85 % passes the second test, and 80 % passes the third test. If a product fails any test, the product is thrown away and it will not take the […]

Probability of Having Lung Cancer For Smokers
Let $C$ be the event that a randomly chosen person has lung cancer. Let $S$ be the event of a person being a smoker.
Suppose that 10% of the population has lung cancer and 20% of the population are smokers. Also, suppose that we know that 70% of all people who have lung cancer […]

What is the Probability that All Coins Land Heads When Four Coins are Tossed If…?
Four fair coins are tossed.
(1) What is the probability that all coins land heads?
(2) What is the probability that all coins land heads if the first coin is heads?
(3) What is the probability that all coins land heads if at least one coin lands […]

Independent Events of Playing Cards
A card is chosen randomly from a deck of the standard 52 playing cards.
Let $E$ be the event that the selected card is a king and let $F$ be the event that it is a heart.
Prove or disprove that the events $E$ and $F$ are independent.
Definition of Independence
Events […]

Probability that Alice Tossed a Coin Three Times If Alice and Bob Tossed Totally 7 Times
Alice tossed a fair coin until a head occurred. Then Bob tossed the coin until a head occurred. Suppose that the total number of tosses for Alice and Bob was $7$.
Assuming that each toss is independent of each other, what is the probability that Alice tossed the coin exactly three […]