The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

ivDiag: Estimation and Diagnostic Tools for Instrumental Variables Designs

Estimation and diagnostic tools for instrumental variables designs with one endogenous treatment, implementing the guidelines in Lal, Lockhart, Xu, and Zu (2024) <doi:10.1017/pan.2024.2>. The package reports ordinary least squares and two-stage least squares estimates with analytic and bootstrapped confidence intervals, several first-stage F statistics including the effective F statistic, the Anderson-Rubin test and its confidence set, the tF procedure of Lee, McCrary, Moreira, and Porter (2022) <doi:10.1257/aer.20211063>, and local-to-zero sensitivity tests. It also supports fuzzy regression discontinuity designs.

Version: 1.0.7
Depends: R (≥ 3.5.0)
Imports: foreach, doRNG, parallelly, doParallel, parallel, lfe, ggplot2, ggfortify, wCorr, haven, patchwork, stats, graphics, utils
Suggests: testthat (≥ 3.1.5)
Published: 2026-10-30
DOI: 10.32614/CRAN.package.ivDiag
Author: Apoorva Lal ORCID iD [aut], Yiqing Xu ORCID iD [aut, cre]
Maintainer: Yiqing Xu <yiqingxu at stanford.edu>
BugReports: https://github.com/apoorvalal/ivDiag/issues
License: MIT + file LICENSE
URL: https://yiqingxu.org/packages/ivDiag/
NeedsCompilation: no
CRAN checks: ivDiag results [issues need fixing before 2026-11-22]

Documentation:

Reference manual: ivDiag.html , ivDiag.pdf

Downloads:

Package source: ivDiag_1.0.7.tar.gz
Windows binaries: r-devel: ivDiag_1.0.6.zip, r-release: ivDiag_1.0.6.zip, r-oldrel: ivDiag_1.0.7.zip
macOS binaries: r-release (arm64): ivDiag_1.0.7.tgz, r-oldrel (arm64): ivDiag_1.0.7.tgz, r-release (x86_64): ivDiag_1.0.7.tgz, r-oldrel (x86_64): ivDiag_1.0.7.tgz
Old sources: ivDiag archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=ivDiag to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.