Simulate time series from the SVC stochastic volatility model.
svc_sim(
nobs,
dt,
X0,
log_VP0,
log_V0,
alpha,
log_gamma,
mu,
log_sigma,
logit_rho,
logit_tau,
logit_omega,
dBt
)
Length of time series.
Interobservation time.
Vector of length nasset + 1
or matrix of size (nasset + 1) x nseries
of asset log prices at time t = 0
.
Scalar or vector of length nseries
of volatility proxy values at time t = 0
on the log standard deviation scale.
Vector of length nasset + 1
or matrix of size (nasset + 1) x nseries
of volatilities at time t = 0
on the log standard deviation scale.
Vector of length (nasset + 1)
or matrix of size (nasset + 1) x nseries
of asset growth rate parameters.
Vector of length nasset + 2
or matrix of size (nasset + 2) x nseries
log-volatility mean reversion parameters on the log scale. The first two correspond to the volatility proxy and the common-factor asset's volatility, respectively.
Vector of length nasset + 2
or matrix of size (nasset + 2) x nseries
of log-volatility mean parameters.
Vector of length nasset + 2
or matrix of size (nasset + 2) x nseries
or log-volatility diffusion parameters on the log scale.
Vector of length nasset + 1
or matrix of size (nasset + 1) x nseries
correlation parameters between asset and volatility innovations, on the logit scale. The first one is that of the common-factor asset proxy. See 'Details'.
Vector of length nasset + 1
or matrix of size (nasset + 1) x nseries
correlation parameters between the latent volatilities and the volatility proxy.
Vector of length nasset
or matrix of size nasset x nseries
correlation parameters between the residual asset price of the common-factor proxy and the other residual asset prices.
An optional list of Brownian innovations:
VP
An nobs x nseries
matrix.
V
An nobs x (nasset+1) x nseries
array.
Z
An nobs x (nasset+1) x nseries
array.
If missing these are all iid draws from an N(0, dt)
distribution.
A list containing arrays Xt
and log_Vt
of size nobs x (nasset + 1) x nseries
, and the matrix log_VPt
of size nobs x nseries
containing the simulations of nseries
SVC processes observed at times t = dt, 2dt, ..., nobs*dt
.