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.
| Version: | 0.2.2 | 
| Depends: | R (≥ 4.1.0) | 
| Imports: | ggplot2 (≥ 3.5.0), pbapply (≥ 1.7-4), chk (≥ 0.10.0), rlang (≥ 1.1.6), insight (≥ 1.4.2), marginaleffects (≥ 0.30.0) | 
| Suggests: | testthat (≥ 3.0.0), withr, MatchIt (≥ 4.0.0), parallel, knitr, rmarkdown, Amelia, MASS, betareg, survey, estimatr, fixest, logistf, geepack, rms, robustbase, robust, AER, ivreg, mgcv, sandwich, WeightIt (≥ 1.3.2) | 
| Published: | 2025-09-19 | 
| DOI: | 10.32614/CRAN.package.clarify | 
| Author: | Noah Greifer  [aut, cre],
  Steven Worthington  [aut],
  Stefano Iacus  [aut],
  Gary King  [aut] | 
| Maintainer: | Noah Greifer  <ngreifer at iq.harvard.edu> | 
| BugReports: | https://github.com/iqss/clarify/issues | 
| License: | GPL (≥ 3) | 
| URL: | https://github.com/iqss/clarify, https://iqss.github.io/clarify/ | 
| NeedsCompilation: | no | 
| Citation: | clarify citation info | 
| Materials: | README, NEWS | 
| CRAN checks: | clarify results |