Skip to content

cran/smoothbp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smoothbp

Fits smoothed hierarchical piecewise regression with multiple change-points using an optimised Metropolis-within-Gibbs sampler implemented in Rust.

Features

  • Multi-Breakpoint Models: Support for an arbitrary number of change-points.
  • Spike-and-Slab Regularization: Automatic selection of the number of breakpoints using smoothbp_ss().
  • Flexible Predictors: Change-point locations (omega), slope changes (delta), and transition sharpness (rho) can all be conditioned on covariates.
  • Hierarchical Structure: Random intercepts for all parameters.
  • High Performance: Core MCMC engine written in Rust.

Installation

# Requires Rtools45 on Windows for Rust compilation
pak::pkg_install("ABindoff/smoothbp")

About

❗ This is a read-only mirror of the CRAN R package repository. smoothbp — Hierarchical Piecewise Regression with Smoothed Change-Points. Homepage: https://github.com/ABindoff/smoothbp Report bugs for this package: https://github.com/ABindoff/smoothbp/issues

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages