expweightcov {factorstochvol} | R Documentation |
Computes the empirical exponentially weighted covariance matrix
Description
A common way to get estimates for time-varying covariance matrices is the compute the exponentially weighted empirical covariance matrix.
Usage
expweightcov(dat, alpha = 4/126, hist = 180)
Arguments
dat |
Matrix containing the data, with |
alpha |
Speed of decay. |
hist |
How far to go back in time? |
Value
A m
times m
covariance matrix estimate.
[Package factorstochvol version 1.1.0 Index]