CEDMr: Capability-Ecological Developmental Model (CEDM) Analysis

Implements the Capability-Ecological Developmental Model (CEDM) for longitudinal and multilevel data. The package supports estimation and interpretation of models examining how socioeconomic status (SES), health indicators, and contextual factors jointly relate to academic outcomes. Functionality includes: (1) classification of ecological capability regimes (amplifying, neutral, compensatory); (2) estimation of moderated multilevel models with higher-order interaction terms; (3) causal mediation analysis using doubly robust estimation; (4) random-effects within-between (REWB) decomposition; (5) nonlinear moderation using restricted cubic splines; (6) clustering of longitudinal health trajectories; and (7) sensitivity analysis using the impact threshold for a confounding variable (ITCV) and robustness-to-replacement (RIR) measures. The package is designed for use with general longitudinal multilevel datasets.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: dplyr (≥ 1.1.0), ggplot2 (≥ 3.4.0), lme4 (≥ 1.1-31), magrittr (≥ 2.0.0), mediation (≥ 4.5.0), rlang (≥ 1.1.0), rms (≥ 6.7-0), stats, tidyr (≥ 1.3.0)
Suggests: cluster (≥ 2.1.4), konfound (≥ 0.4.0), mice (≥ 3.16.0), testthat (≥ 3.0.0)
Published: 2026-04-08
DOI: 10.32614/CRAN.package.CEDMr (may not be active yet)
Author: Subir Hait ORCID iD [aut, cre]
Maintainer: Subir Hait <haitsubi at msu.edu>
BugReports: https://github.com/causalfragility-lab/CEDMr/issues
License: MIT + file LICENSE
URL: https://github.com/causalfragility-lab/CEDMr
NeedsCompilation: no
Language: en-US
Materials: README
CRAN checks: CEDMr results

Documentation:

Reference manual: CEDMr.html , CEDMr.pdf

Downloads:

Package source: CEDMr_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=CEDMr to link to this page.