Skip to content

ivreg

0.6-8Package record

Instrumental-Variables Regression by '2SLS', '2SM', or '2SMM', with Diagnostics

4packages dependsuggested by 15
145.2Kdownloads / year
68.3%test coverage
13/13flavors OK

Overview

About

Instrumental variable estimation for linear models by two-stage least-squares (2SLS) regression or by robust-regression via M-estimation (2SM) or MM-estimation (2SMM). The main ivreg() model-fitting function is designed to provide a workflow as similar as possible to standard lm() regression. A wide range of methods is provided for fitted ivreg model objects, including extensive functionality for computing and graphing regression diagnostics in addition to other standard model tools.

Changes in 0.6-8
  • Updated structure() calls to use names = ... instead of .Names = ... etc.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.1 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-12
  • ERROR11 OK, 2 ERROR2026-07-11
  • OK13 OK2026-06-09
Show 3 earlier changesHide 3 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-12
  • ERROR13 OK, 1 ERROR2026-03-10
Advisories

none known

Documentation

In release 0.6-8
READMEYes · 110 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 0.6-8Citation fileNoWebsiteYes · pkgdown
Help pages
8
Examples that run
100%7 run in a plain check
Exported functions with examples
100%
Documented parameters
79%
Return-value docs
100%
Help pages citing references
38%

Downloads

145.2K
CRAN downloads in the past year
Rank #1,128 · ~398/day · ~12.1K/mo
Daily download trend is not available in this view yet.
12.3K30 days
31.7K90 days
145.2K1 year
Compare downloads with other packages →
Also on1.9K r2u6 autocran2.4K conda_forge133 c2d4u

Repository

25Stars
6Forks
0Open issues
0Open PRs
0Releases
212Commits
6Commit identities
instrumental-variablesregression-diagnosticstwo-stage-least-squares-regression
212 commits · Last activity 2026-07-10
Responsiveness
How these are sampled
PRs merged (all time)
91%
Median days to close, 50 most recently updated closed issues
1
Median days to close, 50 most recently updated closed PRs
0
PracticesBeta

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

Checks run against github.com/zeileis/ivreg on 2026-10-22.

Continuous integration (1)
GitHub Actions
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-07-10 · The repository has a site deploy workflow

pkgdown site last built 2026-07-10

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)

Installing ivreg adds 60 packages (32 with compiled code, 55 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, doBy 4.3 MB.

Depends (1)
R >= 3.6.0
Imports (5)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
4direct
0indirect
Depends 1 · Imports 3
Suggested by 15
Show all 19 packagesHide all 19 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (5)
Author, Maintainer since 0.6-2 (2023)
Author
Contributor · added in 0.6-3
Contributor · added in 0.6-1

Previously maintained by John Fox (0.5-0 to 0.6-1).

Releases (10)

Pick two releases to compare their code metrics.

Show 1 earlier eventHide 1 earlier event
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-09-03
Total releases
10 / 6 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.6.0
Bundled data
42 KB / 3 files
Download size
857 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ivreg")
Zeileis, A., R Core Team, Fox, J., Kleiber, C., & Kuschnig, N. (2026). ivreg: Instrumental-Variables Regression by '2SLS', '2SM', or '2SMM', with Diagnostics (Version 0.6-8) [Computer software]. https://doi.org/10.32614/CRAN.package.ivreg

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 ivreg version 0.6-8 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, 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