Learn R Programming

dsp (version 1.2.0)

t_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

t_sampleSVparams(omega, svParams)

Value

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

Arguments

omega

T vector of errors

svParams

list of parameters to be updated