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

Uploaded Python 3

File details

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

File metadata

  • Download URL: jmstate-0.4.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.4.3.tar.gz
Algorithm Hash digest
SHA256 d8d7a921a7caaae693b0377d14e1588db731de3096d04dc5424632835e0c3f8f
MD5 5216822104dfb69c239387f9dd5d07f0
BLAKE2b-256 b7af78bee620e0f47508d36218a71f8862c35aed1f48f82188110bc53a801872

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jmstate-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 58.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 00e50f8f169424236b61ee644dac78753e6e9930b4b22125edb366fe1d7791b8
MD5 53d434da2ff9fbba160a50d7b641049a
BLAKE2b-256 852c9f96aece4cc39c84a64e5d19b0c5c7f69220cfc25e03275f386598b0194d

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