CapeTools (Full) Process Simulation
http://www.QuantTools.com
In total there are 13 functions present within the CapeTools (Full) Process Simulation category of functions.
General Description
Functions to construct and simulate Equity, Future, FX or Commodity type stochastic processes.
The (Full) indicates that if one wishes to conduct 50000 simulations, all 50000 simulations will be simulated in one shot, via the ProcessViewer function.
All further functions that refers to the object constructed by the ProcessViewer function simply reads data from the object. No further simulation takes place.
The benefit of this method is that enough information is returned for you to conduct your own customised monte-carlo pricing within your own environment (you can additionally use the functions present within the CapeTools Generic MonteCarlo Pricer category of functions.). Because all the paths are retained, with a little more work, you can compute the risk parameters of your product (not present within the CapeTools Generic MonteCarlo Pricer category of functions.)
Unfortunately, this object will utilize a lot of memory if you specify a huge amount of paths to be simulated.
You may want to use the DeleteObject() function to remove the simulation object from memory once you have priced you product.
Alternatively, you may want to use the functions present within the CapeTools (Compact) Process Simulation category of functions. Here each time you execute the MCNextStep function from a constructed StepMonteCarlo object a new path is generated and the previous path destroyed.
This uses less memory, but makes it difficult for you to compute risk numbers using the original paths.
Function list.
- DisplayMCAssetAverage - Displays the average value of the asset for each time step of the simulations.
- DisplayMCAssetDiscounts - Displays the discount factors of the asset for each time step of the simulations.
- DisplayMCAssetError - Displays the error estimate on the mean value of the asset for each time step of the simulations.
- DisplayMCAssetKurtosis - Displays the kurtosis value of the asset for each time step of the simulations.
- DisplayMCAssetMax - Displays the maximum value of the asset for each time step of the simulations.
- DisplayMCAssetMin - Displays the minimum value of the asset for each time step of the simulations.
- DisplayMCAssetSTD - Displays the standard deviation value of the asset for each time step of the simulations.
- DisplayMCAssetSkewness - Displays the skewness value of the asset for each time step of the simulations.
- DisplayMCAssetVariance - Displays the variance value of the asset for each time step of the simulations.
- DisplayMCDiscounts - Displays the discount factors given a ProcessViewer object and an asset number (starts from 1).
- DisplayMCPath - Displays the generated path given a ProcessViewer object and a path number (starts from 1 all the way up to the number of simulations inputted within the ProcessViewer() function).
- DisplayMCStep - Displays the value of the asset at a particular time step across all simulations.
- ProcessViewer - Creates a process viewer object.
Copyright (c) 2003-2007 CapeTools - All Rights Reserved.