clarify
Simulation-Based Inference for Regression Models
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.
Downloads
3.8K
Last 30 days
2099th
11.9K
Last 90 days
45.1K
Last year
Trend: -15.3% (30d vs prior 30d)
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
re-building of vignette outputs
Error(s) in re-building vignettes: ... --- re-building ‘Zelig.Rmd’ using rmarkdown_notangle Quitting from Zelig.Rmd:152-158 [unnamed-chunk-17] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Err ...[truncated]... stf' --- failed re-building ‘Zelig.Rmd’ --- re-building ‘clarify.Rmd’ using rmarkdown_notangle --- finished re-building ‘clarify.Rmd’ SUMMARY: processing the following file failed: ‘Zelig.Rmd’ Error: Vignette re-building failed. Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 10, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 9, 2026
re-building of vignette outputs
Error(s) in re-building vignettes: ... --- re-building ‘Zelig.Rmd’ using rmarkdown_notangle Quitting from Zelig.Rmd:39-41 [unnamed-chunk-3] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error ...[truncated]... gnette 'clarify.Rmd' failed with diagnostics: there is no package called 'MatchIt' --- failed re-building ‘clarify.Rmd’ SUMMARY: processing the following files failed: ‘Zelig.Rmd’ ‘clarify.Rmd’ Error: Vignette re-building failed. Execution halted