Abstract
This is the SAS statistical code used in Teng, A., McLeod, M., & Crengle, S. (2026). Is ethnicity an independent predictor of health need? Linked cohort logistic regression analysis to predict amenable mortality. New Zealand Medical Journal, 139(1628), 22–33. https://doi.org/10.26635/6965.7002
This record includes two SAS programs written by Andrea Teng for use in the Statistics New Zealand Integrated Data Infrastructure (IDI). The code was run on a historic refresh and may need to be updated to run in subsequent IDI refresh. All records have been checked via output checking process.
This code is not official statistics. It has been created for research purposes in the IDI which is carefully managed by Stats NZ. For more information about the IDI please visit https://www.stats.govt.nz/integrated-data/.