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) . 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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ivDiag")

1.0.7 by Yiqing Xu, 2 days ago


https://yiqingxu.org/packages/ivDiag/


Report a bug at https://github.com/apoorvalal/ivDiag/issues


Browse source code at https://github.com/cran/ivDiag


Authors: Apoorva Lal [aut] , Yiqing Xu [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports foreach, doRNG, parallelly, doParallel, parallel, lfe, ggplot2, ggfortify, wCorr, haven, patchwork, stats, graphics, utils

Suggests testthat


See at CRAN