medrobust 0.3.0
First release adding differential-misclassification robustness and a real-data example.
New features
gesthtnexample 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@reasonand signals amedrobust_infeasiblecondition (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 silentNAendpoints: a non-finite endpoint standard error yields a documentedNACI 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.