{
  "_id": "6ae7278d818c9e3ef6dbba67",
  "Package": "ivDiag",
  "Title": "Estimation and Diagnostic Tools for Instrumental Variables\nDesigns",
  "Version": "1.0.7",
  "Date": "2026-10-18",
  "Authors@R": "c(\nperson(\"Apoorva\", \"Lal\", , \"lal.apoorva@gmail.com\", c(\"aut\"), comment = c(ORCID = \"0000-0002-3697-614X\")),\nperson(\"Yiqing\", \"Xu\", , \"yiqingxu@stanford.edu\", c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0003-2041-6671\"))\n)",
  "Description": "Estimation and diagnostic tools for instrumental variables\ndesigns with one endogenous treatment, implementing the\nguidelines in Lal, Lockhart, Xu, and Zu (2024)\n<doi:10.1017/pan.2024.2>. The package reports ordinary least\nsquares and two-stage least squares estimates with analytic and\nbootstrapped confidence intervals, several first-stage F\nstatistics including the effective F statistic, the\nAnderson-Rubin test and its confidence set, the tF procedure of\nLee, McCrary, Moreira, and Porter (2022)\n<doi:10.1257/aer.20211063>, and local-to-zero sensitivity\ntests. It also supports fuzzy regression discontinuity designs.",
  "URL": "https://yiqingxu.org/packages/ivDiag/",
  "BugReports": "https://github.com/apoorvalal/ivDiag/issues",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "Config/pak/sysreqs": "make libicu-dev libx11-dev zlib1g-dev",
  "Repository": "https://apoorvalal.r-universe.dev",
  "Date/Publication": "2026-10-30 22:08:27 UTC",
  "RemoteUrl": "https://github.com/apoorvalal/ivdiag",
  "RemoteRef": "HEAD",
  "RemoteSha": "9c4cf89140a597a644f2560691c6beeea6995776",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-01 11:45:41 UTC",
    "User": "root"
  },
  "Author": "Apoorva Lal [aut] (ORCID: <https://orcid.org/0000-0002-3697-614X>),\nYiqing Xu [aut, cre] (ORCID: <https://orcid.org/0000-0003-2041-6671>)",
  "Maintainer": "Yiqing Xu <yiqingxu@stanford.edu>",
  "_user": "apoorvalal",
  "_type": "src",
  "_file": "ivDiag_1.0.7.tar.gz",
  "_fileid": "https://r2.ropensci.org/fc2dacd21fb21e62c160ba96e1b65a035a6934c4f9f9489794e254f5c5fec2ff",
  "_filesize": 406812,
  "_sha256": "fc2dacd21fb21e62c160ba96e1b65a035a6934c4f9f9489794e254f5c5fec2ff",
  "_expires": "2027-02-09T11:50:36.000Z",
  "_created": "2026-11-01T11:45:41.000Z",
  "_published": "2026-11-01T11:50:37.931Z",
  "_upstream": "https://github.com/apoorvalal/ivdiag",
  "_status": "success",
  "_maintainer": {
    "name": "Yiqing Xu",
    "email": "yiqingxu@stanford.edu",
    "orcid": "0000-0003-2041-6671"
  },
  "_jobs": [
    {
      "job": 124838635555,
      "time": 207,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13082153857"
    },
    {
      "job": 124838635609,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13082430852"
    },
    {
      "job": 124838635654,
      "time": 236,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13082331339"
    },
    {
      "job": 124838635598,
      "time": 251,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13081894964"
    },
    {
      "job": 124837942285,
      "time": 190,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13082252649"
    },
    {
      "job": 124838635547,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13082064059"
    },
    {
      "job": 124838635573,
      "time": 123,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13081824960"
    },
    {
      "job": 124838635649,
      "time": 123,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13081844955"
    },
    {
      "job": 124838635650,
      "time": 123,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13081419339"
    }
  ],
  "_buildurl": "https://github.com/r-universe/apoorvalal/actions/runs/41303085840",
  "_commit": {
    "id": "9c4cf89140a597a644f2560691c6beeea6995776",
    "author": "Yiqing Xu <7664920+xuyiqing@users.noreply.github.com>",
    "committer": "Yiqing Xu <7664920+xuyiqing@users.noreply.github.com>",
    "message": "Tutorial: 1.0.7 is on CRAN (2026-10-30)\n\nChangelog drops \"not yet on CRAN\"; the installation table shows CRAN,\nmaster and dev all at 1.0.7.\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n",
    "time": 1793398107
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "doRNG",
      "role": "Imports"
    },
    {
      "package": "parallelly",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "lfe",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggfortify",
      "role": "Imports"
    },
    {
      "package": "wCorr",
      "role": "Imports"
    },
    {
      "package": "haven",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.1.5",
      "role": "Suggests"
    }
  ],
  "_owner": "apoorvalal",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-44",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "v1.0.7",
      "date": "2026-10-30"
    }
  ],
  "_topics": [
    "bootstrap",
    "econometrics",
    "instrumental-variable",
    "sensitivity-analysis"
  ],
  "_stars": 14,
  "_contributors": [
    {
      "user": "xuyiqing",
      "count": 51,
      "uuid": 7664920
    },
    {
      "user": "apoorvalal",
      "count": 34,
      "uuid": 12086926
    },
    {
      "user": "kjohnsen",
      "count": 1,
      "uuid": 19983357
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 12086926,
    "type": "user",
    "name": "Apoorva Lal",
    "followers": 254,
    "description": "Applied Econometrics, CausalML, Unix sundries"
  },
  "_downloads": {
    "count": 655,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ivDiag"
  },
  "_devurl": "https://github.com/apoorvalal/ivdiag",
  "_searchresults": 45,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ivDiag.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/apoorvalal/ivdiag",
  "_realowner": "apoorvalal",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.4",
      "date": "2023-05-03"
    },
    {
      "version": "1.0.6",
      "date": "2023-09-17"
    },
    {
      "version": "1.0.7",
      "date": "2026-10-30"
    }
  ],
  "_exports": [
    "AR_test",
    "eff_F",
    "ivDiag",
    "ltz",
    "plot_coef",
    "plot_ltz",
    "tF"
  ],
  "_datasets": [
    {
      "name": "gsz",
      "title": "Data from GSZ (2016)",
      "object": "ivDiag",
      "class": [
        "data.frame"
      ],
      "fields": [
        "totassoc_p",
        "libero_comune_allnord",
        "bishopcity",
        "altitudine",
        "escursione",
        "costal",
        "nearsea",
        "population",
        "pop2",
        "gini_land",
        "gini_income"
      ],
      "rows": 5357,
      "table": true,
      "tojson": true
    },
    {
      "name": "gsz_south",
      "title": "Data from GSZ (2016): Subsample",
      "object": "ivDiag",
      "class": [
        "data.frame"
      ],
      "fields": [
        "totassoc_p",
        "bishopcity",
        "altitudine",
        "escursione",
        "costal",
        "nearsea",
        "population",
        "pop2",
        "gini_land",
        "gini_income",
        "capoluogo"
      ],
      "rows": 2175,
      "table": true,
      "tojson": true
    },
    {
      "name": "mcclendon",
      "title": "Data from McClendon (2014)",
      "object": "ivDiag",
      "class": [
        "data.frame"
      ],
      "fields": [
        "intended",
        "attended",
        "openedesteem",
        "esteem"
      ],
      "rows": 3647,
      "table": true,
      "tojson": true
    },
    {
      "name": "rueda",
      "title": "Data from Rueda (2017)",
      "object": "ivDiag",
      "class": [
        "data.frame"
      ],
      "fields": [
        "e_vote_buying",
        "lm_pob_mesa",
        "lz_pob_mesa_f",
        "lpopulation",
        "lpotencial",
        "muni_code"
      ],
      "rows": 4352,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ivDiag-package",
      "title": "IV Estimation and Diagnostics",
      "topics": [
        "ivDiag-package"
      ]
    },
    {
      "page": "AR_test",
      "title": "Anderson Rubin Test",
      "topics": [
        "AR_test"
      ]
    },
    {
      "page": "eff_F",
      "title": "Effective F",
      "topics": [
        "eff_F"
      ]
    },
    {
      "page": "gsz",
      "title": "Data from GSZ (2016)",
      "topics": [
        "gsz"
      ]
    },
    {
      "page": "gsz_south",
      "title": "Data from GSZ (2016): Subsample",
      "topics": [
        "gsz_south"
      ]
    },
    {
      "page": "ivDiag",
      "title": "Omnibus Function for IV Estimation and Diagnostics",
      "topics": [
        "ivDiag"
      ]
    },
    {
      "page": "ltz",
      "title": "Local-to-Zero Test",
      "topics": [
        "ltz"
      ]
    },
    {
      "page": "mcclendon",
      "title": "Data from McClendon (2014)",
      "topics": [
        "mcclendon"
      ]
    },
    {
      "page": "plot_coef",
      "title": "Plot OLS and IV Coefficents",
      "topics": [
        "plot_coef"
      ]
    },
    {
      "page": "plot_ltz",
      "title": "Visualizing Local-to-Zero Adjustment",
      "topics": [
        "plot_ltz"
      ]
    },
    {
      "page": "rueda",
      "title": "Data from Rueda (2017)",
      "topics": [
        "rueda"
      ]
    },
    {
      "page": "tF",
      "title": "Valid t-Ratio Procedure",
      "topics": [
        "tF"
      ]
    }
  ],
  "_readme": "https://github.com/apoorvalal/ivdiag/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cli",
    "clipr",
    "codetools",
    "cpp11",
    "crayon",
    "digest",
    "doParallel",
    "doRNG",
    "dplyr",
    "farver",
    "forcats",
    "foreach",
    "Formula",
    "generics",
    "ggfortify",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "haven",
    "hms",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lfe",
    "lifecycle",
    "magrittr",
    "Matrix",
    "minqa",
    "mnormt",
    "parallelly",
    "patchwork",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "readr",
    "rlang",
    "rngtools",
    "S7",
    "sandwich",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "wCorr",
    "withr",
    "xtable",
    "zoo"
  ],
  "_score": 4.9754318085092635,
  "_indexed": true,
  "_nocasepkg": "ivdiag",
  "_universes": [
    "apoorvalal"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.7",
      "date": "2026-11-01T11:48:36.000Z",
      "distro": "resolute",
      "commit": "9c4cf89140a597a644f2560691c6beeea6995776",
      "fileid": "https://r2.ropensci.org/9cbd4c71300d666e8b7300704ad01cce77ab6fdae35ec38215573f53fc3d47ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/apoorvalal/actions/runs/41303085840"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.7",
      "date": "2026-11-01T11:47:47.000Z",
      "distro": "resolute",
      "commit": "9c4cf89140a597a644f2560691c6beeea6995776",
      "fileid": "https://r2.ropensci.org/9f05d7b15fc65065e6a9e28b734c73c0a553359699045b24a89247ce1807ccf3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/apoorvalal/actions/runs/41303085840"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.7",
      "date": "2026-11-01T11:48:35.000Z",
      "commit": "9c4cf89140a597a644f2560691c6beeea6995776",
      "fileid": "https://r2.ropensci.org/74a9d4386dba9922a26d9aa39889ed9b61db5511775cdb3b48ef477eba8f8b9d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/apoorvalal/actions/runs/41303085840"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.7",
      "date": "2026-11-01T11:48:25.000Z",
      "commit": "9c4cf89140a597a644f2560691c6beeea6995776",
      "fileid": "https://r2.ropensci.org/801ac7eccf53853d2d2c85000ab941d3eb79bc40e0259723caef82bbdb21decf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/apoorvalal/actions/runs/41303085840"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.7",
      "date": "2026-11-01T11:47:45.000Z",
      "commit": "9c4cf89140a597a644f2560691c6beeea6995776",
      "fileid": "https://r2.ropensci.org/c2658d7d3fa43e3c4d157cd086bb00cede55363efb356755bffba7cd073aed50",
      "status": "success",
      "buildurl": "https://github.com/r-universe/apoorvalal/actions/runs/41303085840"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.7",
      "date": "2026-11-01T11:46:54.000Z",
      "commit": "9c4cf89140a597a644f2560691c6beeea6995776",
      "fileid": "https://r2.ropensci.org/f5b2e16c9c523ed04f642153aee0a9b222f7b34f4ed40540e4c6834896637ed7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/apoorvalal/actions/runs/41303085840"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.7",
      "date": "2026-11-01T11:46:54.000Z",
      "commit": "9c4cf89140a597a644f2560691c6beeea6995776",
      "fileid": "https://r2.ropensci.org/ce484d5306d4146a6026ae81797eccc834e3698ce7f6e8a659cd85f85fb30ce4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/apoorvalal/actions/runs/41303085840"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.7",
      "date": "2026-11-01T11:46:55.000Z",
      "commit": "9c4cf89140a597a644f2560691c6beeea6995776",
      "fileid": "https://r2.ropensci.org/0ec4aa817d283912407cdd379ce5dcd6c290368d91c7f8aba70180d6d6780600",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/apoorvalal/actions/runs/41303085840"
    }
  ]
}