Learn R Programming

RobustCalibration (version 0.5.6)

Accept_proposal: Determine whether we accept the proposed poserior sample at one step of MCMC.

Description

Determine whether the proposed poserior sample is accepted at one step of MCMC.

Usage

Accept_proposal(r)

Value

A bool value. If it is true, the proporsed sample gets accepted; if not, it gets rejected.

Arguments

r

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.

Author

tools:::Rd_package_author("RobustCalibration")

Maintainer: tools:::Rd_package_maintainer("RobustCalibration")

References

Mengyang Gu. (2016). Robust Uncertainty Quantification and Scalable Computation for Computer Models with Massive Output. Ph.D. thesis. Duke University.