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
|
|
|
|
|
Compatibility
|
|
•
|
The Finance[RegimeSwitchingProcess] command was introduced 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 .
>
|
|
| (1) |
>
|
|
>
|
|
>
|
|
The second example is similar to the one above, but one of the processes is deterministic.
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
|
|
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]
|
|