Skip to content

Methods · Bayesian statistics · Bayesian nonparametrics

Sticky HDP Hidden Markov Model

A hidden Markov model whose number of hidden states is not fixed in advance: a hierarchical Dirichlet process prior on the transition probabilities lets the data decide how many regimes there are, and an extra self-transition weight favours persistent regimes.

끈끈한(sticky) HDP 은닉 마르코프 모형은 전이확률에 계층적 디리클레 과정 사전분포를 두어 숨은 상태의 수를 자료가 정하게 하고, 자기전이에 가중치를 더해 오래 지속되는 국면을 선호하는 모형입니다.

How many distinct regimes does my series go through, and when does it switch between them?

내 시계열은 몇 개의 서로 다른 국면을 거치며, 언제 국면이 바뀔까요?

The sampler alternates between drawing the whole state sequence and the transition and emission parameters. You get the posterior distribution of the number of occupied states, a representative state sequence, the mean, spread and persistence of each state and the transition matrix.

When to use Sticky HDP Hidden Markov Model

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

A sticky HDP hidden Markov model for [series] (T = [value]) gave a posterior mean of [value] occupied states (95% interval [value] to [value]); the point estimate had [value] states with [value] switches.

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-12.

    독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-12).

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 Sticky HDP Hidden Markov Model on Quorant

Data you need
a table (CSV or Excel) with a time variable and 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.

Method ID Q15077 · Reviewed 2026-10-25