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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jmstate-0.6.2.tar.gz
Algorithm Hash digest
SHA256 e103c0bf938df1dba951047ee70fd1efa1ee3c937c04260caf642be847b46acc
MD5 f2d24a696761523d3dfc52d0802bdcde
BLAKE2b-256 02559eee19602e7e2fbd597ed5f897e507b1bb4315a8f35f2177b884db107a2d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jmstate-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 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.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0555a1e16f05139358460de7db31fffe8bfba21807c3ebba9f7ed8f1237f8ed9
MD5 354aebd9fbd6a5fd0e153f22848a11fb
BLAKE2b-256 bb93808a24d84a27d14225574105fefaabcac53997fc401d3ee0d85c03c607e9

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