Learn R Programming

⚠️There's a newer version (0.3.5) of this package.Take me there.

alpaca (version 0.3.1)

Fit GLM's with High-Dimensional k-Way Fixed Effects

Description

Provides a routine to concentrate out factors with many levels during the optimization of the log-likelihood function of the corresponding generalized linear model (glm). The package is based on the algorithm proposed by Stammann (2018) and is restricted to glm's that are based on maximum likelihood estimation and non-linear. It also offers an efficient algorithm to recover estimates of the fixed effects in a post-estimation routine and includes robust and multi-way clustered standard errors. Further the package provides an analytical bias-correction for binary choice models (logit and probit) derived by Fernandez-Val and Weidner (2016) .

Copy Link

Version

Install

install.packages('alpaca')

Monthly Downloads

2,919

Version

0.3.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Amrei Stammann

Last Published

May 24th, 2019

Functions in alpaca (0.3.1)

coef.summary.feglm

Extract coefficient matrix of structural parameters
vcov.feglm

Extract estimates of the covariance matrix
summary.APEs

Summarizing models of class APEs
simGLM

Generate an artificial data set for some GLM's with two-way fixed effects
feglm

Efficiently fit glm's with high-dimensional \(k\)-way fixed effects
alpaca-package

alpaca: A package for fitting glm's with high-dimensional \(k\)-way fixed effects
biasCorr

Asymptotic bias-correction after fitting binary choice models with two-way error component
getFEs

Efficiently recover estimates of the fixed effects after fitting feglm
predict.feglm

Predict method for feglm fits
getAPEs

Compute average partial effects after fitting binary choice models with two-way error component
print.summary.APEs

Print summary.APEs
print.summary.feglm

Print summary.feglm
feglm.nb

Efficiently fit negative binomial glm's with high-dimensional \(k\)-way fixed effects
feglmControl

Set feglm Control Parameters
summary.feglm

Summarizing models of class feglm
coef.APEs

Extract estimates of average partial effects
coef.feglm

Extract estimates of structural parameters
fitted.feglm

Extract feglm fitted values
print.APEs

Print APEs
print.feglm

Print feglm