baingcriterion | R Documentation |
This function calculates two different information criteria for determining the number of static factors, which were introduced in Bai & Ng (2002). The function gives two different sets of information criteria (IC and PC), which use three different penalty functions to take into account the increased complexity of the model.
baingcriterion(X, rmax, rvar = NULL)
X |
|
rmax |
maximum number of static factors to be considered |
rvar |
fix penalty function scaling term, defaults to |
lists of IC and PC, where the values indicate the suggested number of factors
Bai, J., & Ng, S. (2002). Determining the number of factors in approximate factor models. Econometrica, 70(1), 191-221.
(bn1 <- baingcriterion(X = FRED_heavy$df, 25))
(bn2 <- baingcriterion(X = FRED_light$df, 25))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.