Package: SurveyNCD 0.1.0

Sujon Mia

SurveyNCD: Tools for Self-Reported Health Indicators in Complex Surveys

Provides tools for analysing population health survey data (WHO STEPS, DHS, MICS, and similar complex sample surveys), where chronic conditions are self-reported rather than ICD-coded and estimates must account for stratification, clustering, and sampling weights. Includes a self-reported multimorbidity index based on the Functional Comorbidity Index (Groll et al., 2005, <doi:10.1016/j.jclinepi.2004.10.018>), design-weighted population prevalence estimation via the 'survey' package, a survey-weighted concentration index for health inequality analysis, a DHS anthropometric z-score categoriser, a choropleth mapping helper, and exploratory survey-weighted gradient boosting (via 'xgboost') with SHAP-based explainability. The gradient boosting component applies case weights but does not yet propagate cluster and strata design effects into variance estimates; it should be treated as exploratory rather than as design-based inference.

Authors:Sujon Mia [aut, cre]

SurveyNCD_0.1.0.tar.gz
SurveyNCD_0.1.0.zip(r-4.7-any)SurveyNCD_0.1.0.zip(r-4.6-any)SurveyNCD_0.1.0.zip(r-4.5-any)
SurveyNCD_0.1.0.tgz(r-4.6-any)SurveyNCD_0.1.0.tgz(r-4.5-any)
SurveyNCD_0.1.0.tar.gz(r-4.7-any)SurveyNCD_0.1.0.tar.gz(r-4.6-any)
SurveyNCD_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
SurveyNCD/json (API)

# Install 'SurveyNCD' in R:
install.packages('SurveyNCD', repos = c('https://stataid-research-lab.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/stataid-research-lab/surveyncd/issues

On CRAN:

Conda:

biostatisticsdhsepidemiologyncdpublic-healthr-programmingsurveywho-steps

4.60 score 320 downloads 11 exports 39 dependencies

Last updated from:94fd241551. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK156
source / vignettesOK310
linux-releaseOK154
macos-releaseOK150
macos-oldrelOK126
windows-develOK119
windows-releaseOK99
windows-oldrelOK123
wasm-releaseOK138

Exports:%>%fci_itemsmm_prevalencemultimorbidity_indexplot_shap_summaryrecode_binarysurvey_concentration_indexsurvey_map_indicatorsurvey_shapsurvey_xgboostwho_anthro_score

Dependencies:clicpp11DBIdplyrfarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMatrixminqamitoolsnumDerivpillarpkgconfigpurrrR6RColorBrewerRcppRcppArmadillorlangS7scalesstringistringrsurveysurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr

Calculating Health Inequality in Complex Surveys
Introduction | Setup and Package Loading | Phase 1: Cleaning Anthropometric Data | Phase 2: Specifying the Complex Survey Design | Phase 3: Calculating the Concentration Index | Interpretation

Last update: 2026-07-04
Started: 2026-06-21

Geospatial Mapping of Health Inequalities
Introduction | Setup and Package Loading | The Universal Mapping Workflow | 1. Preparing the Data | 2. Generating the Spatial Plot | Interpretation

Last update: 2026-07-04
Started: 2026-06-21