Replication code for: Contextual threat perceptions and the prevalence and incidence of chronic disease among older immigrants across 24 European countries

Published: 14 August 2026| Version 2 | DOI: 10.17632/wwzzns6cft.2
Contributors:
Heejo Lee,

Description

This repository contains the Stata replication code for the article "Contextual threat perceptions and the prevalence and incidence of chronic disease among older immigrants across 24 European countries". The study links country-level measures of overall, realistic, and symbolic threat perceptions derived from the European Social Survey (ESS Rounds 2-10) to individual-level health data from the Survey of Health, Ageing and Retirement in Europe (SHARE Waves 1-9) and the English Longitudinal Study of Ageing (ELSA), covering the period 2004-2022. The code estimates clustered logistic regression models for chronic disease prevalence and Weibull survival models for disease incidence among older immigrants. The archive includes a master do-file (0_master.do), five data preparation files, the main analysis file (6_Analysis.do, organized into sections mapped to each table in the manuscript), a supplementary analysis file for the foreign-born population share (7_ForeignBornShare_SupplementA.do), and a README with detailed instructions. No survey data are included in this repository. SHARE, ELSA, and ESS data are publicly available to registered researchers from the original data providers, whose conditions of use prevent redistribution. See the README for data access details.

Files

Steps to reproduce

Obtain the original data after registration: Harmonized SHARE (Gateway to Global Aging, GH_SHARE_g) from https://g2aging.org and https://share-eric.eu; Harmonized ELSA (h_elsa_g2 and gh_elsa_h), distributed via the UK Data Service (SN 5050); European Social Survey Rounds 2-10 from https://www.europeansocialsurvey.org; and OECD foreign-born population share data (OECD International Migration Statistics). Create a project folder with the subfolders described in README.txt (ogdata, moddata, tables, code, graphs, logs) and place the data files under ogdata/SHARE, ogdata/ELSA, and ogdata/ESS. Open 0_master.do in Stata (version 18 was used) and set the global path "storage" to the project root. Run 0_master.do. It executes the pipeline in order: SHARE preparation (1), ELSA preparation (2-3), appending SHARE and ELSA (4), ESS appending (5), the main analyses (6), and the supplementary foreign-born share analysis (7). Model estimates are written to log files in the logs folder and formatted descriptive tables to the tables folder. Section headers in 6_Analysis.do (S1-S6) indicate which manuscript table each block produces.

Institutions

Categories

Public Health, Immigrant, Older Adult, Health Outcomes

Licence