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
S≔0.,0.,7.35991702799366×10−6,0.,0.,7.35602354562381×10−6,2.22044604925031×10−16,0.,0.,0.,0.,0.,0.,0.,0.,2.68673971959288×10−14,0.,0.,1.35483735341779×10−10,1.40403509477430×10−6,0.000394374611912163,0.,0.0154969225911339,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,7.51650208741239×10−9,0.,0.,2.63580268722308×10−11,0.,0.0971434323130915,0.,0.,0.,0.,0.0413351186423117,0.,0.0000276411228146145,0.,0.,0.,5.41153927224869×10−13,0.,0.,0.,0.,0.,0.,0.,0.0198811462516445,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.000210839334942481,0.,1.81071369009800×10−9,5.21804821573824×10−14,0.,0.,0.195217033877362,1.61692881306408×10−12,0.,0.,0.,0.,0.,0.,1.01821726494755×10−7,0.,0.,0.,0.,0.00408745142293243,1.31116352972340,5.16159894009549×10−6,0.,…,⋯ 900 Array entries not shown
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
What kind of issue would you like to report? (Optional)