Software & Code

Software

  • bayesbridge v0.2documentation
    Python package for Bayesian sparse regression based on the Bayesian bridge priors. The package implements the standard (Polya-Gamma augmented) Gibbs sampler as well as the CG-accelerated sampler of Nishimura & Suchard (2023).

  • PRSBridge
    Command line tool for constructing polygenic risk scores (PRS) from summary statistics, built on an adaptation of the bayesbridge package. Methodological details and benchmark comparisons against other PRS methods are provided in Dun, Y., Chatterjee, N., Jin, J., & Nishimura, A. (2026). The benchmark results can be reproduced by this code.

  • htdg
    R package for sampling from high-dimensional truncated gaussians. In particular, it implements the Hamiltonian zigzag sampler of Nishimura, A., Zhang, Z., and Suchard, M. A. (2025). Benchmark results and example code are provided in this R Journal article.

  • CausalSurvival
    R package implementing state-of-the-art doubly robust methods for estimating counterfactual survival curves, including augmented inverse probability weighting and targeted maximum likelihood estimation. More traditional procedures such as inverse probability weighting and stratified Cox model are also included.

Code