{
  "_id": "6a48e9ecb5e98c4082a02e56",
  "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-07-04 11:05:47 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-7.tar.gz",
  "_fileid": "https://r2.ropensci.org/6a7e47886dac8c265e2609491fc38a54cd83e1358be25f5631f38e58a5dcc644",
  "_filesize": 2006693,
  "_sha256": "6a7e47886dac8c265e2609491fc38a54cd83e1358be25f5631f38e58a5dcc644",
  "_expires": "2026-10-12T11:09:30.000Z",
  "_created": "2026-07-04T11:05:47.000Z",
  "_published": "2026-07-04T11:09:32.036Z",
  "_jobs": [
    {
      "job": 85127233988,
      "time": 183,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8081144010"
    },
    {
      "job": 85127234004,
      "time": 168,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8081142432"
    },
    {
      "job": 85127233992,
      "time": 87,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8081133721"
    },
    {
      "job": 85127234003,
      "time": 113,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8081136620"
    },
    {
      "job": 85126969631,
      "time": 249,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8081123117"
    },
    {
      "job": 85127233987,
      "time": 156,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8081141416"
    },
    {
      "job": 85127234033,
      "time": 87,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8081133764"
    },
    {
      "job": 85127234023,
      "time": 111,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8081136283"
    },
    {
      "job": 85127234041,
      "time": 89,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8081133913"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/zeileis/actions/runs/28704122340",
  "_status": "success",
  "_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"
  },
  "_distro": "resolute",
  "_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",
    "followers": 131,
    "description": "Statistics, science, software."
  },
  "_downloads": {
    "count": 11156,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ivreg"
  },
  "_devurl": "https://github.com/zeileis/ivreg",
  "_pkgdown": "https://zeileis.github.io/ivreg/",
  "_searchresults": 872,
  "_rbuild": "4.6.1",
  "_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",
    "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.86308625391828,
  "_indexed": true,
  "_nocasepkg": "ivreg",
  "_universes": [
    "zeileis"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6-7",
      "date": "2026-07-04T11:08:51.000Z",
      "distro": "resolute",
      "commit": "ba885d3e7424e523a1918f45e05de7b39716781f",
      "fileid": "https://r2.ropensci.org/da577e97c087838ec7ffde324b4824993f8e2e506fc85a327fed1721cb84044a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/28704122340"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6-7",
      "date": "2026-07-04T11:08:35.000Z",
      "distro": "resolute",
      "commit": "ba885d3e7424e523a1918f45e05de7b39716781f",
      "fileid": "https://r2.ropensci.org/4d450e76f7759ec98f33a3e6dbf3f05e92dc44bc00c3b8ebf713a084fcb624ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/28704122340"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6-7",
      "date": "2026-07-04T11:07:24.000Z",
      "commit": "ba885d3e7424e523a1918f45e05de7b39716781f",
      "fileid": "https://r2.ropensci.org/89aa07ab7a360dcf49b31389319ac11df886f18334454774f81ad28ca8954766",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/28704122340"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6-7",
      "date": "2026-07-04T11:07:45.000Z",
      "commit": "ba885d3e7424e523a1918f45e05de7b39716781f",
      "fileid": "https://r2.ropensci.org/fc1008e60eefed775bfaac0b5ef2712b228862849eb310b71fc3f59a41b22181",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/28704122340"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6-7",
      "date": "2026-07-04T11:08:46.000Z",
      "commit": "ba885d3e7424e523a1918f45e05de7b39716781f",
      "fileid": "https://r2.ropensci.org/ae2cd22e46ff52f034ef80ab1215d09c19749bc7d204b239d98a2c10e27c9535",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/28704122340"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6-7",
      "date": "2026-07-04T11:07:11.000Z",
      "commit": "ba885d3e7424e523a1918f45e05de7b39716781f",
      "fileid": "https://r2.ropensci.org/5d72b71ed86f4647a30a4347243aba598a81f2138d8ad023c0649fd2dcf2b427",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/28704122340"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6-7",
      "date": "2026-07-04T11:07:39.000Z",
      "commit": "ba885d3e7424e523a1918f45e05de7b39716781f",
      "fileid": "https://r2.ropensci.org/ebb53edb12b7de63c12ebb6d7141d547eb3b4564abd11c8c5d661e05c50cb76c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/28704122340"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6-7",
      "date": "2026-07-04T11:07:12.000Z",
      "commit": "ba885d3e7424e523a1918f45e05de7b39716781f",
      "fileid": "https://r2.ropensci.org/b84dcdf6fa8f14dc678fc8eff156892d6b27d0aad76aa65bf64758ac8cebbef1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zeileis/actions/runs/28704122340"
    }
  ]
}