Particle Filter (Bootstrap and Liu-West)
A particle filter tracks a hidden state through time, such as an underlying level or a log-volatility, by carrying a cloud of weighted simulated states forward and reweighting them by how well they explain each new observation. The bootstrap filter uses known model parameters; the Liu-West filter also learns the parameters as the data arrive by attaching them to the particles and smoothing them with a shrinking kernel.
입자 필터는 기저 수준이나 로그 변동성처럼 숨어 있는 상태를 가중치가 붙은 모의 상태들의 무리로 시간에 따라 추적하며, 새 관측이 들어올 때마다 그 관측을 얼마나 잘 설명하는지에 따라 가중치를 다시 매깁니다. 부트스트랩 필터는 모형 모수를 알고 있다고 두고, Liu-West 필터는 모수를 입자에 붙여 줄어드는 커널로 다듬으며 자료가 들어오는 대로 함께 학습합니다.
What is the current hidden level or volatility of my series given the data so far, and, if I do not know the model parameters, what do the data say about them?
지금까지의 자료로 볼 때 시계열의 숨은 수준이나 변동성은 현재 얼마이며, 모형 모수를 모른다면 자료는 그 모수에 대해 무엇을 말해 줄까요?
For each time point you get the filtered state with a pointwise interval and the effective sample size of the particle cloud. The bootstrap filter also gives an estimate of the log-likelihood for the given parameters. The Liu-West filter adds posterior means and intervals of the noise levels (local level) or of the mean, persistence and volatility of log-variance (stochastic volatility).
When to use Particle Filter (Bootstrap and Liu-West)
- The series is driven by a latent state observed with noise
- The model is nonlinear or non-Gaussian, as in stochastic volatility
- You need filtered estimates that use only past and present data
When to use something else
- The model is linear and Gaussian and you want exact results: use Kalman Filtering
- You need exact parameter posteriors and smoothed paths: use Particle Markov Chain Monte Carlo (PMMH and Particle Gibbs)
- You want conditional variance from past squared returns: use GARCH and EGARCH Volatility Models
Assumptions and requirements
- Rows are in time order (or a time column is given)
- The chosen state-space model describes the series
- Enough particles that the effective sample size does not collapse
What the analysis reports
- Filtered level or volatility with intervals at each time point
- Effective sample size over time
- Particle estimate of the log-likelihood
- Posterior of the model parameters (Liu-West)
How to report it
A Liu-West particle filter with [value] particles for a stochastic volatility model gave a final filtered volatility of [value] (95% interval [value], [value]); the persistence was estimated at [value] (95% CrI [value], [value]).
Related methods
- Kalman Filtering
- Nonlinear Kalman Filters (EKF, UKF, Ensemble KF)
- GARCH and EGARCH Volatility Models
- Particle Markov Chain Monte Carlo (PMMH and Particle Gibbs)
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 Filter (Bootstrap and Liu-West) 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.