{
  "_id": "6a1d3cd41d7bb097a0a3faf1",
  "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-01 07:51:01 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>",
  "MD5sum": "82704cb72634c44040e24f23fbfaa6f1",
  "_user": "amrei-stammann",
  "_type": "src",
  "_file": "alpaca_0.3.5.tar.gz",
  "_fileid": "aa2d709bafb18cdc4126609a15081fef26a248ec62335baabcbdc56b5354bbfe",
  "_filesize": 290912,
  "_sha256": "aa2d709bafb18cdc4126609a15081fef26a248ec62335baabcbdc56b5354bbfe",
  "_created": "2026-06-01T07:51:01.000Z",
  "_published": "2026-06-01T08:03:32.533Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78808822626,
      "time": 167,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7326120954"
    },
    {
      "job": 78808822596,
      "time": 157,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7326118106"
    },
    {
      "job": 78808822581,
      "time": 151,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7326116162"
    },
    {
      "job": 78808822576,
      "time": 135,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7326111074"
    },
    {
      "job": 78808822592,
      "time": 233,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7326128450"
    },
    {
      "job": 78808822659,
      "time": 396,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7326184390"
    },
    {
      "job": 78808822621,
      "time": 167,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7326112414"
    },
    {
      "job": 78808822588,
      "time": 669,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7326257135"
    },
    {
      "job": 78808249953,
      "time": 239,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326069771"
    },
    {
      "job": 78808822507,
      "time": 133,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326110485"
    },
    {
      "job": 78808822610,
      "time": 160,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7326119404"
    },
    {
      "job": 78808822607,
      "time": 115,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7326104875"
    },
    {
      "job": 78808822597,
      "time": 153,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7326116406"
    }
  ],
  "_buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/26742052065",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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",
    "description": "I'm postdoctoral researcher interested in panel data econometrics and R. "
  },
  "_downloads": {
    "count": 5098,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/alpaca"
  },
  "_devurl": "https://github.com/amrei-stammann/alpaca",
  "_searchresults": 125,
  "_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.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "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.652498961132705,
  "_indexed": true,
  "_nocasepkg": "alpaca",
  "_universes": [
    "amrei-stammann"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-06-01T07:53:52.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "fb4b630e7ad0859f1f519f4e3306094c19992e0a8286ec9c05b52a74e61e6edb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/26742052065"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-06-01T07:53:46.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "9b8d9109d48432e7da265a9be6ca24021025b6324e833b871cd905896fdc4ff1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/26742052065"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-06-01T07:53:40.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "e26358ac9832dc1db63927f168bfb1e27edb266295d6be5669b9a742e9a763bd",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/26742052065"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-06-01T07:53:26.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "c836233f8b10d37d2a5843f036794fc5e74db942fafd6938e9f0fe2d8df3f24c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/26742052065"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.5",
      "date": "2026-06-01T07:54:20.000Z",
      "arch": "aarch64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "9d4635eb6621b35e99990df4d532f454e3826742c30b457f424b9f352b293ff7",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/26742052065"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.5",
      "date": "2026-06-01T07:56:35.000Z",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "1c46f2a7d5d16c81f0c73af8026415a2ca0861303dcf5008ebae4974297e9418",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/26742052065"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.5",
      "date": "2026-06-01T07:53:32.000Z",
      "arch": "aarch64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "d73b71884781d202c18a652314268effeb322ddb071c32da43ddc8e8f627e90a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/26742052065"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.5",
      "date": "2026-06-01T07:59:16.000Z",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "b18b47da96266905e0405dcb35c8d94894e2544018090905d53f31648cc62e9a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/26742052065"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.5",
      "date": "2026-06-01T07:53:40.000Z",
      "arch": "emscripten",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "ab0af90960e62e91d4e17598854bb03f0adceb68870cde5af4afed88a793a305",
      "status": "success",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/26742052065"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-06-01T07:53:00.000Z",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "f9e9e3e02f4bc5fd2c8afe377ff30ef6c7d18bfeac5ab47df611b5ac7f8cd9d1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/26742052065"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-06-01T07:52:40.000Z",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "381f78084db68f42b07254efdbda455f147439af9440abc861c14c7092fe5315",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/26742052065"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-06-01T07:52:49.000Z",
      "arch": "x86_64",
      "commit": "b5b4d93d579e163772fedaaf2c5586cd1c24455c",
      "fileid": "f20ae02652d4387d3589711e97dbe13375810fc6820e77594312e3aa2d27f000",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/amrei-stammann/actions/runs/26742052065"
    }
  ]
}