estimateCovariance: Estimate Covariance Matrix from Residuals
Description
Estimates the covariance (or variance) matrix of the residuals using shrinkage estimation.
This function utilizes corpcor::cov.shrink
for covariance estimation.
Usage
estimateCovariance(res, ...)
Value
A numeric covariance matrix.
Arguments
- res
A numeric matrix of residuals from the VAR model.
- ...
Additional arguments passed to corpcor::cov.shrink
(if any).