Simulation-Based Inference for Regression Models
Overview
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.
- Fixed a bug in the parameterization of the multivariate t-distribution. Thanks to Christopher Johnston for pointing it out. Unfortunately this means all results produced by prior versions will not be perfectly reproducible when using this and future versions.
- Removed *chk* as a dependency; error messages now use *arg*.
verboseis now set toFALSEby default when not in an interactive sessions.- Documentation updates.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-04-10
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-04-09
- OK14 OK2026-03-10
Documentation
- Help pages
- 11 (1 internal)includes a package overview page
- Examples that run
- 80%8 run in a plain check (8 of them under a condition) · 2 hold no code
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 27%
Downloads
Repository
- PRs merged (all time)
- 95%
- Median days to close, 50 most recently updated closed issues
- 84
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
6 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/iqss/clarify on 2026-10-11.
GitHub Pages site last deployed 2025-09-19 · The repository has a site deploy workflow
Dependencies
Installing clarify adds 26 packages (10 with compiled code, 23 MB of source tarballs). Heaviest: ggplot2 6.0 MB, data.table 5.7 MB, marginaleffects 1.6 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.2.3Latest
- RR 4.6.0 released · 2026-04-24
- 0.2.22025-09-20 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.2.12024-05-30 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.2.02023-09-21 · diff ↗
- 0.1.32023-05-04 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.1.22023-02-22 · diff ↗
- 0.1.12023-02-03 · diff ↗
- 0.1.02023-01-25
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2023-01-25
- Total releases
- 8 / 3 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 1.9 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("clarify")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.32614/rj-2024-015.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.