Skip to main content

Loss ratio analysis for insurance experience data (Python sibling of the R lossratio package; in development).

Project description

lossratio (Python)

Python sibling of the R lossratio package: loss-ratio analysis and projection for long-term health insurance from long-format experience data. Stage-adaptive (SA) projection uses an exposure-driven (ED) model before the maturity point and chain ladder (Mack, CL) after, supported by maturity point detection, cohort regime detection, and a calendar-diagonal backtest framework.

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

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.dev1.tar.gz (11.8 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.dev1-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lossratio-0.0.1.dev1.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for lossratio-0.0.1.dev1.tar.gz
Algorithm Hash digest
SHA256 7d8c689ef3935f3b1842e2c4539a46cbcc3a8be5ca5f4d6c240b20b9e1bb3c98
MD5 4fc0dd5ebb09a54da27a97b46406be6e
BLAKE2b-256 8004040a126c6729e50719ce6284bba3d68dd63068b5ae53835d20139e1c00ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for lossratio-0.0.1.dev1.tar.gz:

Publisher: publish.yml on seokhoonj/lossratio-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: lossratio-0.0.1.dev1-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for lossratio-0.0.1.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee586e11843ea33c967789ba5d07c3d54b1e77460e4b014b5216806f65ed9a00
MD5 0c74e692df9c73c3ba5b4c9b62d422a3
BLAKE2b-256 0ba60042045a5d5f127b0a9786e993916481e41ed170b531000e58490c95cc2d

See more details on using hashes here.

Provenance

The following attestation bundles were made for lossratio-0.0.1.dev1-py3-none-any.whl:

Publisher: publish.yml on seokhoonj/lossratio-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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