Package: clarify
Type: Package
Title: Simulation-Based Inference for Regression Models
Version: 0.2.2
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"), 
         email = "siacus@iq.harvard.edu",
	       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: 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)
Config/testthat/edition: 3
RoxygenNote: 7.3.3
URL: https://github.com/iqss/clarify, https://iqss.github.io/clarify/
BugReports: https://github.com/iqss/clarify/issues
VignetteBuilder: knitr
NeedsCompilation: no
Packaged: 2025-09-19 17:01:29 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: 2025-09-19 23:40:14 UTC
Built: R 4.6.0; ; 2026-04-26 06:29:53 UTC; unix
