{
  "_id": "6a4961e077d6db3f2f966b2c",
  "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-06-24 13:00:37 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/56783d5d7db2c09526cd3ce8af9fc06158266517eeb926fae438e0330b9ff41e",
  "_filesize": 293483,
  "_sha256": "56783d5d7db2c09526cd3ce8af9fc06158266517eeb926fae438e0330b9ff41e",
  "_expires": "2026-10-12T19:41:19.000Z",
  "_created": "2026-06-24T13:00:37.000Z",
  "_published": "2026-07-04T19:41:20.678Z",
  "_jobs": [
    {
      "job": 85161386621,
      "time": 167,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7850330396"
    },
    {
      "job": 85161386722,
      "time": 167,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7850328541"
    },
    {
      "job": 85161386735,
      "time": 172,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7850332463"
    },
    {
      "job": 85161386771,
      "time": 223,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7850352146"
    },
    {
      "job": 85161386607,
      "time": 147,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7850311251"
    },
    {
      "job": 85161386743,
      "time": 305,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7850377526"
    },
    {
      "job": 85161386691,
      "time": 201,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7850329413"
    },
    {
      "job": 85161386695,
      "time": 258,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7850357533"
    },
    {
      "job": 85161386617,
      "time": 293,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7850254099"
    },
    {
      "job": 85161386602,
      "time": 194,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7850339612"
    },
    {
      "job": 85161386632,
      "time": 143,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7850318759"
    },
    {
      "job": 85161386636,
      "time": 178,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7850333745"
    },
    {
      "job": 85161386688,
      "time": 140,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7850317638"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/28100045038",
  "_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": 4077,
    "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.0",
  "_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.643221259261154,
  "_indexed": true,
  "_nocasepkg": "alpaca",
  "_universes": [
    "amrei-stammann"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-06-24T13:03:39.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/0a6512ced947747be7cdfd44dc754a9039123e8ac94ad1dc0d118a236bf0abf4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/28100045038"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-06-24T13:03:31.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/76b8497bb31a2a2a0fae3466fc2b4d8cc75df7263012339aea281c9da9952bbb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/28100045038"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-06-24T13:03:42.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/1712afdfd746190b7b1aac41ef8fa89c99324eb43dc0fe11f25fed6f089e782e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/28100045038"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-06-24T13:04:23.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/f148d4941d9050302df32b41a97838f2c88c5c44c8cffc79b66092d2f49574cc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/28100045038"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.5",
      "date": "2026-06-24T13:02:58.000Z",
      "arch": "aarch64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/b2715bc264841387649feef540d5e54931ba71cb9aef3a5e1aa6b437a67ad11f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/28100045038"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.5",
      "date": "2026-06-24T13:05:02.000Z",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/a6a4ff8b904ad100ed818e6b340be1b3cc6ee94269a2f04399df910ec49578a6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/28100045038"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.5",
      "date": "2026-06-24T13:03:20.000Z",
      "arch": "aarch64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/f531fd1da7ae1d25130fa8f487144d1b683b56719f29cf0837469c6861b72665",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/28100045038"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.5",
      "date": "2026-06-24T13:04:21.000Z",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/e1d3e7caa4d6c33550e2f58e3841811beda5c559a0909428e212ff20335d3fc1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/28100045038"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.5",
      "date": "2026-06-24T13:04:10.000Z",
      "arch": "emscripten",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/41288f4a2b7170a26fa7c112e0149d02525912c9c12a8e354fe4dc143a6bd151",
      "status": "success",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/28100045038"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-06-24T13:02:28.000Z",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/c8417481e34b5f563056e2643632c363b181f0a474a56a4236ce6ca21373f4b3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/28100045038"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-06-24T13:02:51.000Z",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/703c76737980e86e6b5bd1aa0cd96458a05820f18b177861fec21a4dd23f3b14",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/28100045038"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-06-24T13:02:20.000Z",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "https://r2.ropensci.org/b5b77cf4bb7b55afde52f0d2ceca4aa6d39251d930251135c7b922d3bb87ffe9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/28100045038"
    }
  ]
}