Simulating hierarchical data to assess the utility of ecological versus multilevel analyses in obtaining individual-level causal effects
Authors:
- Lydia KakampakouLKLydia Kakampakou
- Jonathan StokesJSJonathan Stokes
- Andreas HoehnAHAndreas Hoehn
- Marc de KampsMKMarc de Kamps
- Wiktoria LawniczakWLWiktoria Lawniczak
- Kellyn F. ArnoldKAKellyn F. Arnold
- Elizabeth M. A. HensorEHElizabeth M. A. Hensor
- Alison J. HeppenstallAHAlison J. Heppenstall
- Mark S. GilthorpeMGMark S. Gilthorpe
Open Access
- 22 March 2025
- journal article
- research article
- Published by Springer Nature in BMC Medical Research Methodology
- Vol. 25 (1) , 1-23
Abstract
Understanding causality, over mere association, is vital for researchers wishing to inform policy and decision making – for example, when seeking to improve population health outcomes. Yet, contemporary causal inference methods have not fully tackled the complexity of data hierarchies, such as the clustering of people within households, neighbourhoods, cities, or regions. However, complex data hierarchies are the rule rather than the exception. Gaining an understanding of these hierarchies is important for complex population outcomes, such as non-communicable disease, which is impacted by various social determinants at different levels of the data hierarchy. The alternative of analysing aggregated data could introduce well-known biases, such as the ecological fallacy or the modifiable areal unit problem. We devise a hierarchical causal diagram that encodes the multilevel data generating mechanism anticipated when evaluating non-communicable diseases in a population. The causal diagram informs data simulation. We also provide a flexible tool to generate synthetic population data that captures all multilevel causal structures, including a cross-level effect due to cluster size. For the very first time, we can then quantify the ecological fallacy within a formal causal framework to show that individual-level data are essential to assess causal relationships that affect the individual. This study also illustrates the importance of causally structured synthetic data for use with other methods, such as Agent Based Modelling or Microsimulation Modelling. Many methodological challenges remain for robust causal evaluation of multilevel data, but this study provides a foundation to investigate these.Keywords
Funding Information
- Alan Turing Institute (EP/N510129/1, EP/N510129/1, EP/N510129/1, EP/N510129/1, EP/N510129/1)
- UKPRP (MR/S037578/2, MR/S037578/2, MR/S037578/2)
- MRC (MC\UU\00022/5, MC\UU\00022/5, MC\UU\00022/5)
- Chief Scientist Office, Scottish Government Health and Social Care Directorate (SPHSU20, SPHSU20, SPHSU20)
- UK Research and Innovation (EP/T001569/1)
- Economic and Social Research Council (ES/L011921/1)
This publication has 52 references indexed in Scilit:
- Tutorial on directed acyclic graphsJournal of Clinical Epidemiology, 2022
- Joint mixed‐effects models for causal inference with longitudinal dataStatistics in Medicine, 2017
- A research on effectiveness of Facebook advertising on enhancing purchase intention of consumersComputers in Human Behavior, 2015
- Agent-Based Models of Geographical Systems2012
- The algorithmization of counterfactualsAnnals of Mathematics and Artificial Intelligence, 2011
- Modelling count data with excessive zeros: The need for class prediction in zero‐inflated models and the issue of data generation in choosing between zero‐inflated and generic mixture models for dental caries dataStatistics in Medicine, 2009
- From place-based to people-based exposure measuresSocial Science & Medicine, 2009
- Foresight: Tackling Obesities: Future Choices - Building the Obesity System Map2007
- Multilevel modelling of medical dataStatistics in Medicine, 2002
- Spatial pattern and ecological analysisPlant Ecology, 1989