Package: feisr 1.3.0

feisr: Estimating Fixed Effects Individual Slope Models

Provides the function feis() to estimate fixed effects individual slope (FEIS) models. The FEIS model constitutes a more general version of the often-used fixed effects (FE) panel model, as implemented in the package 'plm' by Croissant and Millo (2008) <doi:10.18637/jss.v027.i02>. In FEIS models, data are not only person demeaned like in conventional FE models, but detrended by the predicted individual slope of each person or group. Estimation is performed by applying least squares lm() to the transformed data. For more details on FEIS models see Bruederl and Ludwig (2015, ISBN:1446252442); Frees (2001) <doi:10.2307/3316008>; Polachek and Kim (1994) <doi:10.1016/0304-4076(94)90075-2>; Ruettenauer and Ludwig (2020) <doi:10.1177/0049124120926211>; Wooldridge (2010, ISBN:0262294354). To test consistency of conventional FE and random effects estimators against heterogeneous slopes, the package also provides the functions feistest() for an artificial regression test and bsfeistest() for a bootstrapped version of the Hausman test.

Authors:Tobias Ruettenauer [aut, cre], Volker Ludwig [aut]

feisr_1.3.0.tar.gz
feisr_1.3.0.zip(r-4.5)feisr_1.3.0.zip(r-4.4)feisr_1.3.0.zip(r-4.3)
feisr_1.3.0.tgz(r-4.4-any)feisr_1.3.0.tgz(r-4.3-any)
feisr_1.3.0.tar.gz(r-4.5-noble)feisr_1.3.0.tar.gz(r-4.4-noble)
feisr_1.3.0.tgz(r-4.4-emscripten)feisr_1.3.0.tgz(r-4.3-emscripten)
feisr.pdf |feisr.html
feisr/json (API)
NEWS

# Install 'feisr' in R:
install.packages('feisr', repos = c('https://ruettenauer.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ruettenauer/feisr/issues

Datasets:
  • mwp - Panel data including wages and family status

On CRAN:

6 exports 8 stars 1.45 score 32 dependencies 66 scripts 1.1k downloads

Last updated 2 years agofrom:36fb1c3446. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 20 2024
R-4.5-winOKAug 20 2024
R-4.5-linuxOKAug 20 2024
R-4.4-winOKAug 20 2024
R-4.4-macOKAug 20 2024
R-4.3-winOKAug 20 2024
R-4.3-macOKAug 20 2024

Exports:bsfeistestdetrendfeisfeistestmodel.response.feisslopes

Dependencies:bdsmatrixclicollapsedigestdplyrfansiFormulagenericsgluelatticelifecyclelmtestmagrittrMASSmaxLikmiscToolsnlmepillarpkgconfigplmR6rbibutilsRcppRdpackrlangsandwichtibbletidyselectutf8vctrswithrzoo

Fixed Effects Individual Slopes using feisr

Rendered fromfeisr-vignette.Rmdusingknitr::rmarkdownon Aug 20 2024.

Last update: 2021-02-21
Started: 2020-05-31

Readme and manuals

Help Manual

Help pageTopics
Estimating Fixed Effects Individual Slope Modelsfeisr-package
Bootstrapped Regression Testbsfeistest
Detrend data by individual slopesdetrend
Fixed Effects Individual Slope Estimatorcoef.feis deviance.feis df.residual.feis feis fitted.feis formula.feis hatvalues.feis nobs.feis residuals.feis sigma.feis terms.feis
Artificial Regression Testfeistest
model.matrix for feis objectsmodel.matrix.feis
A function to extract the model.responsemodel.response.feis
Panel data including wages and family statusmwp
Predict method for feis modelspredict.feis
Extract individual slopesslopes
Summary for feis objectsprint.summary.feis summary.feis
Summary for feistest and bsfeistest objectsprint.summary.bsfeistest print.summary.feistest summary.bsfeistest summary.feistest
Calculate Variance-Covariance Matrix for feis modelsvcov.feis