Learn R Programming

factorstochvol (version 1.1.0)

covmat.fsvsim: Extract "true" model-implied covariance matrix for several points in time

Description

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

Usage

# S3 method for fsvsim
covmat(x, timepoints = "all", ...)

Value

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

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.

See Also

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