abc_crit | R Documentation |
The function estimates the number of static factors in the dynamic factor model. These information criteria are based on Alessi, Barigozzi and Capasso (2010). This function is a direct translation of the MATLAB code given in http://www.barigozzi.eu/Codes.html written by Matteo Barigozzi.
abc_crit(X, kmax, nbck = NULL, cmax = 3)
X |
|
kmax |
maximum number of factors |
nbck |
number of sublocks to be used, defaults to |
cmax |
maximum value for the penalty constant, default is 3 |
rhat1 |
determines the number of shocks using a large window |
rhat2 |
determines the number of shocks using a small window |
Alessi, L., M. Barigozzi, and M. Capasso (2010). Improved penalization for determining the number of factors in approximate static factor models. Statistics and Probability Letters 80, 1806-1813.
(abc1 <- abc_crit(X = FRED_heavy$df, kmax = 25))
(abc2 <- abc_crit(X = FRED_light$df, kmax = 25))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.