Non-Gaussian State Space Model (Exponential-Family Observations)
A state space model in which a latent random-walk level or smooth trend drives Poisson, binomial, negative binomial or gamma observations through a log or logit link, fitted by maximising an importance-sampling estimate of the likelihood built on a Gaussian approximation at the posterior mode.
잠재 신호(랜덤워크 수준 또는 평활 추세)가 로그·로짓 연결을 통해 포아송, 이항, 음이항, 감마 관측을 만들어 내는 상태공간모형입니다. 사후 최빈 경로에서 만든 가우스 근사를 중요도 표집에 써서 우도를 추정하고, 그 우도를 최대화해 모수를 구합니다.
How has the underlying rate of my monthly case counts moved over time once Poisson noise is separated from real change?
월별 환자 수에서 포아송 잡음을 걷어 내면 실제 발생률은 시간에 따라 어떻게 움직였나요?
The method finds the most likely path of the latent signal, uses a Gaussian approximation around it to draw plausible signal paths, and weights these draws to estimate the exact likelihood. The state variance (and the dispersion for negative binomial or gamma data) is chosen to maximise that likelihood, and the weighted draws give the smoothed rate with a 95% band.
When to use Non-Gaussian State Space Model (Exponential-Family Observations)
- Counts, proportions or positive skewed values are observed over time and the underlying level drifts.
- You need a smoothed rate with uncertainty that respects the count distribution.
- Exposure or the number of trials changes from period to period.
When to use something else
- The observations are continuous and roughly normal: use Kalman Filtering.
- You want an observation-driven count model with lagged counts as predictors: use Count Time Series Models (INGARCH, INAR).
- You need covariate effects or seasonal states, which this model does not include.
Assumptions and requirements
- Observations are conditionally independent given the signal.
- The signal follows a random walk (level) or an integrated random walk (smooth trend).
- Equally spaced time points.
- The importance weights are well behaved (check the effective sample size).
What the analysis reports
- State variance with 95% confidence interval
- Dispersion (negative binomial size or gamma shape)
- Simulated and Laplace log-likelihoods, AIC
- Smoothed signal and mean response with 95% bands
- Importance sampling effective sample size
How to report it
A Poisson state space model with a random-walk level (n = [n]) gave a state variance of [value] (95% CI [low] to [high]); simulated log-likelihood [value].
Related methods
- Kalman Filtering
- Count Time Series Models (INGARCH, INAR)
- Poisson Regression Model
- Gaussian Process State-Space Model
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels and direct computations (formulas, enumeration or simulation) at a stated tolerance of 5e-3.
독립 계산. statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 5e-3).
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 Non-Gaussian State Space Model (Exponential-Family Observations) on Quorant
- Data you need
- a table (CSV or Excel) with a time variable and 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.