powered by
This function determined the numbers of row and column factors for matrix variate data under a two-way factor model, using a projected method.
kpe(Y, kmax = 4, c = 0)
a 2-dimensional vector containing the estimated number of row and column factors, respectively.
data, a \(T\times p1\times p2\) array.
a positive integer smaller than p2, indicating the upper bound for the factor numbers, and the dimension of projection matrix.
a non-negative but small number, to ensure the denominator of the eigenvalue ratio statistics is not 0.
Yu L, He Y, Kong X, & Zhang X (2022). Projected estimation for large-dimensional matrix factor models. Journal of Econometrics, 229(1),201-217.
k1=3 k2=3 Sample_T=100 p1=40 p2=20 kmax=8 Y=gen.data(Sample_T,p1,p2,k1,k2,tau=0.5,change=0) kpe(Y,kmax)
Run the code above in your browser using DataLab