{
  "_id": "6ac65991f511ae58c09aa6fe",
  "Package": "alpaca",
  "Type": "Package",
  "Title": "Fit GLM's with High-Dimensional k-Way Fixed Effects",
  "Version": "0.3.5",
  "Authors@R": "c(\nperson(\"Amrei\", \"Stammann\", email = \"amrei.stammann@uni-bayreuth.de\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-1136-286X\")),\nperson(\"Daniel\", \"Czarnowske\", email = \"daniel.czarnowske@hhu.de\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-0030-929X\"))\n)",
  "Description": "Provides a routine to partial out factors with many levels\nduring the optimization of the log-likelihood function of the\ncorresponding generalized linear model (glm). The package is\nbased on the algorithm described in Stammann (2018)\n<doi:10.48550/arXiv.1707.01815> and is restricted to glm's that\nare based on maximum likelihood estimation and nonlinear. It\nalso offers an efficient algorithm to recover estimates of the\nfixed effects in a post-estimation routine and includes robust\nand multi-way clustered standard errors. Further the package\nprovides analytical bias corrections for binary choice models\nderived by Fernandez-Val and Weidner (2016)\n<doi:10.1016/j.jeconom.2015.12.014> and Hinz, Stammann, and\nWanner (2020) <doi:10.48550/arXiv.2004.12655>.",
  "License": "GPL-3",
  "URL": "https://github.com/amrei-stammann/alpaca",
  "BugReports": "https://github.com/amrei-stammann/alpaca/issues",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Repository": "https://amrei-stammann.r-universe.dev",
  "Date/Publication": "2025-12-31 10:44:42 UTC",
  "RemoteUrl": "https://github.com/amrei-stammann/alpaca",
  "RemoteRef": "HEAD",
  "RemoteSha": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-07 12:47:09 UTC",
    "User": "root"
  },
  "Author": "Amrei Stammann [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1136-286X>),\nDaniel Czarnowske [aut] (ORCID:\n<https://orcid.org/0000-0002-0030-929X>)",
  "Maintainer": "Amrei Stammann <amrei.stammann@uni-bayreuth.de>",
  "_user": "amrei-stammann",
  "_type": "src",
  "_file": "alpaca_0.3.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/781950de854926e5f96c9d1b68f09e5842b42843e9c03027d6b959f07e23b8eb",
  "_filesize": 291137,
  "_sha256": "781950de854926e5f96c9d1b68f09e5842b42843e9c03027d6b959f07e23b8eb",
  "_expires": "2027-01-15T14:39:11.000Z",
  "_created": "2026-10-07T12:47:09.000Z",
  "_published": "2026-10-07T14:39:13.596Z",
  "_buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/37623085841",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 112799614835,
      "time": 121,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11482684044"
    },
    {
      "job": 112799614953,
      "time": 151,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11482948309"
    },
    {
      "job": 112799614867,
      "time": 118,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11483316028"
    },
    {
      "job": 112799614886,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11482888586"
    },
    {
      "job": 112799614919,
      "time": 120,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11489568381"
    },
    {
      "job": 112799614906,
      "time": 241,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11490157306"
    },
    {
      "job": 112799614975,
      "time": 113,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11491096380"
    },
    {
      "job": 112799615109,
      "time": 285,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11489604635"
    },
    {
      "job": 112798117575,
      "time": 213,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11482693423"
    },
    {
      "job": 112799614627,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11482738458"
    },
    {
      "job": 112799614795,
      "time": 252,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11483296929"
    },
    {
      "job": 112799614825,
      "time": 213,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11483018806"
    },
    {
      "job": 112799614998,
      "time": 126,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11482793312"
    },
    {
      "job": 112799614858,
      "time": 196,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11482809175"
    },
    {
      "job": 112799614846,
      "time": 129,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11482568997"
    }
  ],
  "_upstream": "https://github.com/amrei-stammann/alpaca",
  "_commit": {
    "id": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
    "author": "Amrei Stammann <Amrei.Stammann@uni-bayreuth.de>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update CRAN v0.3.5",
    "time": 1767177882
  },
  "_maintainer": {
    "name": "Amrei Stammann",
    "email": "amrei.stammann@uni-bayreuth.de",
    "login": "amrei-stammann",
    "twitter": "@AmreiStammann",
    "description": "I'm postdoctoral researcher interested in panel data econometrics and R. ",
    "uuid": 20682155,
    "orcid": "0000-0003-1136-286X"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "Formula",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "bife",
      "role": "Suggests"
    },
    {
      "package": "car",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lfe",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "amrei-stammann",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-01",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 47,
  "_contributors": [
    {
      "user": "amrei-stammann",
      "count": 2,
      "uuid": 20682155
    }
  ],
  "_userbio": {
    "uuid": 20682155,
    "type": "user",
    "name": "Amrei Stammann",
    "followers": 25,
    "description": "I'm postdoctoral researcher interested in panel data econometrics and R. "
  },
  "_downloads": {
    "count": 2102,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/alpaca"
  },
  "_devurl": "https://github.com/amrei-stammann/alpaca",
  "_searchresults": 152,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/alpaca.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/amrei-stammann/alpaca",
  "_realowner": "amrei-stammann",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2",
      "date": "2018-07-31"
    },
    {
      "version": "0.3",
      "date": "2019-05-15"
    },
    {
      "version": "0.3.1",
      "date": "2019-05-24"
    },
    {
      "version": "0.3.2",
      "date": "2020-01-12"
    },
    {
      "version": "0.3.3",
      "date": "2020-10-30"
    },
    {
      "version": "0.3.4",
      "date": "2022-08-10"
    },
    {
      "version": "0.3.5",
      "date": "2025-10-27"
    }
  ],
  "_exports": [
    "biasCorr",
    "feglm",
    "feglm.control",
    "feglm.nb",
    "feglmControl",
    "getAPEs",
    "getFEs",
    "simGLM"
  ],
  "_help": [
    {
      "page": "alpaca-package",
      "title": "alpaca: A package for fitting glm's with high-dimensional k-way fixed effects",
      "topics": [
        "alpaca-package"
      ]
    },
    {
      "page": "alpaca",
      "title": "alpaca: A package for fitting glm's with high-dimensional k-way fixed effects",
      "topics": [
        "alpaca-package",
        "alpaca"
      ]
    },
    {
      "page": "biasCorr",
      "title": "Asymptotic bias correction after fitting binary choice models with a one-/two-/three-way error component",
      "topics": [
        "biasCorr"
      ]
    },
    {
      "page": "coef.APEs",
      "title": "Extract estimates of average partial effects",
      "topics": [
        "coef.APEs"
      ]
    },
    {
      "page": "coef.feglm",
      "title": "Extract estimates of structural parameters",
      "topics": [
        "coef.feglm"
      ]
    },
    {
      "page": "coef.summary.APEs",
      "title": "Extract coefficient matrix for average partial effects",
      "topics": [
        "coef.summary.APEs"
      ]
    },
    {
      "page": "coef.summary.feglm",
      "title": "Extract coefficient matrix for structural parameters",
      "topics": [
        "coef.summary.feglm"
      ]
    },
    {
      "page": "feglm",
      "title": "Efficiently fit glm's with high-dimensional k-way fixed effects",
      "topics": [
        "feglm"
      ]
    },
    {
      "page": "feglm.control",
      "title": "Set 'feglm' Control Parameters",
      "topics": [
        "feglm.control"
      ]
    },
    {
      "page": "feglm.nb",
      "title": "Efficiently fit negative binomial glm's with high-dimensional k-way fixed effects",
      "topics": [
        "feglm.nb"
      ]
    },
    {
      "page": "feglmControl",
      "title": "Set 'feglm' Control Parameters",
      "topics": [
        "feglm.control",
        "feglmControl"
      ]
    },
    {
      "page": "fitted.feglm",
      "title": "Extract 'feglm' fitted values",
      "topics": [
        "fitted.feglm"
      ]
    },
    {
      "page": "getAPEs",
      "title": "Compute average partial effects after fitting binary choice models with a one-/two-/three-way error component",
      "topics": [
        "getAPEs"
      ]
    },
    {
      "page": "getFEs",
      "title": "Efficiently recover estimates of the fixed effects after fitting 'feglm'",
      "topics": [
        "getFEs"
      ]
    },
    {
      "page": "predict.feglm",
      "title": "Predict method for 'feglm' fits",
      "topics": [
        "predict.feglm"
      ]
    },
    {
      "page": "print.APEs",
      "title": "Print 'APEs'",
      "topics": [
        "print.APEs"
      ]
    },
    {
      "page": "print.feglm",
      "title": "Print 'feglm'",
      "topics": [
        "print.feglm"
      ]
    },
    {
      "page": "print.summary.APEs",
      "title": "Print 'summary.APEs'",
      "topics": [
        "print.summary.APEs"
      ]
    },
    {
      "page": "print.summary.feglm",
      "title": "Print 'summary.feglm'",
      "topics": [
        "print.summary.feglm"
      ]
    },
    {
      "page": "simGLM",
      "title": "Generate an artificial data set for some GLM's with two-way fixed effects",
      "topics": [
        "simGLM"
      ]
    },
    {
      "page": "summary.APEs",
      "title": "Summarizing models of class 'APEs'",
      "topics": [
        "summary.APEs"
      ]
    },
    {
      "page": "summary.feglm",
      "title": "Summarizing models of class 'feglm'",
      "topics": [
        "summary.feglm"
      ]
    },
    {
      "page": "vcov.APEs",
      "title": "Compute covariance matrix after estimating 'APEs'",
      "topics": [
        "vcov.APEs"
      ]
    },
    {
      "page": "vcov.feglm",
      "title": "Compute covariance matrix after fitting 'feglm'",
      "topics": [
        "vcov.feglm"
      ]
    }
  ],
  "_readme": "https://github.com/amrei-stammann/alpaca/raw/HEAD/README.md",
  "_rundeps": [
    "data.table",
    "Formula",
    "MASS",
    "Rcpp",
    "RcppArmadillo"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "trade.Rmd",
      "filename": "trade.html",
      "title": "Estimating the intensive and extensive margin of trade",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Data preparation",
        "Estimating the intensive margin of trade",
        "Testing linear restrictions",
        "Estimating the extensive margin of trade",
        "References"
      ],
      "created": "2020-01-19 12:27:57",
      "modified": "2025-12-31 10:44:42",
      "commits": 4
    },
    {
      "source": "howto.Rmd",
      "filename": "howto.html",
      "title": "How to use alpaca",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Generalized linear models with fixed effects",
        "Estimating a binary-choice model with individual and time fixed effects",
        "Further Features",
        "References"
      ],
      "created": "2019-05-14 17:03:27",
      "modified": "2022-09-19 08:18:32",
      "commits": 5
    },
    {
      "source": "replication.Rmd",
      "filename": "replication.html",
      "title": "Replicating an Empirical Example of International Trade",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Data preparation",
        "Some replications",
        "Testing linear restrictions",
        "References"
      ],
      "created": "2019-05-14 17:03:27",
      "modified": "2025-12-31 10:44:42",
      "commits": 3
    }
  ],
  "_score": 7.352665416628394,
  "_indexed": true,
  "_nocasepkg": "alpaca",
  "_universes": [
    "amrei-stammann"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-10-07T12:49:12.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/bd6315fd9e6efce9f0692f8bcc91c94a4eb298a8843a7d9319988913a3e8c15e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/37623085841"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-10-07T12:49:34.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/c589df08849e7096b3a47798ad03da159c661cd91ed3d657db241b6e3f416bb8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/37623085841"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-10-07T12:49:11.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/8a14272a0f4817a7ead75677c84450c4182d2a3e0d04fc29ba23e5c3eab9f6f4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/37623085841"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-10-07T12:49:16.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/b8ebebda95ad5d41c8ecdc81f549775af855dd06066ca41312ee3c4580af4a77",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/37623085841"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.5",
      "date": "2026-10-07T14:32:04.000Z",
      "arch": "aarch64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/2c5403708ecb9ebabc5c73cd0445e33225c078f695500bbd80b14755119b1917",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/37623085841"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.5",
      "date": "2026-10-07T14:33:08.000Z",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/1c02f260551deefa9cb139fbe55273e777b745e69905a5889d4b94a4383a8ec4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/37623085841"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.5",
      "date": "2026-10-07T14:30:46.000Z",
      "arch": "aarch64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/475a03507b9f8a2f05b5b8334361b58adccbac91d9b199cb176945184b8643ea",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/37623085841"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.5",
      "date": "2026-10-07T14:37:01.000Z",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/be95c0cae0b1b2ef634142d7fc1b8e6882fcdcb4f3d890f38bb0db9a299fdd3d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/37623085841"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.5",
      "date": "2026-10-07T12:49:19.000Z",
      "arch": "emscripten",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/d8eb89d7060ff83450d5872aa195288f22de3befd7106678ddf26bcf948f2185",
      "status": "success",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/37623085841"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-10-07T12:50:58.000Z",
      "arch": "aarch64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/9d3430113e646bcd5c1adc90f076ca9f197a551b2d54296964f6125cff1e5f48",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/37623085841"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-10-07T12:49:21.000Z",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/5961405301db7a55c3be0df2c643b9237250d8886a63dd15a7a371d262fb60cf",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/37623085841"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-10-07T12:48:45.000Z",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/4f1287b7c197311f4c46584d7a93a34b805152224cf06c8e6dca6eba63db1cc8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/37623085841"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-10-07T12:50:08.000Z",
      "arch": "aarch64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/2295bb6422e132193caa9bb9d55c31e2956ea7abeffe514a5bd8eb57f47d6b6f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/37623085841"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-10-07T12:48:40.000Z",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/d2c41bb8d0488cf5052012f14b836477aeb92c8419049825082a8d0f698cc8c6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/37623085841"
    }
  ]
}