R/eou_sim.R
eou_sim.Rd
Simulate time series from the exponential Ornstein-Uhlenbeck stochastic volatility model.
eou_sim(nobs, dt, X0, log_V0, alpha, log_gamma, mu, log_sigma, logit_rho, dBt)
Length of time series.
Interobservation time.
Scalar or vector of nseries
asset log prices at time t = 0
.
Scalar or vector of nseries
volatilities at time t = 0
, on the log standard deviation scale.
Scalar or vector of nseries
growth rate parameters.
Scalar or vector of nseries
log-volatility mean reversion parameters on the log scale.
Scalar or vector of nseries
log-volatility mean parameters.
Scalar or vector of nseries
log-volatility diffusion parameters on the log scale.
Scalar or vector of nseries
correlation parameters between asset and volatility innovations, on the logit scale.
An optional list with elements V
and Z
corresponding to matrices of size nobs x nseries
of pre-specified Brownian innovations. If missing these consist of iid draws from an N(0, dt)
distribution.
A list containing matrices Xt
and log_Vt
of nobs x nseries
of eOU observations, where each column corresponds to a process observed at times t = dt, 2dt, ..., nobs*dt
.