View source: R/pca_weights_one_country.R
| pca_weights_one_country | R Documentation |
Computes the PCA weights for a single country
pca_weights_one_country(Yields, Economy)
Yields |
matrix ( |
Economy |
character. Name of the economy. |
matrix (J x J). Eigenvectors of the variance-covariance matrix of yields.
Td: model time series dimension
J: number of bond yields per country used in estimation
data(Yields)
Economy <- "Mexico"
pca_weights <- pca_weights_one_country(Yields, Economy)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.