Phase-Type Distribution Fitting by EM (General and Coxian)
The method fits a continuous phase-type distribution, the time until a finite Markov jump process reaches an absorbing state, to positive durations. A general structure allows any start phase and any transitions, while the Coxian structure starts in the first phase and moves forward or exits; parameters are estimated by the EM algorithm of Asmussen, Nerman and Olsson.
이 방법은 유한 마르코프 도약 과정이 흡수 상태에 이를 때까지의 시간인 연속 위상형 분포를 양의 지속시간 자료에 적합합니다. 일반 구조는 어느 위상에서든 시작하고 어떤 전이든 허용하며, 콕스 구조는 첫 위상에서 시작해 앞으로 이동하거나 빠져나갑니다. 모수는 아스무센, 너만, 올손의 EM 알고리즘으로 추정합니다.
Can these durations be described as the time to pass through a small number of hidden exponential stages, and with what structure?
이 지속시간을 몇 개의 숨은 지수 단계를 거치는 시간으로 설명할 수 있으며, 그 구조는 어떠합니까?
The method returns the initial probabilities and the transition and exit rates of the phases, the fitted mean and squared coefficient of variation, the log-likelihood, AIC and BIC against the exponential distribution, and a KS distance.
When to use Phase-Type Distribution Fitting by EM (General and Coxian)
- You model service, repair or waiting times for queueing or reliability calculations.
- Durations are not exponential and you want a Markovian representation.
- You want a flexible distribution with closed-form moments and Laplace transform.
When to use something else
- You only need mixtures of exponential or Erlang branches: use Phase-Type Distribution Fit (Hyperexponential and Hyper-Erlang)
- Durations are censored or depend on covariates: use Weibull Parametric Survival Model
Assumptions and requirements
- Independent identically distributed durations
- No censoring
- The number of phases is chosen by the user
What the analysis reports
- Initial probabilities, transition and exit rates
- Fitted mean, variance and SCV
- Log-likelihood, AIC and BIC
- Comparison with the exponential
How to report it
A [p]-phase [structure] phase-type distribution fitted by EM had mean [value] and SCV [value]; AIC was [value] relative to the exponential distribution.
Related methods
- Phase-Type Distribution Fit (Hyperexponential and Hyper-Erlang)
- Weibull Parametric Survival Model
- Semi-Markov Process Analysis (Embedded Chain, Sojourn Distributions, Long-Run Occupancy)
How this method is validated
이 방법의 검증 근거
- Independent computation. 3 reference tests compare the results with SciPy at a stated tolerance of 1e-5.
독립 계산. SciPy 대조 참조 시험 3건 통과(허용오차 1e-5).
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 Phase-Type Distribution Fitting by EM (General and Coxian) 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.