First published online: 14 December 2018, Int J Epidemiol 2019; 48: 640–53. doi: https://doi.org/10.1093/ije/dyy275
The title of Box 1 should have referred to Figure 2A instead of Figure 1A (“Box 1. To generate data consistent with Figure 2A”); the title of Box 2 should have referred to Figure 2B instead of Figure 1B (“Box 2. To generate data consistent with Figure 2B”). Further, the code in Box 2 required several changes.
The article has been corrected.
