MCMC Flashcards
(11 cards)
What happens when you have many parameters?
You end up having to look at bigger parameter spaces, making good guesses become rare
What is the prior?
It represents what we believe about the parameter before seeing the data
What is the likelihood?
The probability of observing the data given a particular parameter value
What is the posterior?
The updated belief about the parameter after seeing the data.
What is MCMC?
An algorithm that steps through the parameter space and moves towards areas of higher likelihood
What is a chain in MCMC?
A series of guesses. The rest of the guesses is used to estimate the posterior.
What is a “hairy caterpillar” chain?
A well-mixed, stable chain with no trends - indicates good exploration of the parameter space
What are signs of a bad MCMC chain?
Not reaching high-likelihood zones
Not mixed well (auto correlated)
Trendy or stuck patterns
What are the steps to an MCMC?
- Starts at a random guess
- Proposes a small move
- Keeps or rejects it based on likelihood comparison
- Repeats steps to form chain of guesses
- Uses the chain to build the posterior dstribution
What are Monte Carlo methods used for?
Estimating numerical results that are difficult to calculate directly.
Simulating random provesses
Approximate probability distributions
Explore parameters spaces
What are Monet Carlo methods used for?
To approximate the posterior distribution when it’s too hard to compute directly. You draw thousands of random parameter values and simulate the data and keep the guesses that fit the observed data.