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.
.. image:: https://app.travis-ci.com/thequackdaddy/tweedie.svg?branch=master
:target: https://app.travis-ci.com/thequackdaddy/tweedie
.. image:: http://codecov.io/github/thequackdaddy/tweedie/coverage.svg?branch=master
:target: http://codecov.io/github/thequackdaddy/tweedie?branch=master
Documentation:
Some of the functions are well documented. Others, not so well. In future
versions, I might try to publish.
Downloads:
https://github.com/thequackdaddy/tweedie
Dependencies:
* Python (2.7, or 3.4+)
* numpy
* scipy
Optional dependencies:
* pytest: needed to run tests
* tox: needed to run tests against multiple python/scipy versions
Install:
To run tests against multiple python/scipy versions, install the package using ``pip install -e .[dev]``.
Running the tests:
To test against the current python version and scipy ``pytest ./tweedie``
To test against multiple python versions and scipy versions ``tox -p all``.
If you run in to issues with performance, just use ``tox``.
Code and bug tracker:
https://github.com/thequackdaddy/tweedie
License:
2-clause BSD, see LICENSE.txt for details.
Raw data
{
"_id": null,
"home_page": "https://github.com/thequackdaddy/tweedie",
"name": "tweedie",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "statsmodels scipy distribution tweedie",
"author": "Peter Quackenbush",
"author_email": "pquack@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ad/85/18ebf1468db875444acb8e60f47300c42e9ba1feb1ff69c2b8aaa2b4c377/tweedie-0.0.9.tar.gz",
"platform": "",
"description": "tweedie is a Python library implementing scipy's ``rv_continuous`` class\nfor the Tweedie family. The Tweedie family is a member of the exponential\ndispersion model family and is commonly used in the insurance indsutry\nto model claim amounts for insurance policies (exposure).\n\nThe main focus of this package is the compound-Poisson behavior,\nspecifically where ``1 < p < 2``. However, it should be possible to\ncalculate the distribution for all the possible values of p.\n\n.. image:: https://app.travis-ci.com/thequackdaddy/tweedie.svg?branch=master\n :target: https://app.travis-ci.com/thequackdaddy/tweedie\n\n.. image:: http://codecov.io/github/thequackdaddy/tweedie/coverage.svg?branch=master\n :target: http://codecov.io/github/thequackdaddy/tweedie?branch=master\n\nDocumentation:\n Some of the functions are well documented. Others, not so well. In future\n versions, I might try to publish.\n\nDownloads:\n https://github.com/thequackdaddy/tweedie\n\nDependencies:\n * Python (2.7, or 3.4+)\n * numpy\n * scipy\n\nOptional dependencies:\n * pytest: needed to run tests\n * tox: needed to run tests against multiple python/scipy versions\n\nInstall:\n To run tests against multiple python/scipy versions, install the package using ``pip install -e .[dev]``.\n\nRunning the tests:\n\nTo test against the current python version and scipy ``pytest ./tweedie``\n\nTo test against multiple python versions and scipy versions ``tox -p all``.\nIf you run in to issues with performance, just use ``tox``.\n\nCode and bug tracker:\n https://github.com/thequackdaddy/tweedie\n\nLicense:\n 2-clause BSD, see LICENSE.txt for details.\n\n\n",
"bugtrack_url": null,
"license": "BSD",
"summary": "Tweedie distribution estimations of pdf and cdf",
"version": "0.0.9",
"split_keywords": [
"statsmodels",
"scipy",
"distribution",
"tweedie"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2b3f1784ae631f32c73b27ade3842a354902a6f98285a433d0279f26eaae360e",
"md5": "001640b320f0728b7f5f30f008a3bb9f",
"sha256": "d2025934e0dd13e276cf403686edbccefbba01e85c20960768b917b0a406dcf2"
},
"downloads": -1,
"filename": "tweedie-0.0.9-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "001640b320f0728b7f5f30f008a3bb9f",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 8224,
"upload_time": "2021-09-09T18:14:31",
"upload_time_iso_8601": "2021-09-09T18:14:31.612507Z",
"url": "https://files.pythonhosted.org/packages/2b/3f/1784ae631f32c73b27ade3842a354902a6f98285a433d0279f26eaae360e/tweedie-0.0.9-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ad8518ebf1468db875444acb8e60f47300c42e9ba1feb1ff69c2b8aaa2b4c377",
"md5": "538e3091757e793816965d97dae712ff",
"sha256": "4e83d5998df247a5e4453c365db3adc37152ecd75ddf89dd4ef981e5956e3d11"
},
"downloads": -1,
"filename": "tweedie-0.0.9.tar.gz",
"has_sig": false,
"md5_digest": "538e3091757e793816965d97dae712ff",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 24902,
"upload_time": "2021-09-09T18:14:32",
"upload_time_iso_8601": "2021-09-09T18:14:32.718025Z",
"url": "https://files.pythonhosted.org/packages/ad/85/18ebf1468db875444acb8e60f47300c42e9ba1feb1ff69c2b8aaa2b4c377/tweedie-0.0.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2021-09-09 18:14:32",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "thequackdaddy",
"github_project": "tweedie",
"travis_ci": true,
"coveralls": true,
"github_actions": false,
"tox": true,
"lcname": "tweedie"
}