The function gives the number of shocks that minimizes the information criterion.
ICshocks(x, r = NULL, p = NULL, delta = 0.1, m = 1)
a dataset;
a positive integer corresponding to the number of factors;
a positive integer corresponding to the number of lags to be considered within the model.
a real number within the range (0,1/2) for the sensitivity of the tolerance level to the size of the dataset;
a finite positive real number defining the tolerance level;
A list
containing two elements:
The number of shocks minimizing the information criterion;
The number of lags used.
Bai, J., Ng, S. (2007). Determining the Number of Primitive Shocks in Factor Models. Journal of Business & Economic Statistics, 25(1), 52-60. <https://doi.org/10.1198/073500106000000413>