A Bayesian Approach to Developing a Stochastic Mortality Model for China
Johnny S.-H. Li, Kenneth Q. Zhou, Xiaobai Zhu, Wai-Sum Chan, and Felix Wai-Hon Chan

Description of the data and code files:

The 'Data.csv' file contains the Chinese male mortality data (central death rate) from year 1981 to 2014 and age 0 to 99. Missing values are recorded as 'NaN'.

The "Code.m" file is the MATLAB code (written in MATLAB version R2016b) for the MCMC estimation of the proposed Bayesian mortality model. A number of options regarding the proposed adaptations and sampling specifications can be selected or modified in the first section of the code. The default setting implements all of the proposed adaptations in the same way as it is described in the paper. Figures will be produced automatically.