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

cormat.fsvsim

Extract "true" model-implied correlation matrix for several points in time


Description

cormat extracts the model-implied (time-varying) covariance matrix from an fsvsim object.

Usage

## S3 method for class 'fsvsim'
cormat(x, timepoints = "all", ...)

Arguments

x

Object of class 'fsvsim', usually resulting from a call of the function fsvsim.

timepoints

Vector indicating at which point(s) in time the correlation matrices should be extracted. Can also be "all" or "last".

...

Ignored.

Value

Array of dimension m times m times length(timepoints), containing the model-implied correlation matrix.

Note

Currently crudely implemented as an R loop over all time points, may be slow.

See Also

Other simulation: corelement(), covelement(), covmat.fsvsim()


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.