Skip to content

medrobust 0.3.0

Choose a tag to compare

@Data-Wise Data-Wise released this 14 Jun 18:10
· 62 commits to main since this release
1e200ab

First release adding differential-misclassification robustness and a real-data example.

New features

  • gesthtn example dataset (5,000-row NCHS Natality 2021 sample) + worked-example vignette: partial-identification bounds for a differentially misclassified mediator (gestational hypertension → preterm birth).

Robustness

  • bound_ne() now degrades gracefully — returns NA bounds + machine-readable @reason and signals a medrobust_infeasible condition (instead of aborting) when no compatible parameter sets exist under severe misclassification, so simulation replicates are recorded rather than lost.
  • bound_ci() analytic Imbens–Manski intervals no longer return silent NA endpoints: a non-finite endpoint standard error yields a documented NA CI with a reason. Feasible inputs are numerically unchanged.

Docs

  • Completed pkgdown reference/articles (incl. gesthtn + the new vignette); added the site URL to DESCRIPTION; committed the vignette freeze cache.

Verification: devtools::test() 224/0/1 · R CMD check --as-cran 0E/0W (new-submission NOTE only) · pkgdown builds clean.

Full changelog: see NEWS.md.