Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getFEs

Efficiently recover estimates of the fixed effects after fitting feglm


Description

Recover estimates of the fixed effects by alternating between the normal equations of the fixed effects as shown by Stammann (2018).

Remark: The system might not have a unique solution since we do not take collinearity into account. If the solution is not unique, an estimable function has to be applied to our solution to get meaningful estimates of the fixed effects. See Gaure (n. d.) for an extensive treatment of this issue.

Usage

getFEs(object = NULL, alpha.tol = 1e-08)

Arguments

object

an object of class "feglm".

alpha.tol

tolerance level for the stopping condition. The algorithm is stopped in iteration i if ||Δ α|| < tol ||α_old||. Default is 1.0e-08.

Value

The function getFEs returns a named list containing named vectors of estimated fixed effects.

References

Gaure, S. (n. d.). "Multicollinearity, identification, and estimable functions". Unpublished.

Stammann, A. (2018). "Fast and Feasible Estimation of Generalized Linear Models with High-Dimensional k-way Fixed Effects". ArXiv e-prints.

See Also


alpaca

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

v0.3.3
GPL-3
Authors
Amrei Stammann [aut, cre], Daniel Czarnowske [aut] (<https://orcid.org/0000-0002-0030-929X>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.