Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
Finance[PathGenerator] - create new path generator for a stochastic process
Calling Sequence
PathGenerator(process, timegrid)
PathGenerator(process, timeinterval, timesteps)
Parameters
process
-
stochastic process; process for the path to be generated
timegrid
list, Vector, or time grid; time grid
timeinterval
range; length of simulation interval
timesteps
positive integer; number of time steps
Description
The PathGenerator command creates a new path generator for the specified stochastic process. This command returns a module that can be used to simulate the underlying stochastic process as if it were a Maple procedure. Assume, for example, that the module returned by the PathGenerator command is assigned to the name . Then for any positive integer , will return replications of the sample path of the underlying process.
In the one-dimensional case, the value returned by is a matrix of size , where is the requested number of replications of the sample path (see the replications option) and is the number of points in the time grid (the number of time steps plus one). Each row of this matrix is a single realization of the sample path of the stochastic process of interest. In the multi-dimensional case, the value returned by is a matrix of size , where and are the same as in the one-dimensional case, and is the dimension of the stochastic process to be simulated, which is either given explicitly or deduced from the dimension of the underlying stochastic process.
The module returned by the PathGenerator command can be passed to other commands such as Finance[SamplePath] or Finance[SampleValues] to simulate the underlying stochastic process.
The PathGenerator(process, timegrid) calling sequence creates a path generator for process based on the specified time grid.
The PathGenerator(process, timeinterval, timesteps) calling sequence constructs a path generator for process based on a uniform time grid on the interval timeinterval using the specified number of time steps. The parameter timeinterval must be of type range , where and are non-negative real constants such that . Note that if , the value at will be simulated using a single step of the default discretization method and hence can suffer from a significant discretization bias. Increasing the number of time steps will refine the grid between and , but will have no effect on the value at . To reduce the bias, use a time interval of the form .
Compatibility
The Finance[PathGenerator] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
Examples
Here is a path generator based on a non-homogeneous grid.
This is simulating a multi-dimensional process.
This is creating a path generator for a Vector of one-dimensional processes.
See Also
Finance[ExpectedShortfall], Finance[ExpectedValue], Finance[PathPlot], Finance[SamplePath], Finance[SampleValues], Finance[TimeGrid], Finance[ValueAtRisk]
Download Help Document