Determine whether the proposed poserior sample is accepted at one step of MCMC.
Accept_proposal(r)
A bool value. If it is true, the proporsed sample gets accepted; if not, it gets rejected.
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.
tools:::Rd_package_author("RobustCalibration")
Maintainer: tools:::Rd_package_maintainer("RobustCalibration")
Mengyang Gu. (2016). Robust Uncertainty Quantification and Scalable Computation for Computer Models with Massive Output. Ph.D. thesis. Duke University.