Factorial Hidden Markov Model
A factorial hidden Markov model explains a series by several independent hidden Markov chains whose effects add up. Each chain switches among a few states with its own transition probabilities, and the observed value is the sum of the chains' state levels plus Gaussian noise. The method fits the model by exact EM over all combinations of chain states.
요인 은닉 마르코프 모형은 서로 독립인 여러 은닉 마르코프 사슬의 효과가 더해져 시계열이 만들어진다고 보는 모형입니다. 각 사슬은 자기 전이확률로 몇 개의 상태 사이를 오가고, 관측값은 각 사슬 상태 수준의 합에 정규 잡음을 더한 값입니다. 이 방법은 사슬 상태의 모든 조합에 대해 정확한 EM으로 모형을 적합합니다.
Is my series the sum of several independent on-off or multi-level processes, each switching at its own pace?
시계열이 각자 다른 속도로 바뀌는 여러 개의 독립된 켜짐·꺼짐 또는 다단계 과정의 합인가요?
The method returns, for every chain, the level of each state relative to its lowest state, the transition and stay probabilities, expected durations and time shares, the posterior probability of each chain's states over time, the log-likelihood and BIC.
When to use Factorial Hidden Markov Model
- Several unobserved sources with their own switching behaviour add up in one measured signal.
- You want to separate fast and slow regime processes.
- A single hidden Markov model would need an unwieldy number of states.
When to use something else
- One regime process is enough: use Hidden Markov Model
- Regimes change regression coefficients rather than levels: use Markov Switching Regression Model
- The number of states is unknown and possibly large: use Sticky HDP Hidden Markov Model
Assumptions and requirements
- Chains are independent Markov processes
- Effects of the chains add up
- Gaussian noise with constant covariance
What the analysis reports
- State contrasts per chain and all-baseline mean
- Transition, stay and stationary probabilities, expected durations
- Posterior state probabilities, log-likelihood, AIC and BIC
How to report it
A factorial HMM with [value] chains of [value] states (T = [value]) reached log-likelihood [value] (BIC [value]); the largest state contrast of chain 1 was [value] with stay probability [value].
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with direct computations (formulas, enumeration or simulation).
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과.
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 Factorial 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.