View source: R/Spanned_Factors.R
| Spanned_Factors | R Documentation |
Computes the country-specific spanned factors
Spanned_Factors(Yields, Economies, N)
Yields |
matrix ( |
Economies |
character vector. Names of the |
N |
integer. Desired number of country-specific spanned factors (maximum allowed is |
matrix. Contains the N spanned factors for all countries in the system (CJ x Td).
Td: model time series dimension
C: number of countries in the system
N: number of country-specific spanned factors
J: number of bond yields per country used in estimation
data(Yields)
Economies <- c("China", "Brazil", "Mexico", "Uruguay")
N <- 3
SpaFact_TS <- Spanned_Factors(Yields, Economies, N)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.