simulate
Simulate multivariate stochastic differential equations (SDEs) forSDE
,BM
,GBM
,CEV
,CIR
,HWV
,Heston
,SDEDDO
,SDELD
,SDEMRD
,Merton
, orBates
models
Description
[
adds optional inputs forPaths
,Times
,Z
] = simulate(___,Optional
,Scheme
)Optional
andScheme
.
TheOptional
input argument forsimulate
accepts any variable-length list of input arguments that the simulation method or function referenced by theSDE.Simulation
parameter requires or accepts. It passes this input list directly to the appropriate SDE simulation method or user-defined simulation function.
The optional inputScheme
lets you specify an approximation scheme used to simulate the sample paths and you can use this optional input with or without anOptional
input argument.
Examples
Input Arguments
Output Arguments
More About
Algorithms
This function simulates any vector-valued SDE of the form:
(1) |
Xis anNVars-by-
1
state vector of process variables (for example, short rates or equity prices) to simulate.Wis anNBrowns-by-
1
Brownian motion vector.Fis anNVars-by-
1
vector-valued drift-rate function.Gis anNVars-by-NBrownsmatrix-valued diffusion-rate function.
References
[1] Ait-Sahalia, Y. “Testing Continuous-Time Models of the Spot Interest Rate.”The Review of Financial Studies, Spring 1996, Vol. 9, No. 2, pp. 385–426.
[2] Ait-Sahalia, Y. “Transition Densities for Interest Rate and Other Nonlinear Diffusions.”The Journal of Finance, Vol. 54, No. 4, August 1999.
[3] Glasserman, P.Monte Carlo Methods in Financial Engineering.New York, Springer-Verlag, 2004.
[4]船体,j . C。Options, Futures, and Other Derivatives, 5th ed. Englewood Cliffs, NJ: Prentice Hall, 2002.
[5] Johnson, N. L., S. Kotz, and N. Balakrishnan.Continuous Univariate Distributions.Vol. 2, 2nd ed. New York, John Wiley & Sons, 1995.
[6] Shreve, S. E.Stochastic Calculus for Finance II: Continuous-Time Models.New York: Springer-Verlag, 2004.
Version History
Introduced in R2008aSee Also
simByEuler
|simBySolution
|simBySolution
|sde
|merton
|bates
|bm
|gbm
|sdeddo
|sdeld
|cev
|cir
|heston
|hwv
|sdemrd
Topics
- Simulating Equity Prices
- Simulating Interest Rates
- Stratified Sampling
- Price American Basket Options Using Standard Monte Carlo and Quasi-Monte Carlo Simulation
- Base SDE Models
- Drift and Diffusion Models
- Linear Drift Models
- Parametric Models
- SDEs
- SDE Models
- SDE Class Hierarchy
- Performance Considerations