Original practice · fully worked
Original variant: nonlinear score from a sample audit
An archive contains 12 chips, of which 4 are flagged and 8 are plain. Three chips are selected uniformly without replacement. If X is the number of flagged chips selected, define the audit score as the product of X and three minus X. Calculate its expected value.
- A
8/11 - B
1 - C
16/11 - D
17/11 - E
2
Answer and calculation
The score is 2 when the sample has one or two flagged chips, and zero when it has none or all three. Those middle compositions have probability 8/11, so the expected score is 16/11 and choice C.
Setup
Setup
The flagged-chip count has a hypergeometric distribution. List how the score changes with that count.
X∼Hypergeometric(12,4,3) R=X(3−X)={0,2,X=0 or 3,X=1 or 2. Model
Model
It is shortest to subtract the two zero-score compositions from one.
Pr(X=0)=(312)(38)=22056 Pr(X=3)=(312)(34)=2204 Pr(X=1 or 2)=1−22060=118 Compute
Compute
Multiply each possible score by its probability.
E[R]=0(113)+2(118) E[R]=1116=1.454545… Answer
Answer
The expected audit score is 16/11.
1116(C)