Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
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.
For more information on Maple 15 changes, see Updates in Maple 15.
Examples
Compare the Euler discretization and the unbiased discretization.
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.
Download Help Document