Skip to content

Methods · Environmental statistics · Censored data

Two-Group Comparison of Censored Data

Two-group comparison of censored data tests whether concentrations containing nondetects differ between two groups using the Peto-Prentice generalized Wilcoxon test, the Gehan test or a censored lognormal likelihood-ratio test.

중도절단 자료의 두 집단 비교는 검출한계 미만 값이 섞인 농도가 두 집단에서 다른지를 Peto-Prentice 일반화 Wilcoxon 검정, Gehan 검정, 중도절단 로그정규 우도비 검정으로 검정하는 방법입니다.

Are contaminant levels higher downstream than upstream when many samples are below the detection limit?

시료 상당수가 검출한계 미만일 때, 하류의 오염 농도가 상류보다 높은가요?

Flipping left-censored concentrations turns nondetects into right-censored observations, so survival-analysis score tests such as the Peto-Prentice generalized Wilcoxon or the Gehan test can compare the two distributions without substituting values. Alternatively, a censored lognormal regression with a group term gives a likelihood-ratio test and a ratio of geometric means.

When to use Two-Group Comparison of Censored Data

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Concentrations differed significantly between [group 1] (KM median = [value]) and [group 2] (KM median = [value]), Peto-Prentice generalized Wilcoxon test, χ²(1) = [value], p = [value] (N = [n]).

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with lifelines.

    독립 계산. lifelines 대조 참조 시험 1건 통과.

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 Two-Group Comparison of Censored Data on Quorant

Data you need
a table (CSV or Excel) with an outcome variable, an event indicator and a grouping 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.

Method ID Q09007 · Reviewed 2026-10-25