{
  "_id": "6a1beac91d7bb097a0a1e908",
  "Package": "ivreg",
  "Title": "Instrumental-Variables Regression by '2SLS', '2SM', or '2SMM',\nwith Diagnostics",
  "Version": "0.6-7",
  "Date": "2026-03-02",
  "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-03-02 09:47:07 UTC",
  "RemoteUrl": "https://github.com/zeileis/ivreg",
  "RemoteRef": "HEAD",
  "RemoteSha": "ba885d3e7424e523a1918f45e05de7b39716781f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-31 07:26:31 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>",
  "MD5sum": "9dd6a326587770c7381ea58568df4782",
  "_user": "zeileis",
  "_type": "src",
  "_file": "ivreg_0.6-7.tar.gz",
  "_fileid": "783db07b7da95813f2159241e2382e979e7fa3127ea009b03c46fb4169f948c8",
  "_filesize": 2006579,
  "_sha256": "783db07b7da95813f2159241e2382e979e7fa3127ea009b03c46fb4169f948c8",
  "_created": "2026-05-31T07:26:31.000Z",
  "_published": "2026-05-31T08:01:13.385Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78708627720,
      "time": 160,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7314818255"
    },
    {
      "job": 78708627722,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314815830"
    },
    {
      "job": 78708627717,
      "time": 109,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7315031930"
    },
    {
      "job": 78708627712,
      "time": 128,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315031638"
    },
    {
      "job": 78708434551,
      "time": 211,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314797542"
    },
    {
      "job": 78708627705,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314813804"
    },
    {
      "job": 78708627726,
      "time": 126,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7314814034"
    },
    {
      "job": 78708627719,
      "time": 84,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7314808796"
    },
    {
      "job": 78708627727,
      "time": 85,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314809013"
    }
  ],
  "_buildurl": "https://github.com/r-universe/zeileis/actions/runs/26706406769",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/zeileis/ivreg",
  "_commit": {
    "id": "ba885d3e7424e523a1918f45e05de7b39716781f",
    "author": "Achim Zeileis <Achim.Zeileis@R-project.org>",
    "committer": "GitHub <noreply@github.com>",
    "message": "New dffits method (#32)\n\n* use influence(...) rather than dffits(...) which does not return the correct results in R <= 4.5.x\n\n* New methods for  generic in R-devel (to be 4.6.0) for  and  objects. Internally, these just call  which is the recommended usage for earlier versions of R.",
    "time": 1772444827
  },
  "_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"
  },
  "_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": 4,
  "_updates": [
    {
      "week": "2025-36",
      "n": 4
    },
    {
      "week": "2025-37",
      "n": 3
    },
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 3
    },
    {
      "week": "2026-10",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "instrumental-variables",
    "regression-diagnostics",
    "two-stage-least-squares-regression"
  ],
  "_stars": 25,
  "_contributors": [
    {
      "user": "zeileis",
      "count": 119,
      "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",
    "description": "Statistics, science, software."
  },
  "_downloads": {
    "count": 14562,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ivreg"
  },
  "_devurl": "https://github.com/zeileis/ivreg",
  "_pkgdown": "https://zeileis.github.io/ivreg/",
  "_searchresults": 636,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ivreg.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_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",
    "microbenchmark",
    "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.841739405755693,
  "_indexed": true,
  "_nocasepkg": "ivreg",
  "_universes": [
    "zeileis"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6-7",
      "date": "2026-05-31T07:29:06.000Z",
      "distro": "noble",
      "commit": "ba885d3e7424e523a1918f45e05de7b39716781f",
      "fileid": "51cd80395febae2357fde2b509a25c29954668e56c894fad6e13660accfd1468",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/26706406769"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.6-7",
      "date": "2026-05-31T07:28:48.000Z",
      "distro": "noble",
      "commit": "ba885d3e7424e523a1918f45e05de7b39716781f",
      "fileid": "411b889daf93e5b35e859b7b7a83a967669c8bcbb53ae2ac10e794dcff387857",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/26706406769"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6-7",
      "date": "2026-05-31T08:00:04.000Z",
      "commit": "ba885d3e7424e523a1918f45e05de7b39716781f",
      "fileid": "3598550081644f25aba3c5f3dbe33767aa31eff435bff04626f217070c219891",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/26706406769"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.6-7",
      "date": "2026-05-31T08:00:02.000Z",
      "commit": "ba885d3e7424e523a1918f45e05de7b39716781f",
      "fileid": "2c8b30bf1247f0d81ad2b5dfe650e2efd6883e5b45c98214b015039932d22a52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/26706406769"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6-7",
      "date": "2026-05-31T07:28:50.000Z",
      "commit": "ba885d3e7424e523a1918f45e05de7b39716781f",
      "fileid": "f4d67640c04bf1584718cf3365aa2b8fe2024333a2f56c11de09673d239da826",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/26706406769"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6-7",
      "date": "2026-05-31T07:28:23.000Z",
      "commit": "ba885d3e7424e523a1918f45e05de7b39716781f",
      "fileid": "c1c29ce1a62d1eef9ae6b80f3771dbfae80f4732523b97ff541c4d0ee99eb9d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/26706406769"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6-7",
      "date": "2026-05-31T07:27:47.000Z",
      "commit": "ba885d3e7424e523a1918f45e05de7b39716781f",
      "fileid": "a40ebe95948a6252ee4952b97aa62954454c6a4909a4e78f957586068b05b681",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/26706406769"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.6-7",
      "date": "2026-05-31T07:27:46.000Z",
      "commit": "ba885d3e7424e523a1918f45e05de7b39716781f",
      "fileid": "873ed7a77e188e97614d832d44a146b56a2e94eeaea0fe35fe864787fc3ae1fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/26706406769"
    }
  ]
}