How norc-uchicago/mends works
This repository is an annotated SAS/R analytics workflow for producing weighted MENDS chronic-disease estimates, currently including hypertension indicators. Its principal workflow runs from EHR-file preparation through weighting and estimation, with direct and modeled small-area estimates and a suppression/export stage. The tree identifies these distinct stages and geographic levels; no source excerpts were provided, so inter-stage links are shown as unverified rather than asserted calls. The README documents the overall purpose and geographic scope, but not detailed runtime connections.
Main entry points: 2_2_Weighting_national.sas National weighting · 2_2_Weighting_state.sas State weighting · 2_1_Raking_macros.sas Raking macros · 3_2_estimates.sas Indicator estimates
Components 13
Reference inputs
- Population totals
0_Control_Totals - Geographic crosswalks
0_Crosswalks
Data preparation
- EHR preparation
1_Data_Preparation/1_0_quickstart_MENDS_create_ehr_files.sas
Weighting
- Raking macros
2_Weighting/2_1_Raking_macros.sas - National weighting
2_Weighting/2_2_Weighting_national.sas - State weighting
2_Weighting/2_2_Weighting_state.sas
Estimation
- Estimate exclusions
3_Estimation/3_1_exclusions.sas - Indicator estimates
3_Estimation/3_2_estimates.sas - Direct estimates
4_SAE_estimates/County_Direct_Estimates.sas - Small-area models
4_SAE_estimates
Suppression and export
- Suppression export
5_Suppression/4_0_quickstart_MENDS_suppression_export.sas - Report creation
5_Suppression/4_1_Create_report.sas
Other components
- MENDS analyst
Connections 16
- MENDS analyst → EHR preparation: runs workflow
- EHR preparation → Raking macros: prepares weighting
- Population totals → National weighting: calibrates to
- Population totals → State weighting: calibrates to
- Geographic crosswalks → National weighting: supports geography
- Geographic crosswalks → State weighting: supports geography
- Raking macros → National weighting: used by
- Raking macros → State weighting: used by
- National weighting → Estimate exclusions: feeds estimates
- State weighting → Estimate exclusions: feeds estimates
- Estimate exclusions → Indicator estimates: filters records
- Indicator estimates → Direct estimates: supports small areas
- Indicator estimates → Small-area models: supports modeling
- Direct estimates → Suppression export: prepared for export
- Small-area models → Suppression export: prepared for export
- Suppression export → Report creation: creates report