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[RegimeSwitchingProcess] - create new multi-regime stochastic process
Calling Sequence
RegimeSwitchingProcess(P, S, i, n, t)
Parameters
P
-
Matrix; transition matrix
S
Vector; regimes
i
posint; initial state
n
posint; number of states per year
t
name; time variable
Description
The RegimeSwitchingProcess command creates a regime-switching process with the specified regimes and transition probability. Each of the regimes must be a one-dimensional stochastic process. The parameter S defines all possible regimes that are one-dimensional stochastic processes. Moves between different regimes are assumed to be governed by the transition probability matrix, P, with generic element defined as the probability of moving from regime to regime .
The parameter n is the number of regimes per year. This process can only be simulated with time steps per year, where is a multiple of n. Assume for example that is a finite state Markov chain with regimes per year. If we simulate the process on the interval with 12 time steps, then the regime change can occur only at steps , , , , and .
Compatibility
The Finance[RegimeSwitchingProcess] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
Examples
Consider a regime switching process with 2 regimes. In the first regime, the process is a Brownian motion with zero drift and high volatility; in the second regime, the process behaves like a Brownian motion with hight drift and low volatility. The transition probabilities are: for moving to the second regime given that the process is in the first regime and for moving to the first regime given that the process is in the second regime. The process will have regimes per year, which means that the regimes can switch only at , , and .
The second example is similar to the one above, but one of the processes is deterministic.
See Also
Finance[BlackScholesProcess], Finance[CEVProcess], Finance[Diffusion], Finance[Drift], Finance[ExpectedValue], Finance[GeometricBrownianMotion], Finance[ItoProcess], Finance[MarkovChain], Finance[PathPlot], Finance[SamplePath], Finance[SampleValues], Finance[StochasticProcesses], Finance[WienerProcess]
Download Help Document