powered by
Weight matrix from principal components
pca_weights_one_country(Y, Economy)
A matrix (J x J) that corresponds to the eigenvectors of the variance-covariance matrix of yields
A numeric matrix (T x J) representing the time series of bond yields of a specific country
String-vector containing the name of a single economy.
data("CM_Yields") pca_weights_one_country(Yields, Economy= "Brazil")
Run the code above in your browser using DataLab