Finance
GammaProcess
create new Gamma process
Calling Sequence
Parameters
Description
Examples
References
Compatibility
GammaProcess(mu, sigma)
mu
-
real constant; mean parameter
sigma
real constant; variance parameter
The GammaProcess command creates a Gamma process with the specified parameters. The Gamma process G⁡t with mean parameter mu and variance parameter sigma is a continuous-time process with stationary, independent gamma increments such that for any 0<h, G⁡t+h−G⁡t has a Gamma distribution with shape parameter μ2⁢hσ and scale parameter σμ.
The parameter mu is the mean. The parameter sigma is the variance.
with⁡Finance:
μ≔1:σ≔3:
G≔GammaProcess⁡μ,σ:
PathPlot⁡G⁡t,t=0..3,timesteps=100,replications=10,thickness=3,axes=BOXED,gridlines=true
ExpectedValue⁡G⁡3,replications=104
value=2.376349494,standarderror=0.01792180394
S≔SampleValues⁡G⁡2−G⁡1.98,timesteps=102,replications=103
The variance gamma process, introduced by Madan and Seneta, is the difference of two independent gamma processes representing the up and down movements of the underlying asset.
Xu≔GammaProcess⁡1,3:
Xd≔GammaProcess⁡0.9,3:
X≔t↦Xu⁡t−Xd⁡t
PathPlot⁡X⁡t,t=0..3,timesteps=20,replications=5,thickness=2,axes=BOXED,gridlines=true
Glasserman, P., Monte Carlo Methods in Financial Engineering. New York: Springer-Verlag, 2004.
The Finance[GammaProcess] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
See Also
Finance[BlackScholesProcess]
Finance[CEVProcess]
Finance[Diffusion]
Finance[Drift]
Finance[ExpectedValue]
Finance[GeometricBrownianMotion]
Finance[ItoProcess]
Finance[PathPlot]
Finance[SamplePath]
Finance[SampleValues]
Finance[StochasticProcesses]
Finance[WienerProcess]
Download Help Document