bws
Bayesian Weighted Sums
An interface to the Bayesian Weighted Sums model implemented in 'RStan'. It estimates the summed effect of multiple, often moderately to highly correlated, continuous predictors. Its applications can be found in analysis of exposure mixtures. The model was proposed by Hamra, Maclehose, Croen, Kauffman, and Newschaffer (2021) <doi:10.3390/ijerph18041373>. This implementation includes an extension to model binary outcome.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
0.1.0 |
2026-04-09 windows/windows R-4.5 | bws_0.1.0.zip |
1.1 MiB |
Dependencies (latest)
Imports
- methods
- Rcpp (>= 0.12.0)
- RcppParallel (>= 5.0.1)
- rstan (>= 2.18.1)
- rstantools (>= 2.1.1)
LinkingTo
- BH (>= 1.66.0)
- Rcpp (>= 0.12.0)
- RcppEigen (>= 0.3.3.3.0)
- RcppParallel (>= 5.0.1)
- rstan (>= 2.18.1)
- StanHeaders (>= 2.18.0)
Suggests
- testthat (>= 3.0.0)