ivreg
Instrumental-Variables Regression by '2SLS', '2SM', or '2SMM', with Diagnostics
v0.6-7
·
Mar 1, 2026
·
GPL (>= 2)
Description
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.
Downloads
11.3K
Last 30 days
1174th
33.1K
Last 90 days
135.8K
Last year
Trend: -2.4% (30d vs prior 30d)
CRAN Check Status
14
OK
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 11, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
ERROR
r-devel-windows-x86_64
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building 'Diagnostics-for-2SLS-Regression.Rmd' using rmarkdown --- finished re-building 'Diagnostics-for-2SLS-Regression.Rmd' --- re-building 'ivreg.Rmd' using rmarkdown Quitting from ivreg.Rmd:175-177 [mod ...[truncated]... rror: processing vignette 'ivreg.Rmd' failed with diagnostics: a character vector argument expected --- failed re-building 'ivreg.Rmd' SUMMARY: processing the following file failed: 'ivreg.Rmd' Error: Vignette re-building failed. Execution halted
Reverse Dependencies (16)
depends
imports
Dependency Network
Version History
new
0.6-7
Mar 10, 2026
new
0.5-0
Sep 2, 2020