Auxiliary Particle Filter
The auxiliary particle filter tracks a hidden state through time with a cloud of weighted particles. Before propagating, it looks ahead at the next observation and favours particles that are likely to explain it, then corrects with a second weight; this keeps more particles useful than the plain bootstrap filter when observations are informative or contain outliers.
보조 입자필터는 가중치가 붙은 입자 묶음으로 시간에 따라 숨은 상태를 추적합니다. 다음 관측값을 미리 보고 그 값을 잘 설명할 입자를 먼저 골라 전파한 뒤 두 번째 가중치로 보정하므로, 관측이 정보가 많거나 이상값이 있을 때 일반 부트스트랩 필터보다 쓸모 있는 입자가 더 많이 남습니다.
Given known model parameters, what is the hidden level or volatility of my series at each time point, and what is the likelihood of the series?
모형 모수를 알고 있을 때, 각 시점의 숨은 수준이나 변동성은 얼마이며 계열 전체의 우도는 얼마입니까?
You get the filtered state with its SD and interval at every time point, the effective sample size of the particles before and after each step, and an unbiased estimate of the likelihood. For the linear Gaussian local level model the exact Kalman filter is shown alongside as a check.
When to use Auxiliary Particle Filter
- Model parameters are known or fixed in advance and you need the filtered state
- Observations are informative relative to the state noise, where the bootstrap filter degenerates
- You need a low-variance likelihood estimate for a stochastic volatility model
When to use something else
- Parameters must be estimated with uncertainty : use Particle Markov Chain Monte Carlo (PMMH and Particle Gibbs)
- You want on-line parameter learning or the plain bootstrap filter : use Particle Filter (Bootstrap and Liu-West)
- The model is linear and Gaussian and you need only the filter : use Kalman Filtering
Assumptions and requirements
- Rows are in time order (or a time column is given)
- The state-space model and its parameter values are appropriate
- Enough particles for the effective sample size to stay well above 1% of particles
What the analysis reports
- Filtered state with SD and interval per time point
- First- and second-stage effective sample sizes
- Log-likelihood estimate (and exact Kalman value for the local level model)
How to report it
An auxiliary particle filter with [value] particles gave a final filtered level of [value] (95% interval [[value], [value]]) and a log-likelihood of [value].
Related methods
- Particle Filter (Bootstrap and Liu-West)
- Particle Markov Chain Monte Carlo (PMMH and Particle Gibbs)
- Kalman Filtering
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels at a stated tolerance of 1e-8.
독립 계산. statsmodels 대조 참조 시험 1건 통과(허용오차 1e-8).
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 Auxiliary Particle Filter on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 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.