Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

expweightcov

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 n rows (points in time) and m columns (component series).

alpha

Speed of decay.

hist

How far to go back in time?

Value

A m times m covariance matrix estimate.


factorstochvol

Bayesian Estimation of (Sparse) Latent Factor Stochastic Volatility Models

v0.10.2
GPL (>= 2)
Authors
Gregor Kastner [aut, cre] (<https://orcid.org/0000-0002-8237-8271>), Darjus Hosszejni [ctb] (<https://orcid.org/0000-0002-3803-691X>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.