R: Estimating Subnational Public and Private Contraceptive Supply Shares Over Time

# Estimating Subnational Public and Private Contraceptive Supply Shares Over Time

## Documentation for package ‘mcmsector’ version 1.0.2

- DESCRIPTION file.

## Help Pages

add_index_variables | Create index variables for subnational modelling
build_jags_inputs | Build JAGS metadata objects
build_spline_basis | Build a B-spline basis for each subnational area
clean_fp_source_data | Clean Subnational Family Planning Source Data
compute_T_star | Compute T* (last observed year per subnational area)
Country_classification | The Country and area classification according to the United Nations Standaistical Division, Standard country or area codes for statistical use (M49). Adapted for use in FP2030 by the Track20 project. A subset of data from the United Nations country classifications
country_codes_DHS | Country Codes for DHS Surveys
DEFT_DHS_database | DEFT_DHS_database A database of the design effects for some of the DHS surveys in the national and subnational datasets. Due to due to multistage and clustering of the DHS sample, the average standard error is increased by a design effect (DEFT) factor over that in an equivalent simple random sample.
extract_mcmsector_params | Extract alpha_pms and beta.k MCMC samples from a JAGS model object
fix_region_names | Harmonise Region Names for Selected Countries
run_preprocessing_pipeline | High-level preprocessing pipeline
simulate_posterior_proportions | Simulate posterior public/private proportions from alpha and beta parameters
standardize_country_names | Standardise country names and attach super-region classification
subnat_bivar_data | DHS survey observations for the proportion of modern contraceptives supplied by the public and private sectors at the subnational level
summarise_posterior_proportions | Summarise posterior probability samples into mean and quantiles