{
  "_id": "6ae309cb95ca2370cc8cd5a8",
  "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",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-29 08:49:26 UTC",
    "User": "root"
  },
  "Author": "Amrei Stammann [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1136-286X>), Daniel Czarnowske\n[aut] (ORCID: <https://orcid.org/0000-0002-0030-929X>)",
  "Maintainer": "Amrei Stammann <amrei.stammann@uni-bayreuth.de>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-10-27 08:30:07 UTC",
  "RemoteUrl": "https://github.com/cran/alpaca",
  "RemoteRef": "HEAD",
  "RemoteSha": "5841d5561ed26e18db675ecb7d919ffe890da908",
  "_user": "cran",
  "_type": "src",
  "_file": "alpaca_0.3.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/3b287c27d91243be535447a796d10090e2096a85e8a3a3e2d7abd2ebe32ad2d5",
  "_filesize": 285372,
  "_sha256": "3b287c27d91243be535447a796d10090e2096a85e8a3a3e2d7abd2ebe32ad2d5",
  "_expires": "2027-02-06T08:54:34.000Z",
  "_created": "2026-10-29T08:49:26.000Z",
  "_published": "2026-10-29T08:54:35.769Z",
  "_upstream": "https://github.com/cran/alpaca",
  "_status": "success",
  "_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"
  },
  "_jobs": [
    {
      "job": 123350188360,
      "time": 149,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12884746716"
    },
    {
      "job": 123350188453,
      "time": 167,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12884452247"
    },
    {
      "job": 123350188463,
      "time": 137,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12884586665"
    },
    {
      "job": 123350188507,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12884302433"
    },
    {
      "job": 123348582186,
      "time": 239,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12884711329"
    },
    {
      "job": 123350188627,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12885175031"
    },
    {
      "job": 123350188471,
      "time": 260,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12885250334"
    },
    {
      "job": 123350188649,
      "time": 159,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12884517023"
    },
    {
      "job": 123350188417,
      "time": 214,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12884427411"
    },
    {
      "job": 123350188449,
      "time": 121,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12884313378"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40844466747",
  "_commit": {
    "id": "5841d5561ed26e18db675ecb7d919ffe890da908",
    "author": "Amrei Stammann <amrei.stammann@uni-bayreuth.de>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.5\n",
    "time": 1761553807
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-44",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "amrei-stammann",
      "count": 1,
      "uuid": 20682155
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 2195,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/alpaca"
  },
  "_devurl": "https://github.com/amrei-stammann/alpaca",
  "_searchresults": 111,
  "_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": false,
  "_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": "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.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/cran/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-12 15:30:03",
      "modified": "2025-10-27 08:30:07",
      "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 21:10:03",
      "modified": "2022-08-10 14:20:02",
      "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 21:10:03",
      "modified": "2025-10-27 08:30:07",
      "commits": 4
    }
  ],
  "_score": 4.562848762420479,
  "_indexed": false,
  "_nocasepkg": "alpaca",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://amrei-stammann.r-universe.dev/alpaca",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-10-29T08:51:58.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5841d5561ed26e18db675ecb7d919ffe890da908",
      "fileid": "https://r2.ropensci.org/03fe17c091c8c87d1457853ffc5a61960332715ba08c76cd533e12c9a41d4ada",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40844466747"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-10-29T08:52:06.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5841d5561ed26e18db675ecb7d919ffe890da908",
      "fileid": "https://r2.ropensci.org/85f6f9529920b707fa2734806b245cf6a8949d0903f7639140370ff931db86e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40844466747"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-10-29T08:51:48.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5841d5561ed26e18db675ecb7d919ffe890da908",
      "fileid": "https://r2.ropensci.org/6b94d86e8dcfee42cea4f328fb5a2014f9a2e3be400f43c1e44a2ef87e1ced43",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40844466747"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-10-29T08:52:05.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5841d5561ed26e18db675ecb7d919ffe890da908",
      "fileid": "https://r2.ropensci.org/8fd387d5c6f575273ff06bf53fb51b03831d1e6c74a9d22f642f34d39f89f7b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40844466747"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.5",
      "date": "2026-10-29T08:51:37.000Z",
      "arch": "emscripten",
      "commit": "5841d5561ed26e18db675ecb7d919ffe890da908",
      "fileid": "https://r2.ropensci.org/76ea62c384b846202eec38af555712918c82a5c046f862533afc09420d56b19a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40844466747"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-10-29T08:53:27.000Z",
      "arch": "aarch64",
      "commit": "5841d5561ed26e18db675ecb7d919ffe890da908",
      "fileid": "https://r2.ropensci.org/c8c450df415ad5baf45ae956a86f3ae2bf5b416f7ceb4557d50d21809af308d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40844466747"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-10-29T08:50:51.000Z",
      "arch": "x86_64",
      "commit": "5841d5561ed26e18db675ecb7d919ffe890da908",
      "fileid": "https://r2.ropensci.org/8727ba485fc378741861e953b36774e58873127a4ed683c36939fe33cd189755",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40844466747"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-10-29T08:52:40.000Z",
      "arch": "aarch64",
      "commit": "5841d5561ed26e18db675ecb7d919ffe890da908",
      "fileid": "https://r2.ropensci.org/0bc3c321c1ca7136318d7e0f4b753490de39dd03e2865742d64fb14bd412ee8e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40844466747"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-10-29T08:50:59.000Z",
      "arch": "x86_64",
      "commit": "5841d5561ed26e18db675ecb7d919ffe890da908",
      "fileid": "https://r2.ropensci.org/44492e85e92ab0a479ef795ebc8e15e2e600d4f338ad4aa871601bc4a2a36632",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40844466747"
    }
  ]
}