The codes in the fbi package are developed based on the following papers:
Bai, Jushan and Ng, Serena (2002), "Determining the number of factors in approximate factor models".
Bai, Jushan and Ng, Serena (2019), "Rank regularized estimation of approximate factor models".
The fbi package requires the following three R packages:
statsreadrpracmaThey should be installed prior to the installation of the fbi package:
install.packages("stats")
install.packages("readr")
install.packages("pracma")
The fbi package can be installed from github:
devtools::install_github("cykbennie/fbi")
Refer to the fbi.pdf file for details.
Download factor_fred.html for an example using the FRED-MD dataset (https://research.stlouisfed.org/econ/mccracken/fred-databases/).
This project is licensed under the GNU General Public License v3.0 License - see the LICENSE file for details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.