mcmc
MCMC, or Markov chain Monte Carlo, is a class of algorithms for sampling from complex probability distributions by constructing a Markov chain whose stationary distribution is the target distribution. The Monte Carlo aspect uses random sampling to estimate expectations, while the Markov chain aspect provides a mechanism to explore high‑dimensional state spaces when direct sampling is impractical.
In Bayesian statistics, MCMC is widely used to approximate posterior distributions that arise when closed-form solutions
Common algorithms include Metropolis-Hastings, which proposes new states and accepts them with a probability ensuring reversibility,
Key considerations in practice include choosing proposal distributions, diagnosing convergence and mixing, determining burn-in and thinning,