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.5.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.5-py3-none-any.whl (57.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jmstate-0.4.5.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.5.tar.gz
Algorithm Hash digest
SHA256 f1467e2b5672ae45085eadb1ace204f03a20d241da463dd8fa00416cdc4a2b61
MD5 cb483069ca28ae8885687d8a5d5b33ec
BLAKE2b-256 eff5bd08b9623cda666452fd4d5c5d4d670c5413eee00c88124aaa06c2e2f4df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jmstate-0.4.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e5853687a92d2b426f54089fd5abd9f48217c6f8795f02cc638eaa114d8e4a90
MD5 a921977465e9fdc1fc044e41ef264a2c
BLAKE2b-256 f32e0cb5f6e9c00fcb6a9970a64847896950361f3deca6773369e2c7557ad9c1

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