Phase-Type Distribution Fit (Hyperexponential and Hyper-Erlang)
A phase-type distribution is the time until absorption of a continuous-time Markov chain. The method fits two widely used acyclic subclasses by the EM algorithm: hyperexponential (a mixture of exponentials) and hyper-Erlang (a mixture of Erlang chains), searching over ways to split a given number of phases into branches and choosing by BIC. It reports the phase-type representation (initial vector and generator matrix) for queueing and reliability models.
위상형 분포는 연속시간 마르코프 연쇄가 흡수 상태에 도달하는 데 걸리는 시간의 분포입니다. 이 방법은 널리 쓰이는 비순환 하위 부류인 초지수분포(지수분포 혼합)와 초얼랑분포(얼랑 사슬 혼합)를 EM 알고리즘으로 적합하고, 주어진 위상 수를 가지로 나누는 방식을 비교해 BIC로 고릅니다. 대기행렬과 신뢰성 모형에 쓸 수 있도록 초기 벡터와 생성 행렬을 함께 보고합니다.
Can my durations be represented as a small Markov chain of exponential stages, and what are its parameters?
지속시간을 지수 단계로 이루어진 작은 마르코프 연쇄로 나타낼 수 있으며, 그 모수는 무엇입니까?
The method returns the branch orders, probabilities and rates, the initial vector and generator matrix, the mean and squared coefficient of variation, log-likelihood, AIC, BIC and a KS distance, with a comparison of the branch configurations tried.
When to use Phase-Type Distribution Fit (Hyperexponential and Hyper-Erlang)
- You need service, repair or waiting times as input to a Markov queueing or reliability model.
- Your durations are more variable than exponential (hyperexponential) or multimodal.
- You want a fitted law whose Laplace transform and moments are available in closed form.
When to use something else
- You need covariates or censoring: use Weibull Parametric Survival Model
- A single named family is enough: use Distribution Fitting and Selection by Maximum Likelihood
Assumptions and requirements
- Independent positive durations
- No censoring
- A total number of phases chosen by the analyst (up to 8)
What the analysis reports
- Branch orders, probabilities and rates
- Initial vector and generator matrix
- Mean and squared coefficient of variation
- Log-likelihood, AIC, BIC, KS distance
How to report it
A hyper-Erlang distribution with branch orders [value] fitted by EM had mean [value] and squared coefficient of variation [value] (BIC = [value]).
Related methods
- Distribution Fitting and Selection by Maximum Likelihood
- Weibull Parametric Survival Model
- Loss Distribution Fitting
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with SciPy and direct computations (formulas, enumeration or simulation).
독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 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 Phase-Type Distribution Fit (Hyperexponential and Hyper-Erlang) 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.