A reproducible simulation design
Specify, implement, test, run and interpret the model
- Repeated unit One trial is the complete experiment needed to decide the event
- Random mechanism Map equally likely codes to the required probabilities; model conditional state changes
- Implementation Use fresh random choices; reset only when the experiment says to
- Validation Use exact small-case enumeration and deterministic fixtures before interpreting random runs
- Interpretation The number of successes divided by the number of trials gives an estimate; a larger run is not guaranteed closer
Worked example
For two independent selections with Pr(A)=2/5, design and validate a simulation of exactly one A.
- \(\displaystyle \Pr(\text{exactly one A})=\frac{12}{25}\)Map four of ten digits to A; take two independent digits per complete trial
- \(\displaystyle \#\text{successful digit pairs}=4\cdot6+6\cdot4=48\)Exhaustive verification over 100 equally likely ordered pairs agrees with 48/100=12/25.
- \(\displaystyle \widehat p=\frac{s}{N}\)After validation, generate and retain actual random runs; the deterministic fixture is not random evidence
Common mistakes
Difficulty levels
Questions about this topic
Does selecting a valid design prove I can implement it?+
No. The separate ungraded task requires your actual code or spreadsheet, tests, retained inputs and written explanation
Can a simulation prove the real process is independent?+
No. Independence is part of the simulated model and requires separate justification for the real process
Can I use a calculator?+
No. This topic is practised without a calculator
Which year level and chapter is this?+
Year 11, VCE Units 1 & 2, Specialist Mathematics, chapter 6: Random variables and sampling