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.4.4.tar.gz (47.7 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.4.4-py3-none-any.whl (57.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jmstate-0.4.4.tar.gz
Algorithm Hash digest
SHA256 5d5a16388769cf72c4d51c2346e6fc8206f574ff73e83d39667663c54485c48a
MD5 c980696550500447d8e33d4e4fd3980d
BLAKE2b-256 1ae34c41a25ef3ed6fb7076f6088b6cd8958021c0ac2d56cde3a300557568f0f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jmstate-0.4.4-py3-none-any.whl
  • Upload date:
  • Size: 57.4 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.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 73933d34d3b7eff4f94c6f4f75bdfd0c2e8f000b8a44fb8e2d3982d7520c55b0
MD5 e54d89499dcc5bcae663617c54fa8e5e
BLAKE2b-256 bfbe66d24cfb65947b5bb73469c68a3011403a78bcf84818d46603b57137c325

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