Package: ivDiag Title: Estimation and Diagnostic Tools for Instrumental Variables Designs Version: 1.0.7 Date: 2026-10-18 Authors@R: c( person("Apoorva", "Lal", , "lal.apoorva@gmail.com", c("aut"), comment = c(ORCID = "0000-0002-3697-614X")), person("Yiqing", "Xu", , "yiqingxu@stanford.edu", c("aut", "cre"), comment = c(ORCID = "0000-0003-2041-6671")) ) Description: Estimation and diagnostic tools for instrumental variables designs with one endogenous treatment, implementing the guidelines in Lal, Lockhart, Xu, and Zu (2024) . 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) , and local-to-zero sensitivity tests. It also supports fuzzy regression discontinuity designs. URL: https://yiqingxu.org/packages/ivDiag/ BugReports: https://github.com/apoorvalal/ivDiag/issues License: MIT + file LICENSE Encoding: UTF-8 LazyData: true Roxygen: list(markdown = TRUE) RoxygenNote: 7.2.3 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) Config/pak/sysreqs: make libicu-dev libx11-dev zlib1g-dev Repository: https://apoorvalal.r-universe.dev Date/Publication: 2026-10-30 22:08:27 UTC RemoteUrl: https://github.com/apoorvalal/ivdiag RemoteRef: HEAD RemoteSha: 9c4cf89140a597a644f2560691c6beeea6995776 NeedsCompilation: no Packaged: 2026-11-01 11:45:41 UTC; root Author: Apoorva Lal [aut] (ORCID: ), Yiqing Xu [aut, cre] (ORCID: ) Maintainer: Yiqing Xu