Skip to content

leakyIV

0.0.1

Leaky Instrumental Variables

0packages depend
2.3Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by David S. WatsonFirst published 2024-04-091 releasesCRAN page ↗GitHub ↗

Instrumental variables (IVs) are a popular and powerful tool for estimating causal effects in the presence of unobserved confounding. However, classical methods rely on strong assumptions such as the exclusion criterion, which states that instrumental effects must be entirely mediated by treatments. In the so-called "leaky" IV setting, candidate instruments are allowed to have some direct influence on outcomes, rendering the average treatment effect (ATE) unidentifiable. But with limits on the amount of information leakage, we may still recover sharp bounds on the ATE, providing partial identification. This package implements methods for ATE bounding in the leaky IV setting with linear structural equations. For details, see Watson et al. (2024) doi:10.48550/arXiv.2404.04446.

Install

Health

CRAN checks
13OK
Slowest check: 1.6 min · r-release-macos-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
6
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-05-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-05-06
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
100%

Downloads

2.3K
CRAN downloads in the past year
Rank #21,325 · ~6/day · ~189/mo
Daily download trend is not available in this view yet.
13330 days
51890 days
2.3K1 year
Compare downloads with other packages →
Also on96 r2u10 autocran

Repository

Repository
1Stars
0Forks
0Open issues
0Open PRs
0Releases
150Commits
4Contributors
License GPL-3.0 · 150 commits · Last activity 2024-05-15

Stars over time

2024-02-06 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

Checks run against github.com/dswatson/leakyiv on 2026-08-16.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.0.1Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2024-04-09
Total releases
1 / 2 yrs
License
GPL (>= 3) OSI
Download size
57 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("leakyIV")
Watson, D. S. (2024). leakyIV: Leaky Instrumental Variables (Version 0.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.leakyIV

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for leakyIV version 0.0.1 [Data set]. HJJB, LLC. Data release v2026-08-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy