Package: SurveyNCD
Title: Survey-Weighted Analysis of Self-Reported Health Indicators
Version: 0.2.0
Authors@R: 
    c(person("Sujon", "Mia", email = "sujonsgc@gmail.com",
             role = c("aut", "cre"),
             comment = c(ORCID = "0009-0001-1032-2818")),
      person("Md. Atiqul", "Islam", email = "atique@stat.jnu.ac.bd",
             role = "ctb",
             comment = "Professor & Academic Mentor, Department of Statistics"))
Description: Design-based analysis of population health survey data from the
    World Health Organization (WHO) Stepwise Approach to Non-Communicable
    Disease (NCD) Risk Factor Surveillance (STEPS), Demographic and Health
    Surveys (DHS), Multiple Indicator Cluster Surveys (MICS) and similar
    complex sample surveys, where chronic conditions are self-reported rather
    than coded with the International Classification of Diseases (ICD).
    Provides survey design constructors for DHS, MICS and STEPS microdata;
    design-based prevalence for any binary indicators and groupings; a
    self-reported multimorbidity count based on the Functional Comorbidity
    Index (FCI) of Groll et al. (2005) <doi:10.1016/j.jclinepi.2004.10.018>,
    with condition-pattern analysis, sensitivity bounds for missing answers,
    and direct age standardisation to the WHO World Standard Population;
    standard, generalized, Erreygers and Wagstaff concentration indices with
    design-based standard errors following Kakwani, Wagstaff and van
    Doorslaer (1997) <doi:10.1016/S0304-4076(96)01807-6> and O'Donnell et al.
    (2016) <doi:10.1177/1536867X1601600112>, concentration curves, and slope
    and relative indices of inequality; categorisation of DHS-coded child
    growth z-scores; publication-ready tables and plots. Simulated example
    data with a known population are included. Experimental helpers for
    choropleth maps and case-weighted gradient boosting with SHapley Additive
    exPlanations (SHAP) are also provided.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
VignetteBuilder: knitr
Depends: R (>= 3.5)
Imports: dplyr, ggplot2, magrittr, rlang, stats, survey, tidyr
Suggests: knitr, rmarkdown, sf, srvyr, testthat (>= 3.0.0), xgboost
Config/testthat/edition: 3
URL: https://github.com/StatAid-Research-Lab/SurveyNCD
BugReports: https://github.com/StatAid-Research-Lab/SurveyNCD/issues
Config/roxygen2/version: 8.0.0
RoxygenNote: 7.3.1
NeedsCompilation: no
Packaged: 2026-11-03 04:20:11 UTC; sujon
Author: Sujon Mia [aut, cre] (ORCID: <https://orcid.org/0009-0001-1032-2818>),
  Md. Atiqul Islam [ctb] (Professor & Academic Mentor, Department of
    Statistics)
Maintainer: Sujon Mia <sujonsgc@gmail.com>
Repository: CRAN
Date/Publication: 2026-11-03 09:00:23 UTC
