Estimate a Bernoulli probability and work back from it
Unit 3 Topic 5: Discrete random variables
The question
A factory tests phone screens. Each screen is recorded as 1 if it has a defect and 0 if it does not.
The results for a random sample of 40 screens are shown.
| 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
|---|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
| 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
Let \(X=1\) if a randomly chosen screen from the factory has a defect and \(X=0\) if it does not.
- (a) Use the sample to estimate \(p=P(X=1)\). [1 mark]
- (b) Use your estimate to determine the mean and standard deviation of \(X\). [2 marks]
- (c) A second factory makes screens for which the standard deviation of \(X\) is 0.25. The probability that one of its screens has a defect is less than 0.5. Use technology to determine this probability, correct to three decimal places. [2 marks]
The idea. The sample proportion estimates \(p\). For a Bernoulli variable the standard deviation is \(\sqrt{p(1 - p)}\), so a given standard deviation gives a quadratic in \(p\) with two roots, and the question tells you which to keep.
The answer, one mark at a time
-
Part (a)
Count the 1s in the table: there are 6 defects out of 40 screens. The sample proportion is your estimate of \(p\).
\[\text{Defects: } 1 + 2 + 1 + 2 = 6\]\[p \approx \frac{6}{40} = 0.15\]determines the estimate [1 mark]
-
Part (b)
\(X\) is Bernoulli, so its mean is \(p\).
\[E(X) = p = 0.15\]determines the mean [1 mark]
-
The variance is \(p(1 - p)\), and the standard deviation is its square root.
\[\sigma = \sqrt{p(1 - p)} = \sqrt{0.15 \times 0.85}\]\[\sigma = \sqrt{0.1275} \approx 0.36\]determines the standard deviation [1 mark]
-
Part (c)
Set the Bernoulli standard deviation equal to 0.25, then square both sides to get an equation for \(p\).
\[\sqrt{p(1 - p)} = 0.25\]\[p(1 - p) = 0.0625\]forms an equation for \(p\) [1 mark]
-
Solve this with your calculator's solver. It gives two values. The defect probability is less than 0.5, so keep the smaller one.
\[p^{2} - p + 0.0625 = 0\]\[p \approx 0.067 \quad\text{or}\quad p \approx 0.933\]\[p < 0.5 \Rightarrow p = 0.067\]determines the probability, rejecting the solution above 0.5 [1 mark]
Answer
Watch for. In part (c), don't leave both roots. The question says the probability is less than 0.5, so you must reject 0.933.