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.
Package details |
|
|---|---|
| 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> |
| License | MIT + file LICENSE |
| Version | 1.0.9 |
| URL | https://yiqingxu.org/packages/ivDiag/ |
| Package repository | View on CRAN |
| Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.