Author-reviewedEvidence: highv1.0.1

Tarone-Ware Test

The Tarone-Ware test is a weighted log-rank test comparing survival between trial arms, weighting each event time by the square root of the number at risk.

Status
Published, version 1.0.1
Last reviewed
1 Nov 2026, by Dr Darrin Baines
Report a problem
Tell us if something is wrong or out of date

Concept Architecture

Tarone-Ware Test for Comparing Survival Curves

The Tarone-Ware test asks whether two or more groups, such as the arms of a randomised trial, share the same time-to-event experience once censoring is allowed for. It is one of the weighted log-rank tests, and its weight shrinks gently as fewer patients remain under observation, so deaths or progressions early in follow-up count for somewhat more than later ones. Health economists meet it in trial reports and appraisal submissions when survival curves separate early and a check less dependent on proportional hazards than the ordinary log-rank test is wanted. Its output is a chi-square statistic and a p-value, never a survival gain, so a cost-effectiveness model still needs estimated and extrapolated survival curves whatever the test shows.

Origin of the square-root weight

Tarone and Ware, in Biometrika in 1977, showed that the log-rank statistic and the modified Wilcoxon statistic for right-censored data differ only in their choice of weights, and that those weights are functions of the number of individuals at risk at each death. They proposed a related statistic that may be more powerful across a range of alternatives than either. The Stata manual describes the Tarone-Ware test as the one suggested in that paper, with weights equal to the square root of the number of subjects in the risk pool.

The family is easiest to see side by side. The Stata manual tabulates each test's weight at a distinct failure time, where nin_i is the number at risk and S~(ti)\tilde S(t_i) is a modified estimate of the pooled survivor function.

TestWeight at each event timeEmphasis
Log-rank1Equal weight at every event time
Tarone-Wareni\sqrt{n_i}Moderate extra weight on early events
Wilcoxon (Breslow-Gehan)nin_iStrong extra weight on early events
Peto-Peto-PrenticeS~(ti)\tilde S(t_i)Early events, weighted by pooled survival

The square root sits between a constant and the full risk-set size, which places the test between the log-rank and the Wilcoxon test in how strongly it favours early events. The Peto test and the Fleming-Harrington test build their weights from estimates of pooled survival based on the Kaplan-Meier estimator instead, so they follow the shape of the survival curve, not the size of the risk set.

The two-arm statistic

At each distinct event time the test compares the deaths observed in one arm with the number expected if both arms had the same hazard, given who is still at risk. The Stata manual gives the general form for rr groups, which for two arms reduces to the following.

UTW=∑j=1knj (d1j−e1j),e1j=n1j djnjU_{TW} = \sum_{j=1}^{k} \sqrt{n_j}\,\left(d_{1j} - e_{1j}\right), \qquad e_{1j} = \frac{n_{1j}\,d_j}{n_j}

where kk is the number of distinct event times, njn_j is the number at risk in both arms just before event time tjt_j, n1jn_{1j} is the number at risk in arm 1, djd_j is the total number of events at tjt_j, d1jd_{1j} is the number of those events in arm 1, and e1je_{1j} is the number of arm 1 events expected under the null hypothesis of equal hazards.

VTW=∑j=1knj n1j n0j dj (nj−dj)nj2 (nj−1),χTW2=UTW2VTWV_{TW} = \sum_{j=1}^{k} n_j\,\frac{n_{1j}\,n_{0j}\,d_j\,(n_j - d_j)}{n_j^{2}\,(n_j - 1)}, \qquad \chi^2_{TW} = \frac{U_{TW}^{2}}{V_{TW}}

where n0jn_{0j} is the number at risk in arm 0, the factor njn_j in front is the squared weight (nj)2(\sqrt{n_j})^2, VTWV_{TW} is the variance of UTWU_{TW} under the null hypothesis, and χTW2\chi^2_{TW} is the test statistic. For two arms it is compared with a chi-square distribution with one degree of freedom, and for rr groups the Stata manual gives r−1r - 1 degrees of freedom. When only one event occurs at a time, each term of VTWV_{TW} simplifies to n1jn0j/njn_{1j} n_{0j} / n_j.

The manual also describes a stratified version, with score and variance summed over strata, and a trend test for ordered groups using the same weights. Multiplying every weight by one constant leaves χTW2\chi^2_{TW} unchanged, so only relative weights matter.

What the weight does over follow-up

The weight at the last event time compared with the first is the square root of the ratio of the two risk-set sizes. In an illustrative trial whose risk set shrinks to a quarter of its starting size, the log-rank test weights first and last events equally, the Tarone-Ware test gives the first event twice the weight of the last, and the Breslow-Gehan test gives it four times the weight.

Because the weight is built from the number at risk, it moves with anything that empties the risk set. Deaths, loss to follow-up and administrative censoring of late entrants all count, so two trials with identical survival curves but different accrual can weight the same months differently. The Stata manual says the test suits hazards thought to vary other than proportionally when censoring patterns are similar across groups, and is less susceptible than the Wilcoxon test to the censoring pattern, although large differences between groups could remain a problem. The R survival documentation notes that Peto and Peto showed the Gehan-Wilcoxon test can be badly biased under different censoring patterns, and the Stata manual states that the Peto-Peto-Prentice test is not affected by them, which matters when censoring differs by arm.

When few patients have an event, the risk set barely shrinks, the square-root weights are almost constant and the result is close to the log-rank result. Royston and Parmar, simulating tests for randomised trials, found that a low control-arm event rate reduced the power of weighted log-rank tests aimed at early effects. They explain that with such data the early-effect weights vary little, so the weighted test too closely resembles the standard log-rank test, and the same arithmetic applies to square-root weights on a slowly shrinking risk set.

Choosing the test before unblinding

The Tarone-Ware test gains statistical power over the log-rank test when the true difference between arms is concentrated where its weights are largest. Royston and Parmar note that when the proportional hazards assumption is false, the log-rank test loses power and the hazard ratio becomes harder to interpret as the treatment effect, and they found that several tests aimed at a particular pattern performed well when the correct type of treatment effect had been assumed. A trial expecting early separation can prespecify the Tarone-Ware test as primary or as a sensitivity analysis. Picking the weighted test with the smallest p-value after seeing the curves inflates the false-positive rate.

Planning can use the same weights. The SAS POWER procedure computes power and sample size for two survival curves under the log-rank, Gehan or Tarone-Ware tests (TEST=TARONEWARE) by the method of Lakatos, so the answer depends on the assumed shape of both curves, accrual and loss to follow-up.

Worked example with early deaths in the control arm

All numbers in this example are illustrative. A small trial randomises 10 patients to a new treatment (arm 1) and 10 to standard care (arm 0) and follows everyone for 12 months. In arm 1 deaths occur at months 5, 9 and 10, and seven patients are alive and censored at 12 months. In arm 0 deaths occur at months 1, 2, 3 and 8, one patient is lost to follow-up at month 6, and five are censored at 12 months.

1. Build the risk sets. At each of the seven death times the table lists the numbers at risk just before the death, expected arm 1 deaths and the weighted terms. Each time has a single death, so the variance term is n1jn0j/nj2n_{1j} n_{0j}/n_j^2 and the squared-weight term is n1jn0j/njn_{1j} n_{0j}/n_j.

Monthn1jn_{1j}n0jn_{0j}d1jd_{1j}e1je_{1j}d1j−e1jd_{1j}-e_{1j}nj\sqrt{n_j}Weighted differencenj×n_j \times variance
1101000.5000-0.50004.4721-2.23615.0000
210900.5263-0.52634.3589-2.29424.7368
310800.5556-0.55564.2426-2.35704.4444
510710.58820.41184.12311.69774.1176
89600.6000-0.60003.8730-2.32383.6000
99510.64290.35713.74171.33633.2143
108510.61540.38463.60561.38683.0769

2. Sum the score. Arm 1 had 3 deaths against 4.0283 expected. The weighted score is UTW=−2.2361−2.2942−2.3570+1.6977−2.3238+1.3363+1.3868=−4.7902U_{TW} = -2.2361 - 2.2942 - 2.3570 + 1.6977 - 2.3238 + 1.3363 + 1.3868 = -4.7902, negative because arm 1 had fewer deaths than expected.

3. Sum the variance. VTW=5.0000+4.7368+4.4444+4.1176+3.6000+3.2143+3.0769=28.1901V_{TW} = 5.0000 + 4.7368 + 4.4444 + 4.1176 + 3.6000 + 3.2143 + 3.0769 = 28.1901.

4. Form the statistic. χTW2=4.79022/28.1901=22.9460/28.1901=0.8140\chi^2_{TW} = 4.7902^2 / 28.1901 = 22.9460 / 28.1901 = 0.8140, with one degree of freedom and a p-value of 0.37.

5. Compare the neighbours. On the same data the log-rank test gives U=−1.0283U = -1.0283, V=1.6947V = 1.6947 and χ2=0.6240\chi^2 = 0.6240 (p = 0.43), and the Breslow-Gehan test gives U=−22U = -22, V=479V = 479 and χ2=1.0104\chi^2 = 1.0104 (p = 0.31). The Tarone-Ware result falls between them because three of the four control deaths came in the first three months, where its weights are largest.

6. Interpret. None of the three tests gives evidence of a difference with 20 patients, and the result says nothing about the size of any benefit. For an economic model the same data give Kaplan-Meier survival at 12 months of 0.70 in arm 1 and 0.5833 in arm 0, and a restricted mean survival time to 12 months of RMST1=5+4(0.9)+0.8+2(0.7)=10.80\text{RMST}_1 = 5 + 4(0.9) + 0.8 + 2(0.7) = 10.80 months against RMST0=1+0.9+0.8+5(0.7)+4(0.5833)=8.53\text{RMST}_0 = 1 + 0.9 + 0.8 + 5(0.7) + 4(0.5833) = 8.53 months, a difference of 2.27 months within follow-up.

Survival inputs a cost-effectiveness model still needs

NICE Decision Support Unit Technical Support Document 14, on survival analysis for economic evaluations alongside clinical trials, explains why a test is not enough. Survival data are often censored, so extrapolation is needed to estimate the full survival benefit, and relying on the observed trial period alone is likely to underestimate the survival gain and the QALYs gained. The document notes that mean survival equals the area under the survival curve and that parametric models are likely to be the preferred way of bringing survival data into health economic models in most cases.

A Tarone-Ware p-value feeds none of these steps directly. It does not choose a survival distribution, supply the curves a partitioned survival model needs, or show that proportional hazards fail. TSD 14 also stresses that standard survival methods suit only uninformative censoring, a condition the Tarone-Ware test shares. In an appraisal, a significant early-weighted test alongside a non-significant log-rank test is a signal to look at time-varying hazards and at how the extrapolated curves treat the period after the early separation.

Software conventions and a common mix-up

Stata runs the test with sts test, tware, with strata() for the stratified form and trend for ordered groups. In Python, the statsmodels survdiff function takes weight_type="tw", documented as weighting by the square root of the risk-set size. In the Stata manual's heart transplant example, with little difference between groups, the chi-square values are 0.13 for the log-rank, 0.14 for Wilcoxon-Breslow-Gehan and 0.12 for Tarone-Ware.

The R survival function survdiff weights each death by S^(t)ρ\hat S(t)^{\rho}, where S^(t)\hat S(t) is the Kaplan-Meier estimate. A value of ρ=0.5\rho = 0.5 weights by the square root of pooled survival, a different statistic from the Tarone-Ware test, so a report should name the weight actually used.

Limitations and common misreadings

The test is simple and widely available. Its weight carries assumptions about trial design as well as about when any effect appears.

  1. Reading significance as a treatment effect. The statistic tests equality of survival distributions, and the size of any difference must come from survival estimates or a model.
  2. Treating it as a test of proportional hazards. Disagreement with the log-rank result hints at where curves differ but does not diagnose the hazard pattern.
  3. Ignoring the censoring pattern. Unequal loss to follow-up or accrual between arms can distort the emphasis.
  4. Choosing the weight after seeing the curves. Selecting the most favourable weighted test invalidates the nominal significance level unless multiplicity is controlled, for example by hierarchical testing.
  5. Expecting large gains from a mild weight. With low event rates the test behaves almost like the log-rank test, and with a delayed effect it puts its largest weights where the arms differ least.
  6. Confusing implementations. The square-root weight is on the number at risk, not on pooled survival.

Sources

Library

Publications

1
  • Guidance

    NICE DSU Technical Support Document 15: Cost-effectiveness modelling using patient-level simulation — Davis, Stevenson, Tappenden & Wailoo, TSD 15 ed., 2014 (NICE Decision Support Unit (University of Sheffield))

    Guidance on individual patient-level (microsimulation) cost-effectiveness modelling — when to use it in preference to cohort models, how to structure it, and how to handle the associated computational and uncertainty challenges.

Frequently Asked Questions (6)

  • What is the Tarone-Ware test?

    The Tarone-Ware test is a weighted log-rank test comparing survival between trial arms, weighting each event time by the square root of the number at risk.

    Source: StataCorp 2025

  • Where does the Tarone-Ware test sit among weighted survival tests?

    Within the weighted log-rank family, each test multiplies the observed-minus-expected deaths at every event time by its own weight. The log-rank test uses a weight of one throughout, and the Breslow-Gehan form of the Wilcoxon test uses the full number at risk. The Tarone-Ware test, first suggested by Tarone and Ware in 1977, uses the square root of the number at risk, so it lies between these two in how strongly it favours early events. The Peto-Peto-Prentice test belongs to the same family but builds its weight from an estimate of pooled survival instead of the size of the risk set.

    Source: StataCorp 2025

  • How does the Tarone-Ware test weight events?

    At each distinct event time the test compares the deaths observed in one arm with those expected if both arms shared the same hazard, given who is still at risk. That difference is multiplied by the square root of the number at risk in both arms, and the variance uses the squared weight, which is simply the number at risk. Early events, when the risk set is largest, therefore count for more than late ones. If the risk set shrinks to a quarter of its starting size, the first event carries twice the weight of the last, against four times under the Breslow-Gehan test. Multiplying every weight by one constant leaves the chi-square statistic unchanged.

    Source: StataCorp 2025

  • How does the Tarone-Ware test compare with the log-rank and Wilcoxon tests?

    All three tests use the same observed-minus-expected statistic and differ only in the weight given to each event time, so with little difference between groups they can give almost the same answer. In the Stata manual's heart transplant example the chi-square values are 0.13 for the log-rank, 0.14 for the Wilcoxon-Breslow-Gehan and 0.12 for the Tarone-Ware test. The log-rank test, with equal weights, is described as most appropriate when hazards are thought to be proportional. The Tarone-Ware test, like the Wilcoxon test, suits hazards that vary in other ways when censoring patterns are similar across groups, and it is less susceptible than the Wilcoxon test to the censoring pattern, although large differences between arms could still distort it.

    Source: StataCorp 2025

  • When is the Tarone-Ware test used?

    Health economists meet the Tarone-Ware test in trial reports and appraisal submissions, usually when survival curves separate early and a check less dependent on proportional hazards than the log-rank test is wanted. A trial expecting early separation can prespecify it as the primary analysis or as a sensitivity analysis. Its output is a chi-square statistic and a p-value, which gives no estimate of the size of any survival gain. NICE DSU Technical Support Document 14 explains that censored trial data need extrapolation to estimate the full survival benefit, and that parametric models are likely to be the preferred way of bringing survival data into economic models in most cases.

    Source: Latimer 2013

  • What determines the choice of the Tarone-Ware test among weighted survival tests?

    Tarone-Ware weights reward differences that appear early in follow-up, so the expected timing of any difference between arms, set out before the data are unblinded, drives the choice. Royston and Parmar found that tests aimed at a particular pattern performed well when the correct type of treatment effect had been assumed, which gives a trial expecting early separation a reason to use an early-weighted test. They also found that a low control-arm event rate reduced the power of weighted tests aimed at early effects, because the weights then vary little and the test behaves much like the log-rank test. Picking whichever weighted test gives the smallest p-value after seeing the curves inflates the false-positive rate.

    Source: Royston & Parmar 2020

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 1 Nov 2026

Content version: 1.0.1

Canonical Identity

Term code
HE-EM-SM-085

Stable URI · Machine-readable · Resolvable · CC BY 4.0