Package: clarify
Type: Package
Title: Simulation-Based Inference for Regression Models
Version: 0.2.3
Authors@R: c(
  person("Noah", "Greifer", role = c("aut", "cre"), 
         email = "ngreifer@iq.harvard.edu",
	       comment = c(ORCID="0000-0003-3067-7154")),
	person("Steven", "Worthington", role = c("aut"), 
         email = "sworthington@iq.harvard.edu",
	       comment = c(ORCID="0000-0001-9550-5797")),
	person("Stefano", "Iacus", role = c("aut"), 
	       comment = c(ORCID="0000-0002-4884-0047")),
	person("Gary", "King", role = c("aut"), 
         email = "king@harvard.edu",
	       comment = c(ORCID="0000-0002-5327-7631"))
  )
Description: 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.
License: GPL (>= 3)
Encoding: UTF-8
Depends: R (>= 4.1.0)
Imports: arg (>= 0.1.1), ggplot2 (>= 3.5.0), pbapply (>= 1.7-4), cli
        (>= 3.6.5), 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)
Config/testthat/edition: 3
URL: https://github.com/iqss/clarify, https://iqss.github.io/clarify/
BugReports: https://github.com/iqss/clarify/issues
VignetteBuilder: knitr
Config/roxygen2/version: 8.0.0
NeedsCompilation: no
Packaged: 2026-06-08 20:30:22 UTC; NoahGreifer
Author: Noah 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>)
Maintainer: Noah Greifer <ngreifer@iq.harvard.edu>
Repository: CRAN
Date/Publication: 2026-06-08 20:50:02 UTC
Built: R 4.5.2; ; 2026-06-08 22:08:04 UTC; unix
