bfe: An R package for linear models in the presence of treatment effect heterogeneity
This package implements the estimators and tests found in Gibbons, Suárez-Serrato and Urbancic, 2018, "Broken or Fixed Effects?" Journal of Econometric Methods. [article].
To install the package, first install
devtools as you normally would, then load the package. Install
devtools::install_github('gibbonscharlie/bfe'). Once the package is out of its early beta stage (see below), it will be uploaded to CRAN.
Examples and documentation
See the help files for documentation, particularly those for
Please note that this package is still in development. Calculations involving variances (standard errors, test statistics) do not yet line up with the Stata results due to small sample correction issues (in process of being harmonized). If you have any feedback or suggestions, feel free to reach out by submitting an issue above or by sending me an e-mail.