Skip to content

Methods · Survival analysis · Model diagnostics

Hjort Goodness-of-Fit Test for Parametric Survival Models

Hjort's test checks whether a parametric survival model, such as the Weibull or log-normal, describes the data. Follow-up time is cut into intervals, and in each interval the observed number of events is compared with the number implied by the fitted hazard for the people at risk. The covariance of the differences accounts for the fact that the parameters were estimated from the same data, and the statistic follows a chi-square distribution if the model fits.

Hjort 검정은 와이블이나 로그정규 같은 모수적 생존모형이 자료를 잘 설명하는지 점검합니다. 추적기간을 구간으로 나누고 각 구간에서 관측된 사건 수를 위험집합의 적합된 위험으로부터 기대되는 사건 수와 비교합니다. 차이의 공분산은 모수를 같은 자료로 추정했다는 점을 반영하며, 모형이 맞으면 통계량은 카이제곱 분포를 따릅니다.

Does the chosen parametric distribution describe the timing of events over the follow-up?

선택한 모수적 분포는 추적기간 동안 사건이 일어나는 시점을 잘 설명합니까?

The method returns the chi-square statistic with its degrees of freedom and p-value, and for each interval the observed and expected events, their difference and a standardized difference, together with the fitted parameters.

When to use Hjort Goodness-of-Fit Test for Parametric Survival Models

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Hjort's goodness-of-fit test of the [value] model over [value] intervals gave chi2([value]) = [value], p = [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 2 reference tests compare the results with lifelines 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 Hjort Goodness-of-Fit Test for Parametric Survival Models on Quorant

Data you need
a table (CSV or Excel) with a time variable and an event indicator
Price
250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 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 Q61064 · Reviewed 2026-10-25