Description Usage Arguments Value Examples
Estimate covariance matrix by fitting a macroeconomic factor model using time series regression
1 | MacroFactor.Cov(assets, factor)
|
assets |
a N*p matrix of asset returns, N indicates sample size and p indicates the dimension of asset returns |
factor |
a numerical vector of length N, or a N*q matrix of macroeconomic factor(s), q indicates the dimension of factors |
an estimated p*p covariance matrix
1 2 3 4 | data(m.excess.c10sp9003)
assets <- m.excess.c10sp9003[,1:10]
factor <- m.excess.c10sp9003[,11]
MacroFactor.Cov(assets, factor)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.