Simulating sample proportions and intervals
Key skillsSimulate repeated samples at several population proportions and sample sizes, interpreting sample-proportion distributions and confidence-interval variation.
Build the idea
Repeated sampling makes the distribution of a statistic visible. Keep the population proportion fixed for a run while generating many independent samples of the same size, then change one parameter at a time. Store proportions and interval endpoints for each sample. Compare observed patterns with theoretical mean and spread, while allowing for variation in the simulation itself.
Try the sample task
Design and implement 200 independent samples for each combination p=0.3 or 0.6 and n=100 or 400. Give a spreadsheet or pseudocode procedure that records each proportion and its approximate 95% interval.
The full worksheet includes the worked solution and remaining task set.
What this activity covers
Focused on an implementable repeated-sampling experiment. Expected values are theoretical, and students must record their own actual simulation outputs.