Any queries please contact:
Daniel Myall [email protected]
New Zealand Brain Research Institute
The data used in this research can not be released as it contains identifiable information. However, the code fully documents the methodology used in the analysis. If you are interested in a fake dataset please let me know.
A lot of this code is specific to our particular data sources.
Processes hospital admissions and mortality data to extract diagnoses
Combine diagnoses from multiple sources
Reads raw prescription data, basic processing, saves into a database, export into format for drug-based classification.
Classifies individuals as very probable, probable, possible, or unlikely.
Requires R http://www.r-project.org/ and Stan http://www.mc-stan.org/
Stan model: R/pd_epi_model_ethnicity_v2.stan
Contained in directory input loaded by R/model-base.R