combine_draws {scalablebayesm} | R Documentation |
Combine Lists of Draws From a Posterior Predictive Distribution
Description
combine_draws
combines and resamples parameter draws returned from an MCMC algorithm.
Usage
combine_draws(draws, r)
Arguments
draws |
A list of draws from a posterior predictive distribution |
r |
Number of MCMC draws |
Value
A matrix or data frame containing 'R' randomly sampled rows from the combined 'betadraw' components.
Author(s)
Federico Bumbaca, Leeds School of Business, University of Colorado Boulder, federico.bumbaca@colorado.edu
References
Bumbaca, F. (Rico), Misra, S., & Rossi, P. E. (2020). Scalable Target Marketing: Distributed Markov Chain Monte Carlo for Bayesian Hierarchical Models. Journal of Marketing Research, 57(6), 999-1018.
See Also
rhierLinearMixtureParallel
,
rhierMnlRwMixtureParallel
,
rhierLinearDPParallel
,
rhierMnlDPParallel
[Package scalablebayesm version 0.2 Index]