metropolisRatio | R Documentation |
Function to calculate the metropolis ratio
metropolisRatio(LP2, LP1, tempering = 1)
LP2 |
log posterior old position |
LP1 |
log posterior of proposal |
tempering |
value for tempering |
Florian Hartig
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.