powered by
Weigth matrix from principal components (matrix of eigenvectors)
pca_weights_one_country(Y, Economy)
matrix (J x J)
matrix dimension (J x T), where J - the number of maturities and T - time series length
string-vector containg the name of one economy
data("CM_Yields") pca_weights_one_country(Yields, Economy= "Brazil")
Run the code above in your browser using DataLab