Package: ivcheck 0.1.2

ivcheck: Tests for Instrumental Variable Validity

Implements tests for the identifying assumptions of instrumental variable models, the local exclusion restriction and monotonicity conditions required for local average treatment effect identification. Covers Kitagawa (2015) <doi:10.3982/ECTA11974>, Mourifie and Wan (2017) <doi:10.1162/REST_a_00622>, and Frandsen, Lefgren, and Leslie (2023) <doi:10.1257/aer.20201860>. Includes a one-shot wrapper that runs all applicable tests on a fitted instrumental variable model. Dispatches on 'fixest' and 'ivreg' model objects.

Authors:Charles Coverdale [aut, cre]

ivcheck_0.1.2.tar.gz
ivcheck_0.1.2.zip(r-4.7)ivcheck_0.1.2.zip(r-4.6)ivcheck_0.1.2.zip(r-4.5)
ivcheck_0.1.2.tgz(r-4.6-any)ivcheck_0.1.2.tgz(r-4.5-any)
ivcheck_0.1.2.tar.gz(r-4.7-any)ivcheck_0.1.2.tar.gz(r-4.6-any)
ivcheck_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
ivcheck/json (API)

# Install 'ivcheck' in R:
install.packages('ivcheck', repos = c('https://charlescoverdale.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/charlescoverdale/ivcheck/issues

Pkgdown/docs site:https://charlescoverdale.github.io

Datasets:
  • card1995 - Card (1995) proximity-to-college extract

On CRAN:

Conda:

5.18 score 2 stars 473 downloads 5 exports 1 dependencies

Last updated from:84c7246bb6. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK154
source / vignettesOK207
linux-release-x86_64OK159
macos-release-arm64OK89
macos-oldrel-arm64OK93
windows-develOK106
windows-releaseOK104
windows-oldrelOK94
wasm-releaseOK127

Exports:iv_checkiv_kitagawaiv_mwiv_poweriv_testjfe

Dependencies:cli

Using ivcheck with fixest
Why this vignette matters | Setup | The Card (1995) proximity-to-college IV | The unconditional case: no exogenous controls | Bootstrap distribution | The conditional case: one exogenous control | Multivariate controls | Combining with modelsummary | The full workflow | References

Last update: 2026-05-11
Started: 2026-04-19

Judge-fixed-effects designs
The judge-IV design | Setup | A valid judge-IV design | A clear exclusion violation | What exactly is being tested | Inspecting the per-judge residuals | With covariates | Caveats | References

Last update: 2026-04-22
Started: 2026-04-19

Getting started with ivcheck
What this package does | A first call | Anatomy of the returned object | Detecting a clear violation | Adding covariates with Mourifie-Wan | Running all applicable tests at once | Reading the verdict | References

Last update: 2026-04-19
Started: 2026-04-19