capybara: Fast and Memory Efficient Fitting of Linear Models with High-Dimensional Fixed Effects

Fast and user-friendly estimation of generalized linear models with multiple fixed effects and cluster the standard errors. The method to obtain the estimated fixed-effects coefficients is based on Stammann (2018) <doi:10.48550/arXiv.1707.01815>, Gaure (2013) <doi:10.1016/j.csda.2013.03.024>, Berge (2018) <https://ideas.repec.org/p/luc/wpaper/18-13.html>, and Correia et al. (2020) <doi:10.1177/1536867X20909691>.

Version: 1.8.0
Depends: R (≥ 3.5.0)
Imports: data.table, Formula, generics, ggplot2, kendallknight, MASS, stats
LinkingTo: cpp11, cpp11armadillo
Suggests: broom, knitr, rmarkdown, testthat (≥ 3.0.0), units
Published: 2025-08-27
Author: Mauricio Vargas Sepulveda ORCID iD [aut, cre], Yoto Yotov [ctb]
Maintainer: Mauricio Vargas Sepulveda <m.vargas.sepulveda at gmail.com>
BugReports: https://github.com/pachadotdev/capybara/issues
License: Apache License (≥ 2)
URL: https://pacha.dev/capybara/, https://github.com/pachadotdev/capybara
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: capybara results

Documentation:

Reference manual: capybara.html , capybara.pdf
Vignettes: Poisson Pseudo-Maximum Likelihood (PPML) Model with Cluster-Robust Standard Errors (source, R code)

Downloads:

Package source: capybara_1.8.0.tar.gz
Windows binaries: r-devel: capybara_1.0.1.zip, r-release: capybara_1.0.1.zip, r-oldrel: capybara_1.0.1.zip
macOS binaries: r-release (arm64): capybara_1.0.1.tgz, r-oldrel (arm64): capybara_1.0.1.tgz, r-release (x86_64): capybara_1.0.1.tgz, r-oldrel (x86_64): capybara_1.0.1.tgz
Old sources: capybara archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=capybara to link to this page.