{
  "_id": "6a63445ab715785e4da9c919",
  "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-07-24 08:17:38 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/cd7024397a7d41ddbcc1aecc28e0048c5cae730fe5460478fe9adef419dc996d",
  "_filesize": 289783,
  "_sha256": "cd7024397a7d41ddbcc1aecc28e0048c5cae730fe5460478fe9adef419dc996d",
  "_expires": "2026-11-01T10:54:17.000Z",
  "_created": "2026-07-24T08:17:38.000Z",
  "_published": "2026-07-24T10:54:18.612Z",
  "_jobs": [
    {
      "job": 89434325398,
      "time": 128,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8590840112"
    },
    {
      "job": 89434325231,
      "time": 157,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8590850493"
    },
    {
      "job": 89434325254,
      "time": 136,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8590843072"
    },
    {
      "job": 89434325261,
      "time": 159,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8590851144"
    },
    {
      "job": 89434325308,
      "time": 132,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8594411766"
    },
    {
      "job": 89434325241,
      "time": 201,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8594322394"
    },
    {
      "job": 89434325267,
      "time": 100,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8594307039"
    },
    {
      "job": 89434325321,
      "time": 199,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8594322393"
    },
    {
      "job": 89433574229,
      "time": 242,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8590790079"
    },
    {
      "job": 89434325207,
      "time": 138,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8590843022"
    },
    {
      "job": 89434325364,
      "time": 114,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8590834106"
    },
    {
      "job": 89434325341,
      "time": 137,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8590842776"
    },
    {
      "job": 89434325349,
      "time": 121,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8590836953"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/30078183515",
  "_status": "success",
  "_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": 1977,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/alpaca"
  },
  "_devurl": "https://github.com/amrei-stammann/alpaca",
  "_searchresults": 153,
  "_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/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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.32888721712267,
  "_indexed": true,
  "_nocasepkg": "alpaca",
  "_universes": [
    "amrei-stammann"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-07-24T08:19:55.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/ce5b21a0a5290f42a52e74bb91dc386ed8f20206389e7588e7d960598f4824f6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/30078183515"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-07-24T08:20:24.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/ddae0ded5a382faf30349e8784df11863c6d074a8edf8b41b7baa69fa28abdfd",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/30078183515"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-07-24T08:20:02.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/08dfd0ea2e8f0f09b3a7a2ca8691eacaa29b5a21caefafc4b8cffdeaf4cbe552",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/30078183515"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-07-24T08:20:19.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/ee06a9af0974d152672d6d7d31ed75b7ee78cb64664d77d9bad4eb44797096ee",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/30078183515"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.5",
      "date": "2026-07-24T10:53:25.000Z",
      "arch": "aarch64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/a266c4ffe2f89ee9da8d6804342396faecb753b7ad7c70e2c538f173e6e33f70",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/30078183515"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.5",
      "date": "2026-07-24T10:49:15.000Z",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/0506274fac830a5ddf6a33690ed75eea69379c5b3221be64edb2353204023d19",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/30078183515"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.5",
      "date": "2026-07-24T10:49:06.000Z",
      "arch": "aarch64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/1af8b9d35c59930b5e8c3ea04b9a1a1315e40d46040bc10a740944198a5c5e49",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/30078183515"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.5",
      "date": "2026-07-24T10:49:20.000Z",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/9bc6c97dbcc77f11e93e56c22a25ebc30d4e7dd228a821c03f0c25f334445f97",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/30078183515"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.5",
      "date": "2026-07-24T08:20:12.000Z",
      "arch": "emscripten",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/eb056fbaadb94d6d98065c9d354567fdf8e039f534066e245f97151f1b77ae2d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/30078183515"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-07-24T08:19:00.000Z",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/d14074d552cee5e390dfeae620b2b35c1dfae5e3c86286bcb01ba7d4fdd2699f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/30078183515"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-07-24T08:19:24.000Z",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/d7529efde9d4bbd5a0d82c5536d7884bd6c79a7a297ae7f853b3198c9d11950c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/30078183515"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-07-24T08:19:06.000Z",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/618946b26cab04ae0342627216fb246b0c2a4eae4f794a3fc09c081ae9e4f147",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/30078183515"
    }
  ]
}