Learn R Programming

MultiATSM (version 0.3.6)

pca_weights_one_country: Weigth matrix from principal components (matrix of eigenvectors)

Description

Weigth matrix from principal components (matrix of eigenvectors)

Usage

pca_weights_one_country(Y, Economy)

Value

matrix (J x J)

Arguments

Y

matrix dimension (J x T), where J - the number of maturities and T - time series length

Economy

string-vector containg the name of one economy

Examples

Run this code
data("CM_Yields")
pca_weights_one_country(Yields, Economy= "Brazil")

Run the code above in your browser using DataLab