CT1 Sample Questions — Batch 3: Probability Distributions & Bayes
This document provides rigorous, textbook-style solutions for the probability distribution and advanced Bayes' Theorem questions (Q10, Q11, Q12, Q13, and Q21) from the IFS UNIT - 1 & 2 sample questions sheet. All formulas are rendered in LaTeX, with step-by-step mathematical derivations and formal academic inferences.
Question 10: Bayes' Theorem / Posterior Analysis of Electronic Devices
Given Data
Let X,Y,Z represent the events that a produced device is of Type X, Type Y, or Type Z respectively. Let D represent the event that a device is defective.
- Defective conditional probabilities:
P(D∣X)=0.01,P(D∣Y)=0.04,P(D∣Z)=0.02
- Posteriors of device type given a defective is found:
P(X∣D)=0.5,P(Y∣D)=0.3,P(Z∣D)=0.2
Analysis & Derivations
The question asks: "If a defective device is picked up from the factory, what is the most likely type of device?"
Interpretation A: Direct Posterior Comparison (MAP Decision)
If we are given that a defective device has been picked up from the factory, we are seeking to find the maximum posterior probability:
argmaxk∈{X,Y,Z}P(k∣D)
Since the posteriors are explicitly provided in the problem statement:
- P(X∣D)=0.5 (or 50%)
- P(Y∣D)=0.3 (or 30%)
- P(Z∣D)=0.2 (or 20%)
Conclusion A: Type X is the most likely type of device among the defectives, with a probability of 0.5.
Interpretation B: Deriving the Production Proportions (Priors)
To demonstrate advanced mastery, we can derive the overall production proportions (the priors P(X),P(Y),P(Z)) to see which device type the factory produces the most.
According to Bayes' Theorem:
P(k∣D)=P(D)P(D∣k)P(k)⟹P(k)=P(D∣k)P(k∣D)P(D)
Let P(D)=c represent the total probability of a defective device (constant).
P(X)=0.010.5⋅c=50c
P(Y)=0.040.3⋅c=7.5c
P(Z)=0.020.2⋅c=10c
Since the probabilities must sum to 1 (P(X)+P(Y)+P(Z)=1):
50c+7.5c+10c=1⟹67.5c=1⟹c=67.51=1352
Now, substitute c back to find the exact priors:
- Prior of Type X:
P(X)=50×1352=135100=2720≈0.7407(74.07%)
- Prior of Type Y:
P(Y)=7.5×1352=13515=273=91≈0.1111(11.11%)
- Prior of Type Z:
P(Z)=10×1352=13520=274≈0.1481(14.81%)
Conclusion B: If the question refers to the overall production volume of the factory, Type X is the most likely type of device produced by the factory, accounting for approximately 74.07% of total production.
Question 11: Bayes' Theorem / Posterior Analysis of Food Products
Given Data
Let D,E,F represent the events that an inspected food product is of Type D, Type E, or Type F respectively. Let Def represent the event that a product is defective.
- Defective conditional probabilities:
P(Def∣D)=0.03,P(Def∣E)=0.01,P(Def∣F)=0.04
- Posteriors of product type given a defective is found:
P(D∣Def)=0.2,P(E∣Def)=0.5,P(F∣Def)=0.3
Analysis & Derivations
The question asks: "If a defective product is selected, what is the most likely type of food product it belongs to?"
Interpretation A: Direct Posterior Comparison (MAP Decision)
Since we are given that a defective product has been selected, we compare the given posterior probabilities:
- P(D∣Def)=0.2 (or 20%)
- P(E∣Def)=0.5 (or 50%)
- P(F∣Def)=0.3 (or 30%)
Conclusion A: Type E is the most likely type of food product to have been selected among defectives, with a probability of 0.5.
Interpretation B: Deriving the Production Proportions (Priors)
Let us compute the total production distribution (the priors P(D),P(E),P(F)) across the factory.
According to Bayes' Theorem:
P(k)=P(Def∣k)P(k∣Def)P(Def)
Let P(Def)=c represent the total probability of a defective product.
P(D)=0.030.2⋅c=320c=1280c
P(E)=0.010.5⋅c=50c=12600c
P(F)=0.040.3⋅c=430c=1290c
Summing the probabilities to 1:
1280+600+90c=1⟹12770c=1⟹c=77012=3856
Now, substitute c back to find the priors:
- Prior of Type D:
P(D)=1280×77012=77080=778≈0.1039(10.39%)
- Prior of Type E:
P(E)=12600×77012=770600=7760≈0.7792(77.92%)
- Prior of Type F:
P(F)=1290×77012=77090=779≈0.1169(11.69%)
Conclusion B: If the question refers to the overall production volume, Type E is the most likely type of food product produced by the facility, accounting for approximately 77.92% of total production.
Question 12: Poisson Distribution - Fire Alarm Activations
Given Data
Let X denote the number of fire alarm activations in a week.
- Average rate of activation (λ) = 2 activations/week
- Distribution model: X∼Pois(λ=2)
We seek the probability of exactly 3 alarm activations in a week: P(X=3).
Step-by-Step Derivation
The Probability Mass Function (PMF) of a Poisson random variable is:
P(X=x)=x!e−λλx
Substitute λ=2 and x=3:
P(X=3)=3!e−223
P(X=3)=6e−2×8=34e−2
Using the approximation e−2≈0.135335:
P(X=3)≈34×0.135335≈0.180447
Inference: The probability that exactly 3 fire alarms will activate in a given week is approximately 18.04%.
Question 13: Poisson Distribution - Coffee Shop Customer Arrivals
Given Data
Let X denote the number of customers arriving at a coffee shop in a given hour.
- Average rate of arrival (λ) = 10 customers/hour
- Distribution model: X∼Pois(λ=10)
We seek the probability of exactly 15 customer arrivals in an hour: P(X=15).
Step-by-Step Derivation
Using the Poisson PMF:
P(X=x)=x!e−λλx
Substitute λ=10 and x=15:
P(X=15)=15!e−101015
Given:
- 1015=1015
- 15!=1,307,674,368,000=1.307674368×1012
- e−10≈0.0000453999
Substitute these numerical values:
P(X=15)≈1.307674368×10120.0000453999×1015=1.307674368×10124.53999×1010
P(X=15)≈130.76743684.53999≈0.034718
Inference: The probability that exactly 15 customers arrive in a given hour is approximately 3.47%.
Question 21: Defective Bulbs - Binomial vs. Hypergeometric Models
Given Data
- Total production batch size (N) = 1000
- Probability of a bulb being defective (p) = 0.01
- Number of defective bulbs in the run (D) = 1000×0.01=10
- Number of non-defective bulbs (N−D) = 990
- Sample size selected (n) = 2
Let X denote the number of defective bulbs in our sample of size 2. We solve this using both standard models to ensure complete accuracy.
Model 1: Binomial Distribution (With Replacement Approximation)
Since N is large relative to n, we can model this as X∼Bin(n=2,p=0.01).
1. Probability that both are defective (P(X=2))
P(X=2)=(22)p2(1−p)0=(0.01)2=0.0001
2. Probability that both are non-defective (P(X=0))
P(X=0)=(02)p0(1−p)2=(0.99)2=0.9801
3. Probability that one is defective and the other is non-defective (P(X=1))
P(X=1)=(12)p1(1−p)1=2×0.01×0.99=0.0198
Model 2: Hypergeometric Distribution (Exact Without Replacement)
Since the bulbs are drawn without replacement from a finite batch of 1000, the exact model is X∼Hypergeom(N=1000,D=10,n=2).
P(X=x)=(nN)(xD)(n−xN−D)
Total combinations of choosing 2 bulbs out of 1000:
(21000)=21000×999=499500
1. Probability that both are defective (P(X=2))
P(X=2)=499500(210)(0990)=49950045×1=111001≈0.00009009
2. Probability that both are non-defective (P(X=0))
P(X=0)=499500(010)(2990)=4995001×2990×989=499500489555=1110010879≈0.980090
3. Probability that one is defective and the other is non-defective (P(X=1))
P(X=1)=499500(110)(1990)=49950010×990=4995009900=111022≈0.0198198
Academic Summary of Results
| Event | Binomial Model (Approx) | Hypergeometric Model (Exact) |
|---|
| Both Defective | 0.000100 (0.01%) | 0.000090 (0.009%) |
| Both Non-Defective | 0.980100 (98.01%) | 0.980090 (98.01%) |
| One Defective, One Non-Defective | 0.019800 (1.98%) | 0.019820 (1.982%) |
Exam tip: Mentioning both models in your answer shows exceptional depth. Explain that because the sample size (n=2) is extremely small compared to the population (N=1000), the Binomial model is an incredibly accurate approximation of the exact Hypergeometric process.
| Distribution Model | Probability Mass Function (PMF) | Mean (μ) | Variance (σ2) | Characteristics / Conditions |
|---|
| Binomial | P(X=k)=(kn)pk(1−p)n−k | np | np(1−p) | n trials; binary outcomes; independent; constant success probability p. |
| Poisson | P(X=x)=x!e−λλx | λ | λ | Rare event count; continuous interval; rate λ is constant; independence. |
| Hypergeometric | P(X=x)=(nN)(xD)(n−xN−D) | n(ND) | n(ND)(NN−D)(N−1N−n) | Finite population N; D items of interest; size n sampled without replacement. |