ivmodel
1.9.1Statistical Inference and Sensitivity Analysis for Instrumental Variables Model
2packages depend
11Kdownloads / year
28.6%test coverage
0/13checks pass
Overview
About
Carries out instrumental variable estimation of causal effects, including power analysis, sensitivity analysis, and diagnostics. See Kang, Jiang, Zhao, and Small (2020) http://pages.cs.wisc.edu/~hyunseung/ for details.
Install
Health
CRAN checks
13NOTE
Failing flavors
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE r-devel-linux-x86_64-fedora-clang
- NOTE r-devel-linux-x86_64-fedora-gcc
- NOTE r-devel-windows-x86_64
- NOTE r-oldrel-macos-arm64
- NOTE r-oldrel-macos-x86_64
- NOTE r-oldrel-windows-x86_64
- NOTE r-patched-linux-x86_64
- NOTE r-release-linux-x86_64
- NOTE r-release-macos-arm64
- NOTE r-release-macos-x86_64
- NOTE r-release-windows-x86_64
Slowest check: 3.5 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.37
28.6%
Coverage · measured lines
100%
Documentation · exports
5
Dependencies · direct
Check history
- NOTE2026-06-090 OK · 13 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-080 OK · 12 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-100 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
Documentation
READMEYes · 212 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
- Examples that run
- 100%
- Documented parameters
- 95%
- Return-value docs
- 96%
- References docs
- 67%
Downloads
11K
CRAN downloads in the past year
Rank #6,057 · ~30/day · ~921/mo
Daily download trend is not available in this view yet.
57330 days
1.6K90 days
11K1 year
Also on97 r2u37 autocran29 c2d4u
Dependencies
Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Code & Tests
Code Composition
R 2,912 (59%)Rd 2,040 (41%)
Code characteristics
Object systems
S39
- Cyclomatic complexity
- 4.0 median / 44 max
- Test cases
- 29 / 0.37 per code line
Test coverage
Line coverage
29%
Expression
33.9%
Tests / Examples
28.6% / 59% ex
Functions
53 35 exported
Complexity
6 avg / 44 max
Call network
53 nodes / 57 edges
Call graph
Open call graph →Loading call graph…
Lowest coverage
53 functions| Function | Cyclo | Coverage |
|---|---|---|
| AR.power exp | 2 | 0% |
| AR.size exp | 6 | 0% |
| ARsens.power exp | 6 | 0% |
| ARsens.size exp | 11 | 0% |
| IVpower exp | 7 | 0% |
| IVsize exp | 6 | 0% |
Datasets
People & History
People (0)
Author records are not tracked yet for this package.
Listed in earlier versions (6)
no longer listed · 1.0 to 1.9.1
no longer listed · 1.0 to 1.9.1
no longer listed · 1.0 to 1.9.1
no longer listed · 1.7 to 1.7.1
no longer listed · 1.7 to 1.7.1
no longer listed · 1.8.1 to 1.9.1
Package Timeline
9 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.9.1Latest
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.9.02021-01-14 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.8.12020-02-21 · diff ↗
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 1.7.12017-10-17 · diff ↗
- 1.72017-08-18 · diff ↗
- 1.62017-05-05 · diff ↗
- RR 3.4.0 released · 2017-04-21
0 of 2 selectedCompare selected
Package metadata
- First published
- 2015-05-04
- Total releases
- 9 / 11 yrs
- License
- GPL-2 | file LICENSE OSI
- Bundled data
- 161 KB / 2 files
- Download size
- 216 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Appears in task views