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 & GPU Support
    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 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.5.3.tar.gz (48.1 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.5.3-py3-none-any.whl (57.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jmstate-0.5.3.tar.gz
Algorithm Hash digest
SHA256 c5c98a2c0003ce9e8b8b42f0a3c7443d33a7ae144d91b735567def5c256e1730
MD5 d4a6f724d1fc51ca02c5cb17cdde3c63
BLAKE2b-256 86ca844ab2e15a7dadd9e703e74c4d5b0b2f5b0bc6015d83fcc4797d7df51056

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for jmstate-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 86e33df70ca7938acbbbaaf15f853ec2a81033cb872d02cf359ff6171124223a
MD5 3bdf0b1293abd0b388884386f8b5e929
BLAKE2b-256 48c4d68a74ba6d81b8da14cfe6e6bbad85353f61532c32da41c50351e2b61a85

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