Modelled gridded population estimates for the Kasaï-Oriental Province in the Democratic Republic of Congo (2024) version 4.2
收藏资源简介:
Content This repository contains the input data and scripts used to create the modeled gridded population estimates for Kasaï-Oriental Province in the Democratic Republic of Congo. It also includes the grid-cell posterior distributions and scripts to aggregate them within user-defined geographic boundaries. In particular, this repository contains two compressed files (.zip): 1. population_estimates.zip Includes raster files (.tif) with summaries of population count posterior predictions at the grid-cell level, specifically the mean, median, lower credible interval, and upper credible interval. Includes spatial files (.gpkg) with summaries of population count posterior predictions at the health-area and health-zone levels, specifically the mean, median, lower credible interval, and upper credible interval. 2. population_model.zip This directory comprises five subdirectories with scripts, input data, and output data necessary to replicate the population model: 01_model_stan: Contains the Stan model, input data, and an R script (01_model_stan.R) with a function to run the model. 02_model_run: Includes an R script (02_model_run.R) for running the model, along with output data. 03_model_evaluate: Features a Quarto report template (03_model_evaluate.qmd) and model evaluation summary files(.pdf). 04_predict_posterior: Provides R scripts (04_predict_posterior.R and 04_predict_run.R) for generating predictions, along with input and output data, namely the posterior predictions files (.rds). 05_aggregate_posterior: Contains R scripts (05_aggregate_posterior.R and 05_aggregate_run.R) and associated input and output data, namely the population count posterior summaries as presented in the file population_estimates.zip . The work was carried out in R (version 4.4.0), with the packages tidyverse (version 2.0.0), terra (version 1.7-78), sf (version 1.0-16), furrr (version 0.3.1), doParallel (version 1.0.17), foreach (version 1.5.2), rstudioapi (version 0.16.0), and rstan (version 2.32.6), on macOS Sequoia (version 15.1.1). While the scripts are designed to be portable, minor adjustments may be required for compatibility with other operating systems. Important This version includes changes in the STAN model 10h_survey_survey_covariate_building_random_effect_hierarchy_building_covariate_density_fixed_effect_hierarchy_density.stan. Consequentely, all the files generated in the previous versions are now changed. For inquiries regarding the model and the data, please contact Gianluca Boo at gianluca.boo@soton.ac.uk.
本仓库包含用于生成刚果民主共和国开赛东方省(Kasaï-Oriental Province)建模网格化人口估算结果的输入数据与脚本,同时附带网格单元后验分布文件,以及可在用户自定义地理边界内对这些分布进行汇总的相关脚本。 具体而言,本仓库包含两个压缩文件(.zip): 1. population_estimates.zip 该压缩包包含两类文件:其一为栅格文件(.tif),存储网格单元层面的人口计数后验预测统计汇总结果,具体包含均值、中位数、下限可信区间与上限可信区间;其二为空间文件(.gpkg),存储卫生片区与卫生区层面的人口计数后验预测统计汇总结果,同样包含均值、中位数、下限可信区间与上限可信区间。 2. population_model.zip 该目录包含五个子目录,内含复现该人口模型所需的脚本、输入数据与输出数据: 01_model_stan:存放Stan模型、输入数据,以及用于运行该模型的R脚本(01_model_stan.R)。 02_model_run:包含用于运行模型的R脚本(02_model_run.R)及其配套输出数据。 03_model_evaluate:提供Quarto报告模板(03_model_evaluate.qmd)与模型评估汇总文件(.pdf)。 04_predict_posterior:提供用于生成后验预测的R脚本(04_predict_posterior.R与04_predict_run.R),以及配套的输入与输出数据,即后验预测文件(.rds)。 05_aggregate_posterior:包含R脚本(05_aggregate_posterior.R与05_aggregate_run.R)及其配套输入输出数据,即前述population_estimates.zip中所呈现的人口计数后验汇总文件。 本研究基于R语言(版本4.4.0)开展,所用依赖包包括tidyverse(版本2.0.0)、terra(版本1.7-78)、sf(版本1.0-16)、furrr(版本0.3.1)、doParallel(版本1.0.17)、foreach(版本1.5.2)、rstudioapi(版本0.16.0)与rstan(版本2.32.6),运行环境为macOS Sequoia(版本15.1.1)。尽管脚本设计具备可移植性,但在其他操作系统中运行时可能需要进行少量适配调整。 重要说明 本版本对Stan模型`10h_survey_survey_covariate_building_random_effect_hierarchy_building_covariate_density_fixed_effect_hierarchy_density.stan`进行了修改,因此所有此前版本生成的文件均已更新。 若需咨询模型与数据相关问题,请联系Gianluca Boo,邮箱地址为gianluca.boo@soton.ac.uk。



