This repository contains R and Stata code to apply the methods of the paper:
Moreno-Betancur M, Koplin J, Ponsonby A-L, Lynch J, Carlin J. Measuring the impact of differences in risk factor distributions on cross-population differences in disease occurrence: A causal approach. International Journal of Epidemiology [Epub ahead of print 18 Sept 2017].