Skip to content

dlaptev/VarGamma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VarGamma

Variance Gamma (VarGamma) distribution module for Python.

Implements:

  • probability density function,
  • cumulative distribution function,
  • random point generator,
  • two parameter fitting methods (method of moments and maximum likelihood).

Parameters of VarGamma distribution according to Seneta, E. "Fitting the variance-gamma model to financial data" (2004):

  • c - location
  • sigma - spread
  • theta - asymmetry
  • nu - shape

Requires:

  • numpy,
  • scipy

See example.py for more details, it should produce something like this:

example.py output

Releases

No releases published

Packages

No packages published

Languages