powered by
Simulate Stochastic Volitility model with two factors model (no jump) with given length and other parameters
SV2F(M, m, p.0 = 3, mu = 0.03, v.1 = 0.5, v.2 = 0.5, beta.0 = -1.2, beta.1 = 0.04, beta.2 = 1.5, alpha.1 = -0.137 * exp(-2), alpha.2 = -1.386, beta.v2 = 0.25, r1 = -0.3, r2 = -0.3)
number of interverals to be simulated
number of time points within each interval
start price
drift
volatility parameter
underlying Brownian motion intercept paramter
underlying Brownian motion slope parameter
second factor Brownian motion slope parameter
correlation to first factor
correlation to second factor
simulated time series
Chernov, M., et al. (2003). "Alternative models for stock price dynamics." Journal of Econometrics 116(1): 225-257.
# NOT RUN { SV2F(1000,390) # }
Run the code above in your browser using DataLab