Concept Architecture
Peto Test
In this entry, Peto test means the Peto–Peto modification of the Gehan–Wilcoxon test for comparing time-to-event distributions between groups. It is a weighted log-rank type test that gives relatively more weight to earlier event times as pooled survival falls. The shortened label “Peto test” is ambiguous: papers also associate Peto's name with the ordinary log-rank test and with the Peto odds-ratio method for binary rare-event meta-analysis. Always name the actual statistic and implementation in a report.
Question and data structure
The test asks whether two groups have the same event-time distribution over the observed follow-up under a null hypothesis of no group difference. It uses each distinct observed event time, the number of individuals still at risk immediately beforehand, the observed events in each group, and a time-dependent weight. Right-censored participants contribute while at risk but not as events at censoring; event and censoring times, ties and delayed entry need consistent handling.
For group A at distinct event time , let and be the numbers at risk, , and the event counts, and . Under the null, the expected group-A count conditional on the risk set and total events is . A generic weighted observed-minus-expected statistic is
where is a prespecified, nonnegative weight calculated from the pooled survival history. In a common weighted log-rank representation of the Peto–Peto family, is based on the pooled survival estimate near ; with an explicit pre-event convention, . The exact Peto–Peto, Peto–Peto–Prentice and software implementations can differ in survival-score and variance conventions, especially with ties or censoring. State the implementation rather than assuming the shortened name determines every formula.
By contrast, the ordinary log-rank test assigns equal weight to each event-time observed-minus-expected contribution. The declining survival weights in the Peto–Peto variant emphasize differences appearing earlier in follow-up. “Earlier” refers to event time and available risk sets, not to a universal clinical priority; a late treatment benefit can be downweighted.
Variance and test decision
Under a conditional hypergeometric risk-set calculation, one contribution's variance is
for , with zero variance when no information is available. The weighted variance in this representation is . An approximate two-sided large-sample comparison uses or against a one-degree-of-freedom chi-square reference. The approximation, variance handling, time weights and tie rules must match the chosen test; sparse events or highly unequal risk sets can make an asymptotic p-value unreliable.
The sign of depends on which group is labelled A and whether more events are beneficial or harmful. A p-value describes incompatibility with the null under the test assumptions; it does not estimate a hazard ratio, survival difference, life-years gained or causal effect. Report survival curves and an appropriate effect measure with uncertainty as well as the test result.
Worked risk-set example
Suppose ten people are at risk in each group initially, with no censoring before two distinct event times. At the first time, one event occurs in each group; immediately before the second, nine remain at risk in each. At the second time, both events occur in B. Using the pooled Kaplan–Meier survival just before each event time gives weights and , because the first two events among 20 reduce pooled survival to .
| Event time | A and B at risk | A and B events | Expected A events | Pre-event pooled weight | Weighted A excess |
|---|---|---|---|---|---|
| First | 10 and 10 | 1 and 1 | 1.00 | 1.00 | 0.00 |
| Second | 9 and 9 | 0 and 2 | 1.00 | 0.90 | −0.90 |
Thus . The corresponding conditional variances are and ; hence . This produces and a two-sided normal approximation . A negative statistic means fewer observed events in A than expected across the weighted comparison; it is not an estimated risk reduction. The numbers are a deliberately tiny, illustrative computation, for which a large-sample p-value is especially fragile; they are not a recommendation to use an asymptotic test with four events.
The example's explicit pre-event weighting makes its arithmetic reproducible. A software implementation using a modified pooled survival weight or a different tie/variance convention can give a different numerical statistic; that result should be labelled with its exact method. Do not report the example's p-value as if it were universal for every procedure called “Peto.”
When to choose it
A weighted test can be a reasonable prespecified choice when an early group difference is scientifically meaningful and expected. It may have better sensitivity to that pattern than an equal-weight log-rank test, but may be less sensitive to effects appearing late. If curves cross or hazards vary, a single weighted test can obscure direction over time; examine Kaplan–Meier curves, numbers at risk and appropriate time-specific or restricted-mean-survival summaries.
The method does not require assuming a constant hazard ratio merely to compute the weighted comparison. Interpretation as a single proportional-hazards effect, however, would need additional modelling and scrutiny. Avoid choosing whichever of several weighting schemes gives the smallest p-value after seeing the curves without accounting for that selection. If multiple tests are prespecified, explain the multiplicity strategy and the estimand each addresses.
As with other risk-set survival tests, censoring must be suitably independent of the event process conditional on relevant design and modelling assumptions for straightforward interpretation. Strong differences in censoring patterns, informative loss to follow-up, competing events or changes in treatment can complicate inference. The Peto–Peto modification was developed partly to address problems with the original Gehan weighting under unequal censoring, but it does not make informative censoring harmless.
Role in health economic analysis
A trial may use a Peto–Peto test to compare survival outcomes while an economic evaluation estimates life-years, quality-adjusted life-years (QALYs) and costs. A survival-curve p-value does not supply the whole survival distribution or the extrapolated mean survival needed for an economic model. Estimate clinically relevant effects over the appropriate time horizon and assess uncertainty, extrapolation and competing events separately.
An early survival advantage may matter considerably for patients yet not determine whether an intervention is cost-effective. Conversely, a nonsignificant weighted test does not prove equivalent lifetime outcomes. Use the test in the context of the clinical question, study design and decision model rather than as a substitute for incremental effects and resource consequences.
Naming and source guidance
The survival package documentation for survdiff distinguishes its ordinary log-rank option (rho = 0) from the Peto–Peto modification of the Gehan–Wilcoxon test (rho = 1), implemented through pooled-survival weights. The original Peto and Peto rank-invariant test procedures give the historical methodological background. The Cochrane Handbook chapter on meta-analysis describes the separate Peto method for pooling binary rare events; that odds-ratio method is not the survival test defined here. For reproducibility, report the software, version, weight and variance convention, null, censoring assumptions, tie handling and prespecified analysis plan.
Related Concepts (2)
Library
Tools & Resources
1
survHE — Survival Analysis for Health Economic Evaluation (R package) — Gianluca Baio, R package ed., 2023 (CRAN)
An R package for fitting and comparing parametric survival models for health economic evaluation, including Bayesian estimation, and for extrapolating time-to-event data to inform cost-effectiveness models.
Software (R package)View source →
Frequently Asked Questions (6)
What is the Peto test?
The Peto test is a weighted log-rank test comparing survival between groups, weighting each event time by pooled survival so earlier events count more.
Source: Peto & Peto 1972
In which situations is the Peto test preferred?
The Peto test belongs to the weighted family of survival comparisons but places more weight on differences early in follow-up, when more patients remain at risk, and less on late events among the dwindling survivors. This makes it more sensitive when an effect appears mainly early and the later data are sparse or unreliable, whereas the log-rank test weights all times equally. Its early emphasis suits situations where late estimates carry little information. Peto and Peto (1972) set out the approach.
Source: Peto & Peto 1972
How does the Peto test differ from the log-rank test?
The Peto test differs from the log-rank test in its weighting of events over time: the log-rank test weights all events equally, while the Peto test applies weights, related to survival estimates, that give more importance to earlier events. This makes the Peto test more powerful when survival differences are concentrated early in follow-up, whereas the log-rank test is most powerful under proportional hazards. Both test whether survival distributions differ, but their differing weights suit different patterns of difference.
Source: Peto & Peto 1972
When is the Peto test used?
The Peto test is used to compare survival between groups when differences are expected to occur early in follow-up or under censoring patterns where its weighting is more efficient than the equal weighting of the log-rank test. It is one of the weighted rank tests chosen according to the anticipated timing of the survival difference. As with other weighted tests, the weighting should ideally be specified in advance, since choosing it after seeing the data to maximise significance would invalidate the test.
Source: Peto & Peto 1972
How does the Peto test weight events?
The Peto test weights events using weights based on an estimate of the survival function, so that earlier events, when more individuals are at risk and survival is higher, receive greater weight than later events. This emphasis on earlier events makes the test sensitive to differences arising early in follow-up. The weighting distinguishes the Peto test from the equally weighted log-rank test and from other weighted variants, and it determines the pattern of survival difference the test is most powerful at detecting.
Source: Mantel 1966
How does the Peto test relate to the log-rank family?
The Peto test is a member of the family of weighted log-rank tests, which generalise the log-rank test by assigning weights to events at different times. The log-rank test uses equal weights, the Peto test uses survival-based weights emphasising early events, and other members, such as the Fleming-Harrington tests, use different weighting schemes. All test whether survival distributions differ, differing in the pattern of difference they best detect. The Peto test is thus one option within this family, chosen for its weighting properties.
Source: Peto & Peto 1972
Trust Record
Verified by Dr Darrin Baines
British health economist
Professional identity: darrinbaines.org
Verification date: 25 Sep 2026
Content version: 1.0.0
Canonical Identity
- Persistent URI
- https://healtheconomics.wiki/concept/peto-test
- Term code
- HE-EM-SM-065
Stable URI · Machine-readable · Resolvable · CC BY 4.0
