Summary
The simulations shown in this chapter are of two different kinds: model-based simulation and design-based simulation. Model-based simulations simulate data from a certain (super-population) model. We saw that model-based simulations are easy to set-up. The aim is to always know true parameters – here, from the model that simulates random distributions of interest. The estimation is applied to each of the simulated data and compared with the true parameter values.
Design-based simulation studies differ in that sense that the sampling design must be incorporated. This is why we firstly showed how to simulate a finite population from where samples can be drawn. Whenever data sets are sampled with simple random sampling, there is no need for design-based simulations.
We also showed the efficient use of package simFrame
. The examples showed that the framework allows researchers to make use of a wide range of simulation designs with only a few lines of code. In order to switch from one simulation...