Particle Markov Chain Monte Carlo (PMMH and Particle Gibbs)
Particle Markov chain Monte Carlo runs a particle filter inside an MCMC sampler so that the chain targets the exact joint posterior of the parameters and the hidden path of a state-space model, even though the likelihood can only be estimated. Particle marginal Metropolis-Hastings uses the filter's likelihood estimate in the acceptance step; particle Gibbs with ancestor sampling updates the whole hidden path with a conditional particle filter and then the parameters given the path.
입자 마르코프 연쇄 몬테카를로는 MCMC 표본추출기 안에서 입자 필터를 돌려, 우도를 추정만 할 수 있는데도 상태공간모형의 모수와 숨은 경로의 정확한 결합 사후분포를 목표로 삼습니다. 입자 주변 메트로폴리스-헤이스팅스는 필터의 우도 추정치로 채택 여부를 정하고, 조상 표집 입자 깁스는 조건부 입자 필터로 숨은 경로 전체를 갱신한 뒤 경로가 주어졌을 때 모수를 갱신합니다.
What are the parameters and the hidden level or volatility path of my series, with full Bayesian uncertainty and no linear-Gaussian approximation?
선형 정규 근사 없이 완전한 베이즈 불확실성을 담아, 시계열의 모수와 숨은 수준 또는 변동성 경로를 어떻게 추정할 수 있을까요?
You get posterior means, SDs, credible intervals and effective sample sizes of the model parameters, and the smoothed state at every time point with a credible band using all the data. For the Metropolis-Hastings version the SD of the log-likelihood estimator at the posterior mean is reported, which should be roughly 1 to 1.7 for efficient sampling.
When to use Particle Markov Chain Monte Carlo (PMMH and Particle Gibbs)
- You need exact Bayesian inference for a nonlinear or non-Gaussian state-space model
- You want smoothed hidden states with uncertainty that includes parameter uncertainty
- The series is moderate in length (up to 1,000 time points)
When to use something else
- You only need online filtered estimates: use Particle Filter (Bootstrap and Liu-West)
- The model is linear and Gaussian: use Kalman Filtering
- You want a structural decomposition into trend, season and regression: use Bayesian Structural Time Series (BSTS)
Assumptions and requirements
- Rows are in time order (or a time column is given)
- The chosen state-space model and priors are appropriate
- The chain has run long enough (check the effective sample sizes)
What the analysis reports
- Parameter posteriors with credible intervals and effective sample sizes
- Smoothed state path with credible band
- Acceptance rate and log-likelihood estimator SD (PMMH)
How to report it
A stochastic volatility model fitted by particle Gibbs with ancestor sampling ([value] particles, [value] retained iterations) gave persistence phi = [value] (95% CrI [value], [value]) and volatility of volatility sigma = [value] (95% CrI [value], [value]).
Related methods
- Particle Filter (Bootstrap and Liu-West)
- Kalman Filtering
- Gaussian Process State-Space Model
- Bayesian Structural Time Series (BSTS)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with reference values computed independently in the test suite.
독립 계산. 시험에서 따로 계산한 참조값 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Particle Markov Chain Monte Carlo (PMMH and Particle Gibbs) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable
- Price
- 900 credits for one analysis up to 10,000 rows (complexity level 5); larger or wider data costs more. Optional methodologist review: 3600 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.