Create Matrix F_i
create_Fi_matrix
function generates a matrix with 1's on the (i+1)
-th sub-diagonal and 0's elsewhere.
create_Fi_matrix(i, T_obs)
i
: Integer, the lag for which the matrix is constructed, corresponding to the sub-diagonal filled with 1's.T_obs
: Integer, the number of time periods or observations in the dataset, corresponding to the dimensions of the matrix.A matrix with 1's on the (i+1)
-th sub-diagonal and 0's elsewhere.
Used in Portmanteau_test
. The matrix in Lütkepohl (2005), p.158.