Package: clarify 0.2.3
clarify: Simulation-Based Inference for Regression Models
Performs simulation-based inference as an alternative to the delta method for obtaining valid confidence intervals and p-values for regression post-estimation quantities, such as average marginal effects and predictions at representative values. This framework for simulation-based inference is especially useful when the resulting quantity is not normally distributed and the delta method approximation fails. The methodology is described in Greifer, et al. (2025) <doi:10.32614/RJ-2024-015>. 'clarify' is meant to replace some of the functionality of the archived package 'Zelig'; see the vignette "Translating Zelig to clarify" for replicating this functionality.
Authors:
clarify_0.2.3.tar.gz
clarify_0.2.3.tar.gz(r-4.7-any)clarify_0.2.3.tar.gz(r-4.6-any)
clarify_0.2.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
clarify/json (API)
NEWS
| # Install 'clarify' in R: |
| install.packages('clarify', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/iqss/clarify/issues
Pkgdown/docs site:https://iqss.github.io
Last updated from:7352bc7993. Checks:3 OK, 1 ERROR. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 215 | ||
| source / vignettes | OK | 357 | ||
| linux-release-x86_64 | ERROR | 331 | ||
| wasm-release | OK | 155 |
Exports:misimsimsim_adrfsim_amesim_applysim_setx
Dependencies:argbackportscheckmateclicpp11data.tablefarverFormulagenericsggplot2gluegtableinsightisobandlabelinglifecyclemarginaleffectspbapplyR6RColorBrewerrlangS7scalesvctrsviridisLitewithr
clarify: Simulation-Based Inference for Regression Models
Rendered fromclarify.Rmdusingknitr::rmarkdown_notangleon Jun 08 2026.Last update: 2026-06-08
Started: 2023-01-25
Translating Zelig to clarify
Rendered fromZelig.Rmdusingknitr::rmarkdown_notangleon Jun 08 2026.Last update: 2026-06-08
Started: 2023-01-25
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Simulate model coefficients after multiple imputation | misim |
| Plot marginal predictions from 'sim_adrf()' | plot.clarify_adrf |
| Plotting and inference for 'clarify_est' objects | confint.clarify_est plot.clarify_est summary.clarify_est |
| Plot marginal predictions from 'sim_setx()' | plot.clarify_setx |
| Simulate model parameters | sim |
| Compute an average dose-response function | print.clarify_adrf sim_adrf |
| Compute average marginal effects | print.clarify_ame sim_ame |
| Apply a function to simulated parameter values | print.clarify_est sim_apply |
| Compute predictions and first differences at set values | print.clarify_setx sim_setx |
| Transform and combine <clarify_est> objects | cbind.clarify_est transform.clarify_est |
