R/simulations_models.R
rsvjd.Rd
Simulate SVJD model using esgtoolkit (with Feller condition check)
rsvjd(
n = 10,
horizon = 1,
freq = "daily",
S0 = 100,
V0 = 0.04,
r0 = 0.02,
kappa = 5,
theta = 0.04,
volvol = 0.5,
rho = -0.7,
lambda = 0.1,
mu_J = 0,
sigma_J = 0.1
)
Number of simulations.
Time steps (e.g., 252 for daily data).
Frequency ("daily", "weekly", "monthly").
Initial price (default=100).
Initial volatility (default=0.04).
Risk-free rate (default=0.02).
Mean reversion speed (must satisfy Feller: 2*kappa*theta >= volvol^2).
Long-run mean volatility.
Volatility of volatility (must satisfy Feller).
Leverage effect (correlation between shocks).
Jump intensity.
Mean jump size.
Std dev of jump size.
List of simulated `price` and `vol`.