Fits Bayesian hierarchical piecewise regression models with multiple logistic-smoothed change-points. Non-linear parameters (change-point locations and transition sharpness) and linear parameters can each be conditioned on covariates and factors via flexible design matrices. A random-intercept structure is supported for any parameter. Spike-and-slab regularization is supported for selecting the number of breakpoints. Posterior inference uses a Metropolis-within-Gibbs sampler implemented in 'Rust' for speed. Methods are based on the smooth transition piecewise regression model of Bacon and Watts (1971) <doi:10.2307/2334389> and variable selection spike-and-slab priors of Kuo and Mallick (1998) <https://www.jstor.org/stable/25053023>.
Package details |
|
|---|---|
| Author | Aidan D Bindoff [aut, cre] (ORCID: <https://orcid.org/0000-0002-0943-2702>) |
| Maintainer | Aidan D Bindoff <aidan.bindoff@utas.edu.au> |
| License | MIT + file LICENSE |
| Version | 0.2.4 |
| URL | https://github.com/ABindoff/smoothbp |
| Package repository | View on CRAN |
| Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.