Skip to main content

Joint modeling with automatic differentiation

Project description

📦 jmstate

jmstate is a Python package for multi-state nonlinear joint modeling.
It leverages PyTorch for automatic differentiation and vectorized computation, making it efficient and scalable. The package provides a flexible framework where you can use neural networks as regression and link functions, while still offering simpler built-in options like parametric baseline hazards.

With jmstate, you can model longitudinal data jointly with multi-state transitions (e.g. health progression), capture nonlinear effects, and perform inference in complex real-world settings.


✨ Features

  • Multi-State Joint Modeling
    Supports subjects moving through multiple states with transition intensities that depend on longitudinal trajectories and covariates.

  • Nonlinear Flexibility
    Use neural networks (or any PyTorch model) as regression or link functions.

  • Built-in Tools
    Includes default baseline hazards, regression, link functions, and analysis utilities.

  • Automatic Differentiation
    Powered by PyTorch for efficient gradient computation and vectorization.

  • Analysis & Visualization
    Tools for state occupancy probabilities, hazard estimation, and residual diagnostics.


🚀 Installation

pip install jmstate

📖 Learn More

For tutorials, API reference, visit the official site:
👉 jmstate's documentation

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

jmstate-0.7.3.tar.gz (43.8 kB view details)

Uploaded Source

Built Distribution

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

jmstate-0.7.3-py3-none-any.whl (55.6 kB view details)

Uploaded Python 3

File details

Details for the file jmstate-0.7.3.tar.gz.

File metadata

  • Download URL: jmstate-0.7.3.tar.gz
  • Upload date:
  • Size: 43.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for jmstate-0.7.3.tar.gz
Algorithm Hash digest
SHA256 cf5ba262dec9d4138c7f44864cf114c306dc5c1a082a6276098eace11f8dbd82
MD5 36dc376237e8e48de7b82c46cc63a378
BLAKE2b-256 5236fcff324da249a4520aa3e234b45dc6c41150ac4db31c79d8c53794182900

See more details on using hashes here.

File details

Details for the file jmstate-0.7.3-py3-none-any.whl.

File metadata

  • Download URL: jmstate-0.7.3-py3-none-any.whl
  • Upload date:
  • Size: 55.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for jmstate-0.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 56dfe10bf6622c22f943eed146e75998d39992b304c5a7de869293d56976d292
MD5 c03f4a396c35abb7e52d87d506718f96
BLAKE2b-256 0fd9d005eb55c27bff09b691d3f77bcd8dbb194a73b2b5bcb29079ecba1a9f1e

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