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) <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.
URL: https://yiqingxu.org/packages/ivDiag/
BugReports: https://github.com/apoorvalal/ivDiag/issues
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: 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)
NeedsCompilation: no
Packaged: 2026-10-29 16:20:24 UTC; yiqingxu
Author: Apoorva Lal [aut] (ORCID: <https://orcid.org/0000-0002-3697-614X>),
  Yiqing Xu [aut, cre] (ORCID: <https://orcid.org/0000-0003-2041-6671>)
Maintainer: Yiqing Xu <yiqingxu@stanford.edu>
Repository: CRAN
Date/Publication: 2026-10-30 15:30:02 UTC
