Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 48336

Markov Chain Monte Carlo (MCMC) refers to a class of simulation methods for generating samples from a complex target distribution by generating random numbers from a Markov Chain whose stationary distribution is the target distribution. MCMC methods are typically used when more direct methods for random number generation (e.g. inversion method) are infeasible. The very first MCMC method was the Metropolis (et al.) algorithm, later expanded by Hastings.

2 votes

Watanabe–Akaike/widely applicable information criterion (WAIC) using PyMC

You can use the following function: def waic(trace, model=None): """ Calculate the widely available information criterion of the samples in trace from model. """ model = pm.modelc …
aloctavodia's user avatar
4 votes

Metropolis-Hastings acceptance rate confusion

The theory behinds Markov Chain Monte Carlo (the family of algorithms that includes the Metropolis algorithm as a special case) guarantees that (under certain conditions) Metropolis will give you the …
aloctavodia's user avatar