54720312
A finite population has the values \(4,7,9,12,15,18,22,26,31\). A simple random sample of \(5\) distinct values is selected.
Describe a simulation to estimate the probability that the sample median exceeds \(15\). State exactly what must be generated and how a trial is classified.
Hints
- A simple random sample must not select the same population member twice.
- For an odd sample size, identify which ordered position is the median.
- Define one unambiguous success indicator before repeating the trial.
Solution
1. Randomly select \(5\) distinct population labels from the \(9\), so every five-element subset is equally likely.
2. Sort the five selected values and identify the third value, which is the sample median.
3. Record a success when that third value is greater than \(15\).
4. Repeat many trials and use the successful-trial proportion as the estimate.
Answer
Select \(5\) distinct values uniformly, sort them, and record a success when the third value exceeds \(15\). The long-run success proportion estimates the probability.
