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.

Package details

AuthorNoah Greifer [aut, cre] (ORCID: <https://orcid.org/0000-0003-3067-7154>), Steven Worthington [aut] (ORCID: <https://orcid.org/0000-0001-9550-5797>), Stefano Iacus [aut] (ORCID: <https://orcid.org/0000-0002-4884-0047>), Gary King [aut] (ORCID: <https://orcid.org/0000-0002-5327-7631>)
MaintainerNoah Greifer <ngreifer@iq.harvard.edu>
LicenseGPL (>= 3)
Version0.2.2
URL https://github.com/iqss/clarify https://iqss.github.io/clarify/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("clarify")

Try the clarify package in your browser

Any scripts or data that you put into this service are public.

clarify documentation built on Nov. 5, 2025, 5:50 p.m.