{
  "_id": "6af02c0594cdbf48db2af4ab",
  "Package": "ivreg",
  "Title": "Instrumental-Variables Regression by '2SLS', '2SM', or '2SMM',\nwith Diagnostics",
  "Version": "0.6-8",
  "Date": "2026-07-11",
  "Authors@R": "c(person(given = \"John\", family = \"Fox\", role = \"aut\", email = \"jfox@mcmaster.ca\", comment = c(ORCID = \"0000-0002-1196-8012\")),\nperson(given = \"Christian\", family = \"Kleiber\", role = \"aut\", email = \"Christian.Kleiber@unibas.ch\", comment = c(ORCID = \"0000-0002-6781-4733\")),\nperson(given = \"Achim\", family = \"Zeileis\", role = c(\"aut\", \"cre\"), email = \"Achim.Zeileis@R-project.org\", comment = c(ORCID = \"0000-0003-0918-3766\")),\nperson(given = \"Nikolas\", family = \"Kuschnig\", role = \"ctb\", email = \"nikolas.kuschnig@wu.ac.at\", comment = c(ORCID = \"0000-0002-6642-2543\")),\nperson(given = \"R Core Team\", role = \"ctb\", email = \"R-core@R-project.org\"))",
  "Description": "Instrumental variable estimation for linear models by\ntwo-stage least-squares (2SLS) regression or by\nrobust-regression via M-estimation (2SM) or MM-estimation\n(2SMM). The main ivreg() model-fitting function is designed to\nprovide a workflow as similar as possible to standard lm()\nregression. A wide range of methods is provided for fitted\nivreg model objects, including extensive functionality for\ncomputing and graphing regression diagnostics in addition to\nother standard model tools.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "BugReports": "https://github.com/zeileis/ivreg/issues/",
  "URL": "https://zeileis.github.io/ivreg/",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://zeileis.r-universe.dev",
  "Date/Publication": "2026-07-10 23:38:33 UTC",
  "RemoteUrl": "https://github.com/zeileis/ivreg",
  "RemoteRef": "HEAD",
  "RemoteSha": "d0e00a3f8f5573d073815387481f0fad29db1b4f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-08 07:52:37 UTC",
    "User": "root"
  },
  "Author": "John Fox [aut] (ORCID: <https://orcid.org/0000-0002-1196-8012>),\nChristian Kleiber [aut] (ORCID:\n<https://orcid.org/0000-0002-6781-4733>),\nAchim Zeileis [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0918-3766>),\nNikolas Kuschnig [ctb] (ORCID: <https://orcid.org/0000-0002-6642-2543>),\nR Core Team [ctb]",
  "Maintainer": "Achim Zeileis <Achim.Zeileis@R-project.org>",
  "_user": "zeileis",
  "_type": "src",
  "_file": "ivreg_0.6-8.tar.gz",
  "_fileid": "https://r2.ropensci.org/e1d7fcee75064950366b1d07db976a2ed9a726aa4e704735fa4584595cd807ee",
  "_filesize": 2004980,
  "_sha256": "e1d7fcee75064950366b1d07db976a2ed9a726aa4e704735fa4584595cd807ee",
  "_expires": "2027-02-16T08:00:03.000Z",
  "_created": "2026-11-08T07:52:37.000Z",
  "_published": "2026-11-08T08:00:05.354Z",
  "_upstream": "https://github.com/zeileis/ivreg",
  "_status": "success",
  "_maintainer": {
    "name": "Achim Zeileis",
    "email": "achim.zeileis@r-project.org",
    "login": "zeileis",
    "mastodon": "@zeileis@fosstodon.org",
    "bluesky": "@zeileis.org",
    "description": "Statistics, science, software.",
    "uuid": 61125774,
    "orcid": "0000-0003-0918-3766"
  },
  "_jobs": [
    {
      "job": 128668782119,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13609785429"
    },
    {
      "job": 128668782151,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13609990103"
    },
    {
      "job": 128668782208,
      "time": 110,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13609254883"
    },
    {
      "job": 128668782156,
      "time": 112,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13609274164"
    },
    {
      "job": 128668007879,
      "time": 232,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13609645794"
    },
    {
      "job": 128668782145,
      "time": 136,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13608728903"
    },
    {
      "job": 128668782135,
      "time": 98,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13609149676"
    },
    {
      "job": 128668782117,
      "time": 80,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13609721125"
    },
    {
      "job": 128668782105,
      "time": 90,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13609089730"
    }
  ],
  "_buildurl": "https://github.com/r-universe/zeileis/actions/runs/42460294241",
  "_commit": {
    "id": "d0e00a3f8f5573d073815387481f0fad29db1b4f",
    "author": "Achim Zeileis <Achim.Zeileis@R-project.org>",
    "committer": "GitHub <noreply@github.com>",
    "message": "fix structure() calls with deprecated .Names and .Dimnames (#34)",
    "time": 1783726713
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "car",
      "version": ">= 3.0-9",
      "role": "Imports"
    },
    {
      "package": "Formula",
      "role": "Imports"
    },
    {
      "package": "lmtest",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "AER",
      "role": "Suggests"
    },
    {
      "package": "effects",
      "version": ">= 4.2.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "insight",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "sandwich",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "modelsummary",
      "role": "Suggests"
    },
    {
      "package": "gt",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "zeileis",
  "_selfowned": true,
  "_usedby": 5,
  "_updates": [
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 3
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-28",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "instrumental-variables",
    "regression-diagnostics",
    "two-stage-least-squares-regression"
  ],
  "_stars": 25,
  "_contributors": [
    {
      "user": "zeileis",
      "count": 120,
      "uuid": 61125774
    },
    {
      "user": "john-d-fox",
      "count": 82,
      "uuid": 14098498
    },
    {
      "user": "nk027",
      "count": 6,
      "uuid": 31620977
    },
    {
      "user": "tappek",
      "count": 2,
      "uuid": 77916431
    },
    {
      "user": "raffaelemancuso",
      "count": 1,
      "uuid": 54762742
    },
    {
      "user": "vincentarelbundock",
      "count": 1,
      "uuid": 987057
    }
  ],
  "_userbio": {
    "uuid": 61125774,
    "type": "user",
    "name": "Achim Zeileis",
    "followers": 136,
    "description": "Statistics, science, software."
  },
  "_downloads": {
    "count": 12238,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ivreg"
  },
  "_devurl": "https://github.com/zeileis/ivreg",
  "_pkgdown": "https://zeileis.github.io/ivreg/",
  "_searchresults": 890,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ivreg.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/zeileis/ivreg",
  "_realowner": "zeileis",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.5-0",
      "date": "2020-09-03"
    },
    {
      "version": "0.6-0",
      "date": "2021-05-28"
    },
    {
      "version": "0.6-1",
      "date": "2021-10-15"
    },
    {
      "version": "0.6-2",
      "date": "2023-03-17"
    },
    {
      "version": "0.6-3",
      "date": "2024-04-20"
    },
    {
      "version": "0.6-4",
      "date": "2024-09-18"
    },
    {
      "version": "0.6-5",
      "date": "2025-01-19"
    },
    {
      "version": "0.6-6",
      "date": "2026-02-09"
    },
    {
      "version": "0.6-7",
      "date": "2026-03-02"
    },
    {
      "version": "0.6-8",
      "date": "2026-07-11"
    }
  ],
  "_exports": [
    "ivreg",
    "ivreg.fit"
  ],
  "_datasets": [
    {
      "name": "CigaretteDemand",
      "title": "U.S. Cigarette Demand Data",
      "object": "CigaretteDemand",
      "class": [
        "data.frame"
      ],
      "fields": [
        "packs",
        "rprice",
        "rincome",
        "salestax",
        "cigtax",
        "packsdiff",
        "pricediff",
        "incomediff",
        "salestaxdiff",
        "cigtaxdiff"
      ],
      "rows": 48,
      "table": true,
      "tojson": true
    },
    {
      "name": "Kmenta",
      "title": "Partly Artificial Data on the U.S. Economy",
      "object": "Kmenta",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Q",
        "P",
        "D",
        "F",
        "A"
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    },
    {
      "name": "SchoolingReturns",
      "title": "U.S. Returns to Schooling Data",
      "object": "SchoolingReturns",
      "class": [
        "data.frame"
      ],
      "fields": [
        "wage",
        "education",
        "experience",
        "ethnicity",
        "smsa",
        "south",
        "age",
        "nearcollege",
        "nearcollege2",
        "nearcollege4",
        "enrolled",
        "married",
        "education66",
        "smsa66",
        "south66",
        "feducation",
        "meducation",
        "fameducation",
        "kww",
        "iq",
        "parents14",
        "library14"
      ],
      "rows": 3010,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "CigaretteDemand",
      "title": "U.S. Cigarette Demand Data",
      "topics": [
        "CigaretteDemand"
      ]
    },
    {
      "page": "ivregMethods",
      "title": "Methods for '\"ivreg\"' Objects",
      "topics": [
        "alias.ivreg",
        "bread.ivreg",
        "coef.ivreg",
        "Effect.ivreg",
        "estfun.ivreg",
        "find_formula.ivreg",
        "formula.ivreg",
        "ivregMethods",
        "model.matrix.ivreg",
        "model.matrix.ivreg_projected",
        "predict.ivreg",
        "print.ivreg",
        "qr.ivreg",
        "residuals.ivreg",
        "terms.ivreg",
        "update.ivreg",
        "vcov.ivreg",
        "vcovHC.ivreg",
        "weights.ivreg"
      ]
    },
    {
      "page": "summary.ivreg",
      "title": "Summary and Inference Methods for '\"ivreg\"' Objects",
      "topics": [
        "Anova.ivreg",
        "anova.ivreg",
        "confint.ivreg",
        "linearHypothesis.ivreg",
        "print.summary.ivreg",
        "summary.ivreg"
      ]
    },
    {
      "page": "ivregDiagnostics",
      "title": "Deletion and Other Diagnostic Methods for '\"ivreg\"' Objects",
      "topics": [
        "avPlot.ivreg",
        "avPlots.ivreg",
        "Boot.ivreg",
        "ceresPlot.ivreg",
        "ceresPlots.ivreg",
        "cooks.distance.influence.ivreg",
        "cooks.distance.ivreg",
        "crPlot.ivreg",
        "crPlots.ivreg",
        "deviance.ivreg",
        "dfbeta.influence.ivreg",
        "dfbeta.ivreg",
        "hatvalues.influence.ivreg",
        "hatvalues.ivreg",
        "infIndexPlot.influence.ivreg",
        "infIndexPlot.ivreg",
        "influence.ivreg",
        "influence.rivreg",
        "influencePlot.influence.ivreg",
        "influencePlot.ivreg",
        "ivregDiagnostics",
        "mcPlot.ivreg",
        "mcPlots.ivreg",
        "model.matrix.influence.ivreg",
        "ncvTest.ivreg",
        "outlierTest.ivreg",
        "plot.ivreg",
        "qqPlot.influence.ivreg",
        "qqPlot.ivreg",
        "rstudent.influence.ivreg",
        "rstudent.ivreg",
        "spreadLevelPlot.ivreg"
      ]
    },
    {
      "page": "ivreg",
      "title": "Instrumental-Variable Regression by 2SLS, 2SM, or 2SMM Estimation",
      "topics": [
        "ivreg"
      ]
    },
    {
      "page": "ivreg.fit",
      "title": "Fitting Instrumental-Variable Regressions by 2SLS, 2SM, or 2SMM Estimation",
      "topics": [
        "ivreg.fit"
      ]
    },
    {
      "page": "Kmenta",
      "title": "Partly Artificial Data on the U.S. Economy",
      "topics": [
        "Kmenta"
      ]
    },
    {
      "page": "SchoolingReturns",
      "title": "U.S. Returns to Schooling Data",
      "topics": [
        "SchoolingReturns"
      ]
    }
  ],
  "_pkglogo": "https://github.com/zeileis/ivreg/raw/HEAD/logo.png",
  "_readme": "https://github.com/zeileis/ivreg/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "colorspace",
    "cowplot",
    "cpp11",
    "Deriv",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "minqa",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "S7",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "Diagnostics-for-2SLS-Regression.Rmd",
      "filename": "Diagnostics-for-2SLS-Regression.html",
      "title": "Diagnostics for 2SLS Regression",
      "author": "John Fox, Christian Kleiber, Achim Zeileis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Review of 2SLS Estimation",
        "Unusual-Data Diagnostics for 2SLS Regression",
        "Unusual-Data Diagnostics in the ivreg Package",
        "Unusual Data Diagnostics: An Example",
        "Nonlinearity Diagnostics",
        "Diagnosing Nonlinearity: An Example",
        "Nonconstant Error Variance",
        "Weighted 2SLS Regression",
        "Collinearity Diagnostics",
        "Robust Two-Stage Instrumental-Variables Regression",
        "Concluding Remarks",
        "References"
      ],
      "created": "2019-09-24 00:56:22",
      "modified": "2023-05-15 22:49:36",
      "commits": 23
    },
    {
      "source": "ivreg.Rmd",
      "filename": "ivreg.html",
      "title": "ivreg: Two-Stage Least-Squares Regression with Diagnostics",
      "author": "John Fox, Christian Kleiber, Achim Zeileis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Installation",
        "Instrumental variables regression",
        "Illustration: Returns to schooling"
      ],
      "created": "2020-07-24 18:11:56",
      "modified": "2024-04-20 14:02:08",
      "commits": 15
    }
  ],
  "_score": 10.912161718897243,
  "_indexed": true,
  "_nocasepkg": "ivreg",
  "_universes": [
    "zeileis"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6-8",
      "date": "2026-11-08T07:54:47.000Z",
      "distro": "resolute",
      "commit": "d0e00a3f8f5573d073815387481f0fad29db1b4f",
      "fileid": "https://r2.ropensci.org/e2fa81a6b8d65dcf9b828484b34787dbaa9a981fb2c671ff648f74d5561b3f8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/42460294241"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.6-8",
      "date": "2026-11-08T07:54:58.000Z",
      "distro": "resolute",
      "commit": "d0e00a3f8f5573d073815387481f0fad29db1b4f",
      "fileid": "https://r2.ropensci.org/cf54a61bd31200dfe91195db8da8e031b1219d8e3c9b43db2e26accde84d0e17",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/42460294241"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6-8",
      "date": "2026-11-08T07:59:28.000Z",
      "commit": "d0e00a3f8f5573d073815387481f0fad29db1b4f",
      "fileid": "https://r2.ropensci.org/e6166ad4a22a7e5a86fd94d6b6a5cc73d00b4973bc14ceffbbfaaec363270273",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/42460294241"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.6-8",
      "date": "2026-11-08T07:54:33.000Z",
      "commit": "d0e00a3f8f5573d073815387481f0fad29db1b4f",
      "fileid": "https://r2.ropensci.org/9dec19f0daefe8e2847b9cec9c45d7e5205547c2e2a951c8b5ee62ae1fd67edd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/42460294241"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6-8",
      "date": "2026-11-08T07:55:08.000Z",
      "commit": "d0e00a3f8f5573d073815387481f0fad29db1b4f",
      "fileid": "https://r2.ropensci.org/a45c1656b8fe0e7306e2e8d03e4235fac560bfa218f3ac58f437fe0bc0264963",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/42460294241"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6-8",
      "date": "2026-11-08T07:54:06.000Z",
      "commit": "d0e00a3f8f5573d073815387481f0fad29db1b4f",
      "fileid": "https://r2.ropensci.org/dee054d4bd01ad62430fdd6b0b5c7f831dd3489ec92bfcad4ea6300b78179b3c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/42460294241"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6-8",
      "date": "2026-11-08T07:53:50.000Z",
      "commit": "d0e00a3f8f5573d073815387481f0fad29db1b4f",
      "fileid": "https://r2.ropensci.org/e9191c78f4de4c21d70995dfe8fe6287267d518cca6fdf774fd092a137dfda41",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/42460294241"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.6-8",
      "date": "2026-11-08T07:53:58.000Z",
      "commit": "d0e00a3f8f5573d073815387481f0fad29db1b4f",
      "fileid": "https://r2.ropensci.org/d793f6bbeb3a39b0bc45d016c6429578cd1b3febee3d52f893167eb3c03c04d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/42460294241"
    }
  ]
}