Determine whether the proposed poserior sample is accepted at one step of MCMC.
r is a real number calculated by the ratio of posterior distribution with a new proposed sample of parameters and the posterior distribution with the current parameters.
A bool value. If it is true, the proporsed sample gets accepted; if not, it gets rejected.
Mengyang Gu [aut, cre]
Maintainer: Mengyang Gu <email@example.com>
Mengyang Gu. (2016). Robust Uncertainty Quantification and Scalable Computation for Computer Models with Massive Output. Ph.D. thesis. Duke University.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.