Learn R Programming

dsp (version 1.2.0)

sampleSVparams: Sampler for the stochastic volatility parameters

Description

Compute one draw of the normal stochastic volatility parameters. The model assumes an AR(1) for the log-volatility.

Usage

sampleSVparams(omega, svParams)

Value

List of relevant components in svParams: sigma_wt, the T x p matrix of standard deviations, and additional parameters associated with SV model.

Arguments

omega

T x p matrix of errors

svParams

list of parameters to be updated