Skip to contents

All functions

Bspline_sigma_matrix_median
The median estimate for the national-level variance-covariance matrix of the delta.k terms in the multi-country national model. This array is used to inform the Wishart prior of the single-country national model.
Country_and_area_classification
Track20 Country and area classification according to the United Nations A subset of data from the United Nations country classifications
country_names
The names of the countries with national and subnational administration level data stored
estimated_global_subnational_correlations
The estimated subnational-level correlations between the rates of change in methods
estimated_national_correlations
The estimated national-level correlations between the rates of change in methods
get_data()
Wrapper function that retrieves the DHS data used for modelling the proportion of modern contraceptives supplied by the public and private sectors at the national and subnational administration levels.
get_modelinputs()
Get JAGS model inputs
median_alpha_region_intercepts
The median estimates of the national-level sub-continental, sector-, method-specific intercepts in the multi-country national model. This array is used to inform the Normal prior of the country-level intercept in the single-country national model.
median_alphacms
The median estimates of the subnational-level country, sector-, method-specific intercepts in the multi-country subnational model. This array is used to inform the Normal prior of the subnational-level intercept in the single-country subnational model.
national_FPsource_data
DHS survey observations for the proportion of modern contraceptives supplied by the public and private sectors at the national level
national_FPsource_format
A checklist for ensuring national-level custom data is appropriate to be used for estimation
plot_estimates()
Wrapper function to plot the JAGS estimates
precision_alpha_country_intercepts
The median estimates of the precision for the national-level country, sector-, method-specific intercepts in the multi-country national model. This vector is used to inform the precision in the Normal prior of the national-level intercept in single-country national models.
run_jags_model()
Wrapper function to run the jags model for estimating the proportion of modern contraceptive methods supplied by the public & private Sectors using a Bayesian hierarchical penalized spline model for the national and subnational administration levels
sigma_delta_hat
The median estimate for the subnational-level variance-covariance matrix of the delta.k terms in the multi-country subnational model. This array is used to inform the Wishart prior of the single-country subnational model.
subnat_FPsource_data
DHS survey observations for the proportion of modern contraceptives supplied by the public and private sectors at the subnational administration level.
subnat_FPsource_format
A checklist for ensuring subnational-level custom data is appropriate to be used for estimation
tau_alpha_pms_hat
The median estimates of the precision for the subnational-level country, sector-, method-specific intercepts in the multi-country subnational model. This vector is used to inform the precision in the Normal prior of the subnational-level intercept in single-country subnational models.
trunc_national_FPsource_data
A small sample dataset of four countries for illustration purposes. Countries included are Benin, Sierra Leone, Madagascar, and Zimbabwe. DHS survey observations for the proportion of modern contraceptives supplied by the public and private sectors at the national level
trunc_subnat_FPsource_data
A small sample data set of four countries for illustration purposes. Countries included are Benin, Sierra Leone, Madagascar, and Zimbabwe. DHS survey observations for the proportion of modern contraceptives supplied by the public and private sectors at the subnational administration level.