Finance[SquareRootDiffusion] - create new square-root diffusion process
|
Calling Sequence
|
|
SquareRootDiffusion(, kappa, theta, sigma, opts)
|
|
Parameters
|
|
|
-
|
algebraic expression; initial value
|
kappa
|
-
|
algebraic expression; speed of mean reversion
|
theta
|
-
|
algebraic expression; long-term running mean
|
sigma
|
-
|
algebraic expression; volatility
|
opts
|
-
|
(optional) equation(s) of the form option = value where option is scheme; specify options for the SquareRootDiffusion command
|
|
|
|
|
Description
|
|
•
|
The SquareRootDiffusion command creates a new square-root diffusion process. This is a process governed by the stochastic differential equation (SDE)
|
where and are positive constants and is a deterministic function of time such that for all .
•
|
This process was proposed by Cox, Ingersoll, and Ross as a model of the short rate, which is often referred to as the CIR model.
|
•
|
The parameter defined the initial value of the underlying stochastic process.
|
•
|
The parameter kappa is the speed of mean-reversion. The parameter theta is the long-term running mean. The parameter sigma is the volatility. In general, kappa, theta, and sigma can be any algebraic expressions. However, if the process is to be simulated, these parameters must be assigned numeric values.
|
•
|
The scheme option specifies the discretization scheme used for simulation of this process. By default the standard Euler scheme is used. When scheme is set to unbiased the transition density will be used to simulate a value given .
|
|
|
Options
|
|
•
|
scheme = unbiased or Euler -- This option specifies which discretization scheme should be used for simulating this process.
|
|
|
Compatibility
|
|
•
|
The Finance[SquareRootDiffusion] command was introduced in Maple 15.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
>
|
|
| (10) |
>
|
|
Compare the Euler discretization and the unbiased discretization.
>
|
|
| (11) |
>
|
|
| (12) |
>
|
|
| (13) |
>
|
|
| (14) |
>
|
|
| (15) |
>
|
|
>
|
|
>
|
|
|
|
See Also
|
|
Finance[BlackScholesProcess], Finance[BrownianMotion], Finance[Diffusion], Finance[Drift], Finance[ExpectedValue], Finance[GeometricBrownianMotion], Finance[HestonProcess], Finance[ItoProcess], Finance[OrnsteinUhlenbeckProcess], Finance[SamplePath], Finance[SampleValues], Finance[StochasticProcesses], Finance[WienerProcess]
|
|
References
|
|
|
Brigo, D., Mercurio, F., Interest Rate Models: Theory and Practice. New York: Springer-Verlag, 2001.
|
|
Glasserman, P., Monte Carlo Methods in Financial Engineering. New York: Springer-Verlag, 2004.
|
|
Hull, J., Options, Futures, and Other Derivatives, 5th. edition. Upper Saddle River, New Jersey: Prentice Hall, 2003.
|
|
|