Skip to main content

Loss ratio analysis for insurance experience data (Python implementation by the author of the R package; in development).

Project description

lossratio (Python)

Python implementation of lossratio by the same author who wrote the R package. Both packages share the same methodology — chain ladder (Mack), exposure-driven (ED), and stage-adaptive (SA) loss-ratio projection methods, maturity point and convergence point detection ($k^*$, $k^{**}$), cohort regime change detection, and a hold-out backtest framework — applied to long-duration insurance experience data.

This Python implementation is in development. The package is reserved on PyPI under PEP 541 legitimate future-use provisions.

Current status

  • pip install lossratio installs this placeholder (version 0.0.1.dev0).
  • The package currently only exposes a __version__ attribute.
  • The working implementation is the R package; the Python version is being built up incrementally.

R package (working today)

remotes::install_github("seokhoonj/lossratio")
library(lossratio)

Author

Seokhoon Joo (seokhoonj@gmail.com) — author of both the R and Python implementations.

License

MPL-2.0 (Mozilla Public License 2.0).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lossratio-0.0.1.dev0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lossratio-0.0.1.dev0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file lossratio-0.0.1.dev0.tar.gz.

File metadata

  • Download URL: lossratio-0.0.1.dev0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for lossratio-0.0.1.dev0.tar.gz
Algorithm Hash digest
SHA256 3e158971d0d3ce158675ae6ab7f5b57b8d3134496ee5dfd36e4195ad2530088e
MD5 e078f0a1df1e9ca0dfa9b90487e505b5
BLAKE2b-256 b1c34460a1967dc5f6ec6b89fb3abcc9f42d8d6e4cc0efe93d73bf78caf60f20

See more details on using hashes here.

File details

Details for the file lossratio-0.0.1.dev0-py3-none-any.whl.

File metadata

  • Download URL: lossratio-0.0.1.dev0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for lossratio-0.0.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 676a3d449a80395eee04df98b47d887d7a1469a27d64e37c53fbe8d6b1744fcf
MD5 250f590d5880def0d55c88196fc83282
BLAKE2b-256 59d7856e630faba6bdbf828c885ea9f9ecb07ac161214a77f6ca2b08d3ce8636

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page