{
  "_id": "6acd8725a14063b82c3ac320",
  "Package": "civ",
  "Title": "Categorical Instrumental Variables",
  "Version": "0.1.0.9000",
  "Date": "2023-12-07",
  "Authors@R": "c(\nperson(\"Thomas\", \"Wiemann\", role = c(\"aut\", \"cre\"), email = \"wiemann@uchicago.edu\"))",
  "Description": "Implementation of the categorical instrumental variable\n(CIV) estimator proposed by Wiemann (2023) <arXiv:2311.17021>.\nCIV allows for optimal instrumental variable estimation in\nsettings with relatively few observations per category. To\nobtain valid inference in these challenging settings, CIV\nleverages a regularization assumption that implies existence of\na latent categorical variable with fixed finite support\nachieving the same first stage fit as the observed instrument.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/thomaswiemann/civ",
  "BugReports": "https://github.com/thomaswiemann/civ/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.1.1",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://thomaswiemann.r-universe.dev",
  "Date/Publication": "2026-10-12 20:22:56 UTC",
  "RemoteUrl": "https://github.com/thomaswiemann/civ",
  "RemoteRef": "HEAD",
  "RemoteSha": "8b14247233c27b2943b6e8a95772aecd657489a2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-13 01:15:49 UTC",
    "User": "root"
  },
  "Author": "Thomas Wiemann [aut, cre]",
  "Maintainer": "Thomas Wiemann <wiemann@uchicago.edu>",
  "_user": "thomaswiemann",
  "_type": "src",
  "_file": "civ_0.1.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/21e10cf7717d6f7be3744b22967740cdd9d1df765a528b178868963396b40fb9",
  "_filesize": 169105,
  "_sha256": "21e10cf7717d6f7be3744b22967740cdd9d1df765a528b178868963396b40fb9",
  "_expires": "2027-01-21T01:19:31.000Z",
  "_created": "2026-10-13T01:15:49.000Z",
  "_published": "2026-10-13T01:19:33.679Z",
  "_buildurl": "https://github.com/r-universe/thomaswiemann/actions/runs/38330970010",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115081441300,
      "time": 187,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11782653117"
    },
    {
      "job": 115081441327,
      "time": 161,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11783515767"
    },
    {
      "job": 115081441296,
      "time": 98,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11782707870"
    },
    {
      "job": 115081441273,
      "time": 90,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11782957253"
    },
    {
      "job": 115080441528,
      "time": 238,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11783310683"
    },
    {
      "job": 115081441247,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11783570553"
    },
    {
      "job": 115081441271,
      "time": 105,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11783470746"
    },
    {
      "job": 115081441315,
      "time": 64,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11782986230"
    },
    {
      "job": 115081441387,
      "time": 84,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11782727721"
    }
  ],
  "_upstream": "https://github.com/thomaswiemann/civ",
  "_commit": {
    "id": "8b14247233c27b2943b6e8a95772aecd657489a2",
    "author": "Thomas Wiemann <wiemann@uchicago.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #4 from thomaswiemann/bic\n\nadds bic for first stage",
    "time": 1791836576
  },
  "_maintainer": {
    "name": "Thomas Wiemann",
    "email": "wiemann@uchicago.edu",
    "login": "thomaswiemann",
    "description": "Assistant prof @ Chicago Booth",
    "uuid": 35801592
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "AER",
      "role": "Imports"
    },
    {
      "package": "kcmeans",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "thomaswiemann",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-42",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "thomaswiemann",
      "count": 32,
      "uuid": 35801592
    }
  ],
  "_userbio": {
    "uuid": 35801592,
    "type": "user",
    "name": "Thomas Wiemann",
    "followers": 52,
    "description": "Assistant prof @ Chicago Booth"
  },
  "_downloads": {
    "count": 288,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/civ"
  },
  "_devurl": "https://github.com/thomaswiemann/civ",
  "_searchresults": 5,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/civ.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/thomaswiemann/civ",
  "_realowner": "thomaswiemann",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2023-12-08"
    }
  ],
  "_exports": [
    "bic",
    "civ"
  ],
  "_help": [
    {
      "page": "bic",
      "title": "Select K for 'civ()' by BIC.",
      "topics": [
        "bic"
      ]
    },
    {
      "page": "civ",
      "title": "Categorical Instrumental Variable Estimator.",
      "topics": [
        "civ"
      ]
    },
    {
      "page": "summary.civ",
      "title": "Inference Methods for the Categorical Instrumental Variable Estimator.",
      "topics": [
        "summary.civ"
      ]
    }
  ],
  "_readme": "https://github.com/thomaswiemann/civ/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "AER",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "Ckmeans.1d.dp",
    "cli",
    "colorspace",
    "cowplot",
    "cpp11",
    "Deriv",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "kcmeans",
    "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",
    "sandwich",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "civ.Rmd",
      "filename": "civ.html",
      "title": "Get Started",
      "engine": "knitr::rmarkdown",
      "headings": [
        "References"
      ],
      "created": "2023-10-27 21:56:58",
      "modified": "2023-12-08 13:03:43",
      "commits": 6
    }
  ],
  "_score": 4.176091259055681,
  "_indexed": true,
  "_nocasepkg": "civ",
  "_universes": [
    "thomaswiemann"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-10-13T01:18:58.000Z",
      "distro": "resolute",
      "commit": "8b14247233c27b2943b6e8a95772aecd657489a2",
      "fileid": "https://r2.ropensci.org/26776c522fa2e55f2aad1a74bfc436fbb4af58faaa82b9b9e1b6b76f910f938b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomaswiemann/actions/runs/38330970010"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-10-13T01:18:36.000Z",
      "distro": "resolute",
      "commit": "8b14247233c27b2943b6e8a95772aecd657489a2",
      "fileid": "https://r2.ropensci.org/e46bb56fb9e4d66a6281a5c8b1d3047c85295f9cc892a54cb7a9e3d8a097b93c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/thomaswiemann/actions/runs/38330970010"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-10-13T01:17:40.000Z",
      "commit": "8b14247233c27b2943b6e8a95772aecd657489a2",
      "fileid": "https://r2.ropensci.org/77923441f332965487d86a9cafa9551c68cc1d59f5cad725d8578c1b806d5f55",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/thomaswiemann/actions/runs/38330970010"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-10-13T01:17:31.000Z",
      "commit": "8b14247233c27b2943b6e8a95772aecd657489a2",
      "fileid": "https://r2.ropensci.org/37c25bed5afafb8855a28f41f6dcd79f7f3cb261bf20393f98492d1f4f426a35",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/thomaswiemann/actions/runs/38330970010"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.9000",
      "date": "2026-10-13T01:17:51.000Z",
      "commit": "8b14247233c27b2943b6e8a95772aecd657489a2",
      "fileid": "https://r2.ropensci.org/1c45b56201851ba6a1fd9056bdbd9e769a9c52d861fa7c90a1afc5b742761e3c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/thomaswiemann/actions/runs/38330970010"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-10-13T01:17:33.000Z",
      "commit": "8b14247233c27b2943b6e8a95772aecd657489a2",
      "fileid": "https://r2.ropensci.org/4732dbdae1c2ee3362da7a9a55d7af2f6c5f8d764f6389caefbb7db7fbb080cd",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/thomaswiemann/actions/runs/38330970010"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-10-13T01:16:57.000Z",
      "commit": "8b14247233c27b2943b6e8a95772aecd657489a2",
      "fileid": "https://r2.ropensci.org/1b961a8bc7438d34ddedcdac0463a52fa007d3c964a5fc3aa08bbec57d92e2d7",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/thomaswiemann/actions/runs/38330970010"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-10-13T01:17:16.000Z",
      "commit": "8b14247233c27b2943b6e8a95772aecd657489a2",
      "fileid": "https://r2.ropensci.org/bfbc5f5ee439b5aa0d9350e9eb030279847690dd44af355eae68ac23a0d13706",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/thomaswiemann/actions/runs/38330970010"
    }
  ]
}