bayes_traj
bayes_traj: A Python package for Bayesian trajectory analysis - Published in JOSS (2025)
Science Score: 100.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 1 DOI reference(s) in JOSS metadata -
○Academic publication links
-
✓Committers with academic emails
1 of 2 committers (50.0%) from academic institutions -
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Scientific Fields
Repository
Algorithms and tools for Bayesian trajectory modeling
Basic Info
- Host: GitHub
- Owner: acil-bwh
- License: mit
- Language: Jupyter Notebook
- Default Branch: master
- Size: 38.3 MB
Statistics
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 2
- Releases: 0
Metadata Files
README.md
Introduction
bayes_traj is a software package written in Python that provides routines for performing Bayesian trajectory modeling of longitudinal data. Multiple, longitudinally observed target variables -- continuous, binary, or a combination -- can be modeled simultaneously. Per-trajectory random effects can also be modeled for continuous target variables. This package also provides command-line tools that facilitate spefication of Bayesian priors, enable visualization of trajectory modeling results, and compute summary and model fit statistics.
Installation
In order to install the package, type the folowing in the terminal:
$ pip install bayes_traj
Overview
bayes_traj provides several command-line tools:
generate_prior-- used to speficy Bayesian priors for use the trajectory modelingviz_data_prior_draws-- provides visualization of random draws from the priorbayes_traj_main-- performs Bayesian trajectory modeling using a prior fileviz_model_trajs-- provides visualization of trajectories fit usingbayes_traj_mainsumarize_traj_model-- prints model summary and fit statistics given a model file produce bybayes_traj_mainassign_trajectory-- writes a data file with appended trajectory assignment information given an input data file and a model file generated by thebayes_traj_maintool
Each of these tools can be run with the -h flag for additional usage information.
For additional documentation, see https://acil-bwh.github.io/bayes_traj/index.html
Tests
To run all unit tests, type the following in the package root directory:
$ pytest
Contribute
Please read our contribution guidelines.
Owner
- Login: acil-bwh
- Kind: user
- Repositories: 25
- Profile: https://github.com/acil-bwh
JOSS Publication
bayes_traj: A Python package for Bayesian trajectory analysis
Authors
Department of Radiology, Brigham and Women’s Hospital, Harvard Medical School, Boston, MA, United States of America, For correspondence, contact jcross186@gmail.com
College of Business, University of Rhode Island, Kingston, RI, United States of America
Tags
trajectories BayesianCitation (CITATION.cff)
cff-version: "1.2.0"
authors:
- family-names: Ross
given-names: James C.
orcid: "https://orcid.org/0000-0002-2338-3644"
- family-names: Zhao
given-names: Tingting
doi: 10.5281/zenodo.15047374
message: If you use this software, please cite our article in the
Journal of Open Source Software.
preferred-citation:
authors:
- family-names: Ross
given-names: James C.
orcid: "https://orcid.org/0000-0002-2338-3644"
- family-names: Zhao
given-names: Tingting
date-published: 2025-04-15
doi: 10.21105/joss.07323
issn: 2475-9066
issue: 108
journal: Journal of Open Source Software
publisher:
name: Open Journals
start: 7323
title: "bayes_traj: A Python package for Bayesian trajectory analysis"
type: article
url: "https://joss.theoj.org/papers/10.21105/joss.07323"
volume: 10
title: "bayes_traj: A Python package for Bayesian trajectory analysis"
GitHub Events
Total
- Issues event: 5
- Watch event: 1
- Issue comment event: 10
- Push event: 27
- Pull request review event: 1
- Pull request event: 2
- Fork event: 1
- Create event: 1
Last Year
- Issues event: 5
- Watch event: 1
- Issue comment event: 10
- Push event: 27
- Pull request review event: 1
- Pull request event: 2
- Fork event: 1
- Create event: 1
Committers
Last synced: almost 3 years ago
All Time
- Total Commits: 306
- Total Committers: 2
- Avg Commits per committer: 153.0
- Development Distribution Score (DDS): 0.003
Top Committers
| Name | Commits | |
|---|---|---|
| James Ross | j****s@b****u | 305 |
| acil-bwh | a****h@u****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 5
- Total pull requests: 2
- Average time to close issues: 6 days
- Average time to close pull requests: 4 days
- Total issue authors: 2
- Total pull request authors: 2
- Average comments per issue: 2.0
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 3
- Pull requests: 1
- Average time to close issues: 6 days
- Average time to close pull requests: 7 days
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 3.33
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- gchure (3)
- jcross186 (2)
Pull Request Authors
- miaroe (2)
- fritzo (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 171 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 31
- Total maintainers: 1
pypi.org: bayes-traj
bayes_traj
- Homepage: https://github.com/acil-bwh/bayes_traj
- Documentation: https://bayes-traj.readthedocs.io/
- License: MIT License
-
Latest release: 1.0.6
published 8 months ago
Rankings
Maintainers (1)
Dependencies
- argparse *
- matplotlib *
- numpy *
- pandas *
- provenance-tools *
- scipy *
- statsmodels *