Man pages for mrc-ide/threemc
(Matt's) Multi-Level Model of Male Circumcision in Sub-Saharan Africa

add_area_idChange 'area_id' from one hierarchy level to another
aggregate_sampleProduce Population Weighted Aggregated Samples
aggregate_sample_age_groupProduce Population Weighted Aggregations for Age Groups
append_mc_nameAppend "mc" to Appropriate Column names
brackifyConvert vector to string
change_agegroup_conventionChange age group convention to match aggregation results
circ_sample_tmbSample TMB fit for Circumcision Model
combine_areasCollect results for lower area hierarchies
compute_quantilesCalculate Quantiles for Rates and Cumulative Hazard
create_aggregate_structureCreate a List containing the Hierarchy of levels
create_design_matricesCreate Design Matrices
create_dirs_rRecursively Create Missing Directories
create_hazard_matrix_agetimeCreate Matrix Selecting Instantaneous Hazard Rate
create_icar_prec_matrixCreate Precision Matrix for ICAR Process
create_integration_matricesCreate Integration Matrices for Selecting Instantaneous...
create_integration_matrix_agetimeCreate Matrix to Estimate Cumulative Hazard Rate
create_integration_matrix_agetime_lagCreate Matrix to Estimate Lagged Cumulative Hazard Rate
create_rw_prec_matrixCreate Precision Matrix for RWp Process
create_shell_datasetCreate Shell Dataset for Estimating Empirical Circumcision...
create_survival_matricesCreate Survival Matrices for Selecting Instantaneous Hazard
datapack_psnu_area_levelPSNU Area Levels for SSA
demo_areasMalawi shapefiles
demo_populationsMalawi populations
demo_survey_circumcisionMalawi surveys
esa_wca_regionsWCA - ESA key for Sub-Saharan African countries
fill_downup_populationsAssume constant historical and future populations
match_age_group_to_agesCreate data frame of all ages within provided age group.
merge_area_infoMerge Regional Information On Dataset
minimise_fit_objMinimise Fit Object Size
n_circumcisedCalculate Number of People Circumcised
normalise_weights_kishNormalise Survey Weights and apply Kish Coefficients
patternsPattern matching for 'data.table'
posterior_summary_funCalculate Summary Statistics From Samples
prepare_sample_dataPull N Circumcision Samples From TMB Fit
prepare_survey_dataPrepare Survey Data
prevalence_changeCalculate Change in Prevalence/Coverage From a Given Year
read_circ_dataFunction to read in Circumcision Data
reassign_surey_levelDefine circumcision type
rmvnorm_sparseprecTake multivariate normal sample from sparse precision matrix
sample_tmbSample from TMB fit
scale_gmrf_precisionScale of GMRF precision matrix
sdreport_joint_precisionGet Joint Precision of TMB Fixed and Random
shell_data_spec_areaSubset and Prepare Shell Dataset to Only One Admin Boundary
split_mmc_design_matrices_paedSplit MMC Design Matrices between adult and paediatric...
spread_areasSpread area hierarchy to wide format
survey_points_dmppt2_convert_conventionCreate data frame of all ages within provided age group....
threemc_aggregateProduce Population Weighted Aggregated Samples for All Area...
threemc_empirical_ratesUse model shell dataset to estimate empirical circumcision...
threemc_fit_modelProduce TMB model fit with sample, or re-sample from existing...
threemc_initial_parsInitialise 'thremec' (hyper)parameters.
threemc_ppcPosterior Predictive Distribution and checks on OOS survey
threemc_ppc2Posterior Predictive Distribution and checks on OOS survey
threemc_prepare_model_dataProduce Data Matrices for Modelling
mrc-ide/threemc documentation built on Feb. 9, 2024, 5:16 p.m.