Semi-Markov Process Analysis (Embedded Chain, Sojourn Distributions, Long-Run Occupancy)
The method analyses state sequences as a semi-Markov process: the next state depends only on the current state, but the time spent in a state can follow any distribution. It estimates the embedded jump chain from observed transitions, fits exponential and Weibull holding-time distributions per state with right censoring of each unit's last spell, tests whether holding times are exponential, and derives the long-run share of time in each state.
이 방법은 상태 순서 자료를 준마르코프 과정으로 분석합니다. 다음 상태는 현재 상태에만 의존하지만 한 상태에 머무는 시간은 어떤 분포든 따를 수 있습니다. 관측된 전이로 내재 도약 연쇄를 추정하고, 각 단위의 마지막 구간을 우측 중도절단으로 다루어 상태별 지수·와이블 체류시간 분포를 적합하며, 체류시간이 지수분포인지 검정하고 장기적으로 각 상태에 머무는 시간 비율을 구합니다.
How long do units stay in each state, does the chance of leaving change with time already spent there, and what share of time is spent in each state in the long run?
각 상태에 얼마나 오래 머물고, 이미 머문 시간에 따라 떠날 가능성이 달라지며, 장기적으로 각 상태에서 보내는 시간 비율은 얼마입니까?
The method returns the transition probabilities of the embedded chain, per-state exponential and Weibull holding-time fits with shape intervals, likelihood-ratio tests of exponential holding times per state and in total, the stationary distribution of the embedded chain and the long-run time shares.
When to use Semi-Markov Process Analysis (Embedded Chain, Sojourn Distributions, Long-Run Occupancy)
- You have records of state changes over time for machines, patients, customers or careers.
- Time in a state is unlikely to be memoryless.
- You want long-run occupancy of each state.
When to use something else
- States are observed only at panel visits, not at change times: use Continuous-Time Multi-State Markov Model for Panel Data
- Time is in equal discrete steps and you only need transition counts: use Markov Chain Transition Analysis
Assumptions and requirements
- The next state depends only on the current state
- Holding times depend on the current state only
- State changes are recorded when they happen
What the analysis reports
- Embedded transition probabilities
- Exponential and Weibull holding-time fits by state
- Likelihood-ratio tests of exponential holding times
- Long-run time shares
How to report it
A semi-Markov analysis of [value] units over [value] states rejected exponential holding times (likelihood-ratio chi2([df]) = [value], p [value]); long-run time shares were [values].
Related methods
- Markov Chain Transition Analysis
- Continuous-Time Multi-State Markov Model for Panel Data
- Weibull Parametric Survival Model
- Hidden Markov Model
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with lifelines and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-4.
독립 계산. lifelines·직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과(허용오차 1e-4).
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 Semi-Markov Process Analysis (Embedded Chain, Sojourn Distributions, Long-Run Occupancy) on Quorant
- Data you need
- a table (CSV or Excel) with a unit (entity) ID, a time variable and an outcome variable
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 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.