⏱ 30 minutes40 marksprintable — key stays hidden on paper
Chapter: 1.3 Probability & Statistics
Difficulty: Level 2 (Recall / standard textbook problems)
Time limit: 30 minutes
Total marks: 40
Answer all questions. Show working where required. Use ... notation for math.
Q1. State the three Kolmogorov axioms of probability for a sample space Ω with probability measure P. (3 marks)
Q2. A fair six-sided die is rolled once. Let A = "outcome is even" and B = "outcome is greater than 3". Compute P(A), P(B), and P(A∩B). Are A and B independent? Justify. (4 marks)
Q3. A test for a disease has sensitivity P(T+∣D)=0.99 and specificity P(T−∣Dc)=0.95. The disease prevalence is P(D)=0.01. Using Bayes' theorem, compute the probability that a person who tests positive actually has the disease, P(D∣T+). (5 marks)
Q4. A discrete random variable X has pmf P(X=k)=ck for k∈{1,2,3,4} and 0 otherwise.
(a) Find c. (2 marks)
(b) Compute E[X]. (2 marks)
(c) Compute Var(X). (2 marks)
Q5. A continuous random variable has pdf f(x)=λe−λx for x≥0 (λ>0).
(a) Derive its cumulative distribution function F(x). (2 marks)
(b) State E[X] and Var(X) for this exponential distribution. (2 marks)
Q6. For a Binomial random variable X∼Bin(n,p), state E[X] and Var(X). Then, for n=10, p=0.3, compute P(X=2). (4 marks)
Q7. Define the entropy H(X) of a discrete distribution. Compute the entropy (in bits) of a Bernoulli random variable with p=0.5. (3 marks)
Q8. State the Central Limit Theorem for the sample mean Xˉn of n i.i.d. random variables with mean μ and finite variance σ2. Include the limiting distribution. (3 marks)
Q9. In a Poisson process, calls arrive at an average rate of λ=3 per minute. Compute the probability of exactly 2 calls in a given minute. (3 marks)
Q10. A sample of n=100 observations has sample mean xˉ=50 and known population standard deviation σ=10. Construct a 95% confidence interval for the population mean μ (use z0.025=1.96). (4 marks)
End of paper
Answer keyMark scheme & solutions
Q1. (3 marks)
(i) Non-negativity: P(A)≥0 for all events A. (1)
(ii) Normalization: P(Ω)=1. (1)
(iii) Countable additivity: for disjoint events A1,A2,…, P(⋃iAi)=∑iP(Ai). (1)Why: These axioms ensure probabilities are consistent, bounded in [0,1], and additive over mutually exclusive outcomes.
Q2. (4 marks)
A={2,4,6}⇒P(A)=3/6=1/2. (1)
B={4,5,6}⇒P(B)=3/6=1/2. (1)
A∩B={4,6}⇒P(A∩B)=2/6=1/3. (1)
Independence check: P(A)P(B)=1/4=1/3=P(A∩B), so not independent. (1)
Q3. (5 marks)
By Bayes: P(D∣T+)=P(T+∣D)P(D)+P(T+∣Dc)P(Dc)P(T+∣D)P(D). (2)
For p=0.5: H=−(0.5log20.5+0.5log20.5)=−(0.5(−1)+0.5(−1))=1 bit. (2)
Q8. (3 marks)
As n→∞, σ/nXˉn−μdN(0,1). (2)
Equivalently Xˉn≈N(μ,σ2/n) for large n, regardless of the underlying distribution (finite variance). (1)
Q10. (4 marks)
CI =xˉ±znσ=50±1.96⋅10010=50±1.96⋅1=50±1.96. (3)
Interval: (48.04,51.96). (1)
[ {"claim":"Q3 Bayes posterior ≈0.1667","code":"num=0.99*0.01; den=num+0.05*0.99; result=abs(num/den-0.16666666666666666)<1e-6"}, {"claim":"Q4 c=1/10, E[X]=3, Var=1","code":"c=Rational(1,10); ks=[1,2,3,4]; EX=sum(k*c*k for k in ks); EX2=sum(k*k*c*k for k in ks); result=(sum(c*k for k in ks)==1) and (EX==3) and (EX2-EX**2==1)"}, {"claim":"Q6 Binomial P(X=2)≈0.2335","code":"from sympy import binomial; p=binomial(10,2)*Rational(3,10)**2*Rational(7,10)**8; result=abs(float(p)-0.233474)<1e-4"}, {"claim":"Q9 Poisson P(X=2)≈0.2240","code":"val=Rational(9,2)*exp(-3); result=abs(float(val)-0.224042)<1e-4"}, {"claim":"Q10 CI is (48.04,51.96)","code":"lo=50-1.96*10/ (100**0.5); hi=50+1.96*10/(100**0.5); result=(abs(lo-48.04)<1e-9) and (abs(hi-51.96)<1e-9)"}]