MCMC samples from complex posterior distributions
Image: Our World in Data, CC BY 4.0, via Wikimedia Commons
MCMC samples from complex posterior distributions
Markov chain Monte Carlo (MCMC) is a powerful statistical tool used to sample from complex probability distributions that are difficult to analyze analytically. By constructing a Markov chain with an equilibrium distribution matching the target distribution, MCMC methods enable researchers to approximate these distributions through iterative sampling. This approach is particularly useful for high-dimensional problems where traditional methods fall short.
Example
In Bayesian statistics, MCMC can be used to estimate the posterior distribution of model parameters given observed data. For instance, in a Bayesian linear regression model, MCMC can help sample from the posterior distribution of the regression coefficients, allowing for uncertainty quantification and prediction intervals.
Remember this
MCMC is crucial for statistical inference in complex models, providing a practical way to approximate distributions that are otherwise intractable.
Text adapted from Wikipedia, licensed under CC BY-SA 4.0.
Metropolis–Hastings algorithm
Metropolis-Hastings algorithm samples from difficult distributions
the Dirichlet distribution does: distribution over probability simplices
How do we predict the likelihood of various outcomes in uncertain situations?
Langevin dynamics does: adds noise to gradient descent to sample from a distribution
Langevin dynamics uses stochastic differential equations
Fisher information
Fisher information measures information about unknown parameters
Top-k vs top-p sampling: top-k fixes candidate count, top-p fixes cumulative probability mass
Top-k sampling fixes candidate count; top-p sampling fixes cumulative probability mass
t-SNE preserves local structure
Can we see the hidden patterns in a cloud of data points?
Swipe through 100 ML concepts daily
Open Pocket Polymath