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 King, Tomz, and Wittenberg (2000) <doi:10.2307/2669316>. '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.1
Depends: R (≥ 3.5.0)
Imports: ggplot2 (≥ 3.4.0), pbapply (≥ 1.7-0), chk (≥ 0.9.0), rlang (≥ 1.0.6), insight (≥ 0.19.11), marginaleffects (≥ 0.20.0), mvnfast (≥ 0.2.6)
Suggests: testthat (≥ 3.0.0), MatchIt (≥ 4.0.0), parallel, knitr, rmarkdown, Amelia, MASS, betareg, survey, estimatr, fixest, logistf, geepack, rms, robustbase, robust, AER, ivreg, mgcv, sandwich
Published: 2024-05-30
DOI: 10.32614/CRAN.package.clarify
Author: Noah Greifer ORCID iD [aut, cre], Steven Worthington ORCID iD [aut], Stefano Iacus ORCID iD [aut], Gary King ORCID iD [aut]
Maintainer: Noah Greifer <ngreifer at>
License: GPL (≥ 3)
NeedsCompilation: no
Materials: README NEWS
CRAN checks: clarify results


Reference manual: clarify.pdf
Vignettes: Translating Zelig to clarify


Package source: clarify_0.2.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): clarify_0.2.1.tgz, r-oldrel (arm64): clarify_0.2.1.tgz, r-release (x86_64): clarify_0.2.1.tgz, r-oldrel (x86_64): clarify_0.2.1.tgz
Old sources: clarify archive

Reverse dependencies:

Reverse suggests: marginaleffects


Please use the canonical form to link to this page.