Set A - Question 2
Question Details
- A. Explain Marginal and conditional probability with suitable examples. (5 Marks)
- B. A manufacturing company operates three production lines: Line A, Line B, and Line C. The proportion of total products manufactured by the three lines is 40%, 35%, and 25%, respectively. The probabilities that a product manufactured by each line is defective are 2%, 3%, and 5%, respectively. A product is randomly selected from the company's production and is found to be defective. Using Bayes' theorem, calculate the probability that the defective product was manufactured by Line A, Line B, and Line C. Based on your calculations, identify which production line is most likely to have produced the defective product. (10 Marks)
- C. A data center monitoring system records an average of 6 server alerts per hour. Find which type of distribution it will follow and also calculate the probability that the system will generate exactly 4 alerts in a particular hour. (5 Marks)
Model Answer
A. Explain Marginal and Conditional Probability with Suitable Examples (5 Marks)
1. Marginal Probability (2 Marks)
- Definition: Marginal probability is the unconditional probability of an individual event occurring, without regard to the outcomes of any other events. In joint probability distributions, it is obtained by summing (marginalizing) the joint probabilities across all possible states of the second variable:
- Real-World Example: In a standard deck of 52 playing cards, the marginal probability of drawing an Ace across all four suits is:
2. Conditional Probability (2 Marks)
- Definition: Conditional probability measures the probability of an event occurring given that another event has already occurred. This operation reduces the effective sample space from the universal set to the subset :
- Real-World Example: Suppose a card is drawn and announced to be a Red Card (, containing 26 cards). The conditional probability that the card is an Ace given that it is red is: Conversely, the probability that the card is a Heart given it is Red is:
3. Contingency Table Representation (1 Mark)
Consider a diagnostic dataset of 100 patient blood tests:
| Test Result | Has Condition () | No Condition () | Marginal Probability |
|---|---|---|---|
| Positive () | |||
| Negative () | |||
| Marginal Probability |
- Marginal Probability of Positive Test:
- Conditional Probability of Having Condition given Positive Test:
B. Bayes' Theorem Defect Attribution Across Production Lines (10 Marks)
1. Prior Probabilities and Conditional Likelihoods (2 Marks)
Let , , and denote the events that a product was manufactured by Line A, Line B, and Line C, respectively:
Check for mutually exclusive and exhaustive partition of sample space:
Let denote the event that a selected product is defective:
2. Law of Total Probability for Defective Item (3 Marks)
The overall marginal probability of selecting a defective item from production is:
3. Posterior Probability Calculations via Bayes' Theorem (4 Marks)
Bayes' Theorem updates the prior probability given the observed evidence of a defect:
1. Probability that defective item originated from Line A:
2. Probability that defective item originated from Line B:
3. Probability that defective item originated from Line C:
Verification Check:
4. Identification of Most Likely Production Line (1 Mark)
Comparing the posterior probabilities:
- Conclusion: Line C is most likely to have produced the defective product.
- Managerial Insight: While Line A manufactures the largest product volume (), its strict quality control ( defect rate) keeps its share of defects low. In contrast, Line C produces only of total units but contributes of all defective inventory due to its defect rate.
C. Poisson Distribution: Server Alert Modeling (5 Marks)
1. Identification and Justification of Distribution (2 Marks)
- Identified Distribution: Poisson Distribution, parameterized by arrival rate alerts/hour:
- Justification:
- Discrete Count Process: Alerts are non-negative integer events ().
- Continuous Fixed Interval: The events occur over a fixed observation window (one hour).
- Independence: The occurrence of an alert in one interval is statistically independent of occurrences in disjoint intervals.
- Stationary Arrival Rate: The underlying mean rate of alerts per hour remains constant throughout the observation period.
2. Calculation of Probability of Exactly 4 Alerts (3 Marks)
The Poisson probability mass function (PMF) is:
Substituting and :
Evaluating the numerical terms:
Using :
- Final Result: The probability that the monitoring system generates exactly 4 alerts in a specific hour is (or ).