Accept_proposal | R Documentation |

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

```
Accept_proposal(r)
```

`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. |

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

Mengyang Gu [aut, cre]

Maintainer: Mengyang Gu <mengyang@pstat.ucsb.edu>

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.