Multilevel Workshop

Author

Andrew Grogan-Kaylor

Published

May 5, 2025

1 Introduction

This site contains materials for a workshop on multilevel modeling.

1.1 Background

Multilevel models are useful when you have data that are nested or clustered inside social units such as schools, neighborhoods, states, or countries.

Multilevel models are also useful when you have longitudinal data where repeated measures are collected for study participants.

1.2 Simulated Multilevel Data

The data used in these workshop materials are simulated data on parents, children and families. The data are simulated to come from 30 hypothetical countries around the world.

There are two versions of the data: a cross-sectional data set from a single point in time; a longitudinal version of the data spanning several time points.

Figure 1.1: Countries of the World
pos variable label
1 country country id
2 HDI Human Development Index
3 family family id
4 id unique country family id
5 identity hypothetical identity group variable
6 intervention recieved intervention
7 physical_punishment physical punishment in past week
8 warmth parental warmth in past week
9 outcome beneficial outcome
Figure 1.2: Simulated Multilevel Data