Chapter 15 Simulation

15.1 Simulation of discrete probability models

15.1.1 How many girls in 400 births?

15.1.2 Accounting for twins

15.2 Simulation of continuous and mixed discrete/continuous models

15.2.1 Simulation in R using custom-made functions

15.3 Summarizing a set of simulations using median and median absolute deviation

15.4 Bootstrapping to simulate a sampling distribution

15.4.1 Choices in defining the bootstrap distribution

15.4.1.1 Time series

15.4.1.2 Multilevel structure

15.4.1.3 Discrete data

15.4.2 Limitations of bootstrapping

15.5 Fake-data simulation as a way of life