Tweedie distribution
Project description
tweedie is a Python library implementing scipy’s rv_continuous class for the Tweedie family. The Tweedie family is a member of the exponential dispersion model family and is commonly used in the insurance indsutry to model claim amounts for insurance policies (exposure).
The main focus of this package is the compound-Poisson behavior, specifically where \(1 < p < 2\). However, it should be possible to calculate the distribution for all the possible values of p.
- Documentation:
Some of the functions are well documented. Others, not so well. In future versions, I might try to publish.
- Downloads:
- Dependencies:
Python (2.7, or 3.4+)
numpy
scipy
- Optional dependencies:
pytest: needed to run tests
- Install:
At the moment, python setup.py install will work. I’ll try to put this on pypi at some point in the future.
- Code and bug tracker:
- License:
2-clause BSD, see LICENSE.txt for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for tweedie-0.0.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3ac2211b2466acef9f16a03d6a7beae1ebb23d8a898a7503d7ebd818f4622c0 |
|
MD5 | 2ad376f91d34cc8793869023d33b2919 |
|
BLAKE2b-256 | f627347144729c0b33238087bb2f9f2481ba83af31a93a8ead15ad70ee7906df |