Skip to content
master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

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

About

Variance Gamma distribution (Python): pdf, cdf, rand and fit.

Topics

Resources

License

Releases

No releases published

Languages

You can’t perform that action at this time.