{
  "_id": "6a1405edacfb0bcc41d39552",
  "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-05-25 08:14:52 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",
  "MD5sum": "7421cbfa91709d70c471d8535f541a57",
  "_user": "cran",
  "_type": "src",
  "_file": "alpaca_0.3.5.tar.gz",
  "_fileid": "92b1b7bb65ab11023908971481775aa9f376f8d23bc8d87820ec3fb992a55577",
  "_filesize": 284928,
  "_sha256": "92b1b7bb65ab11023908971481775aa9f376f8d23bc8d87820ec3fb992a55577",
  "_created": "2026-05-25T08:14:52.000Z",
  "_published": "2026-05-25T08:18:53.622Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77679422894,
      "time": 163,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7194431950"
    },
    {
      "job": 77679422872,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7194430443"
    },
    {
      "job": 77679422859,
      "time": 169,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7194433407"
    },
    {
      "job": 77679422903,
      "time": 159,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7194431324"
    },
    {
      "job": 77678970122,
      "time": 223,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7194392026"
    },
    {
      "job": 77679422884,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7194425817"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26390527021",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/alpaca",
  "_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
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-44",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.3.5",
      "date": "2025-10-27"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "amrei-stammann",
      "count": 1,
      "uuid": 20682155
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 4973,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/alpaca"
  },
  "_devurl": "https://github.com/amrei-stammann/alpaca",
  "_searchresults": 144,
  "_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": 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.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-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": 5.031072210383155,
  "_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-05-25T08:17:40.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "5841d5561ed26e18db675ecb7d919ffe890da908",
      "fileid": "024c0171ec2b4ad23f82a24a54164ab43b0a03fc8cf68db2915509a433a04a9d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26390527021"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-05-25T08:17:34.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "5841d5561ed26e18db675ecb7d919ffe890da908",
      "fileid": "c8799bb80f1668d9eac048961bc4e9f9a15b833c94cb132854fc29d106614665",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26390527021"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-05-25T08:17:40.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "5841d5561ed26e18db675ecb7d919ffe890da908",
      "fileid": "ac5f430ff8af6766c8447f76d1bef92043651ab0a44fb1954e9bbf35ab4b44c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26390527021"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-05-25T08:17:34.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "5841d5561ed26e18db675ecb7d919ffe890da908",
      "fileid": "23260a947d8d96ec8467484193987a9968f3f63161e1ddfb6a59def8f3aab3b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26390527021"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.5",
      "date": "2026-05-25T08:17:32.000Z",
      "arch": "emscripten",
      "commit": "5841d5561ed26e18db675ecb7d919ffe890da908",
      "fileid": "b638d92c2774eb59c21abe53e15164440f99052327fda37cb99e9fa0585f29ca",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26390527021"
    }
  ]
}