Skip to content

ivreg2r

0.1.0

Extended Instrumental Variables Estimation with Diagnostics

0packages depend
155downloads / year
91.1%test coverage
12/13checks pass

Overview

About
Maintained by Francis DiTragliaFirst published 2026-07-211 releasesCRAN page ↗GitHub ↗

Comprehensive instrumental variables and GMM estimation with automatic diagnostics, inspired by the 'Stata' command 'ivreg2' of Baum, Schaffer, and Stillman (2003) doi:10.1177/1536867X0300300101 and Baum, Schaffer, and Stillman (2007) doi:10.1177/1536867X0800700402. Supports 2SLS, LIML, Fuller, k-class, two-step efficient GMM, and continuously-updated (CUE) estimators. Provides classical, robust, cluster-robust, HAC, and Driscoll-Kraay standard errors. Reports weak identification, underidentification, overidentification, and endogeneity tests at estimation time. All outputs are verified against 'Stata' within tight numerical tolerances.

Install

Health

CRAN checks
1NOTE12OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 13.3 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 2.14
91.1%
Coverage · measured lines
100%
Documentation · exports
4
Dependencies · direct
Check history
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-22
    7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 512 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
80%
References docs
6%

Downloads

155
CRAN downloads in the past year
Rank #24,418 · ~0/day · ~13/mo
Daily download trend is not available in this view yet.
15530 days
15590 days
1551 year
Compare downloads with other packages →
Also on4 r2u

Repository

Repository
1Stars
0Forks
0Open issues
0Open PRs
0Releases
304Commits
1Contributors
304 commits · Last activity 2026-07-21

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/restatr/ivreg2r on 2026-07-31.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.4.0
Imports (4)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (3)
Contributor, Copyright holder
Contributor, Copyright holder
Contributor, Copyright holder
Copyright holders (3)
Contributor, Copyright holder
Contributor, Copyright holder
Contributor, Copyright holder
Package Timeline

1 release. R releases are shown for context.

  • 0.1.0Latest
    2026-07-21 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-07-21
Total releases
1 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.4.0
Bundled data
407 KB / 11 files
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet
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