liveBook · Manning

Markov chain monte carlo

Markov chain Monte Carlo is a family of sampling algorithms that generate samples using a Markov chain whose stationary or limiting distribution is a target probability distribution.

How 2 Manning books explain it

Machine Learning Algorithms in Depth

Markov chain Monte Carlo is a Monte Carlo methodology that samples a Markov chain to approximate a target probability distribution, typically a posterior distribution.

How it is used
Approximates high-dimensional Bayesian posterior distributions through samples from a Markov chain.
How deep it goes
Defines the stationary-distribution principle and sketches Gibbs and Metropolis–Hastings updates without specifying a complete sampler implementation.
Examples
Uses inverse-CDF exponential sampling, π estimation, a binomial tree model, and a self-avoiding random walk as sampling examples.
What you can do after
Evaluate/understand it as a way to estimate posterior quantities and distinguish sampling from variational approximation.

Read how Machine Learning Algorithms in Depth explains markov chain monte carlo →

Causal AI

Markov chain Monte Carlo is a family of sampling algorithms that generate a Markov chain whose limiting distribution is a target probability distribution.

How it is used
Supports probabilistic inference after causal-model transformations, including interventions, conditioning, and counterfactual queries.
How deep it goes
Explains accept/reject chains and limiting convergence, then applies MCMC within a causal inference workflow.
Examples
Uses an online gaming query involving intervention E and outcome IE to demonstrate sampling from causal distributions.
What you can do after
Apply it via Pyro or PyMC to sample from distributions defined by transformed causal models.

Read how Causal AI explains markov chain monte carlo →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.