How mostafa-abbas/indepassoc works
IndepAssoc is an R package for assessing whether an exposure–outcome association persists across five confounder-adjusted methods. Its documented workflow starts with a cohort and analysis specification, runs regression, matching, stratification, IPTW, and AIPW, and returns estimates alongside automatic propensity-score positivity and balance diagnostics; users can format the comparison for publication. The README also documents plotting and subgroup-analysis capabilities, represented as separate branches. No source excerpts were supplied, so edges are limited to relationships stated in the README; paths identify implementation files by the repository tree.
Main entry points: pipeline.R Analysis pipeline · balance.R Balance check · match.R Matching · ps_model.R Propensity model
Components 18
Association analysis
- Analysis pipeline
R/pipeline.R - Regression
R/fit_outcome.R - Matching
R/match.R - Stratification
R/fit_outcome.R - IPTW
R/fit_outcome.R - AIPW
R/fit_outcome.R - Propensity model
R/ps_model.R - Method estimates
R/outcome.R
Model diagnostics
- Positivity check
R/positivity.R - Balance check
R/balance.R - Balance plot
R/plot_asmd_balance.R
Results and reporting
- Comparison plot
R/plot_comparison.R - Comparison table
R/format.R - Result tables
R/tables.R - Matched table
R/tables_matched.R
Additional analyses
- Subgroup analysis
R/subgroup.R
Other components
- Analyst
- Analysis cohort
Connections 19
- Analyst → Analysis pipeline: specifies analysis
README.md - Analysis cohort → Analysis pipeline: provides data
README.md - Analysis pipeline → Regression: runs method
README.md - Analysis pipeline → Matching: runs method
README.md - Analysis pipeline → Stratification: runs method
README.md - Analysis pipeline → IPTW: runs method
README.md - Analysis pipeline → AIPW: runs method
README.md - Analysis pipeline → Method estimates: returns estimates
README.md - Analysis pipeline → Propensity model: returns model
README.md - Analysis pipeline → Positivity check: computes diagnostic
README.md - Analysis pipeline → Balance check: computes diagnostic
README.md - Matching → Balance check: checks matched data
README.md - Propensity model → Positivity check: checks positivity
README.md - Balance check → Balance plot: plots balance
README.md - Method estimates → Comparison table: formats comparison
README.md - Analyst → Comparison plot: requests plot
- Analyst → Result tables: requests tables
- Analyst → Matched table: requests table
- Analyst → Subgroup analysis: requests analysis