| est_num | R Documentation |
Estimates the number of factors using various Information Criteria (IC) and Eigenvalue Ratio tests.
est_num(X, kmax = 8, type = "BIC3")
X |
The observation data matrix of dimension |
kmax |
The maximum number of factors to consider. Default is 8. |
type |
The criterion used in determining the number of factors. Default is |
rhat |
The estimated number of factors (an integer). |
Bai, J., & Ng, S. (2002). Determining the number of factors in approximate factor models. Econometrica, 70(1), 191-221.
Ahn, S. C., & Horenstein, A. R. (2013). Eigenvalue ratio test for the number of factors. Econometrica, 81(3), 1203-1227.
## Not run:
X <- matrix(rnorm(100*20), 100, 20)
est_num(X, kmax = 8, type = "BIC3")
est_num(X, kmax = 8, type = "ER")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.