Paired log-rank reduction to a sign test 2026-10-07
With one A and one B observation per stratum and no ties, the stratified log-rank statistic receives a nonzero contribution only when the earlier observation is a failure while both remain at risk. It is if A fails first and if B fails first. After the first observation, only one member remains and every further observed-minus-expected contribution is zero. Under an exchangeable null with independent censoring, conditional on being informative the two signs have equal probability, with mean zero and variance . Thus standardization is the normal approximation to a sign test on informative pairs. Failure-time distances do not affect this statistic.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 42 5 Solution Created 2026-10-03 Updated 2026-10-14
Let . Under the symmetric continuous null hypothesis, positive and negative signs have probability and zeros have probability zero. For the sign test, take and reject for small values: under the null. Choose with ; randomization at the next value attains exact size if desired. The lower tail is appropriate for .
For the Wilcoxon signed-rank test, rank increasingly and put . Continuous observations have no absolute-value ties almost surely. Conditional on the absolute values, the signs are independent fair signs because symmetry makes the sign independent of magnitude. Hence has the distribution of for independent Bernoulli random variables with parameter . Again reject in the lower tail, using this exact subset-sum distribution or a normal approximation. Independence gives the requested null moments:For a symmetric kernel of fixed order , a one-sample U-statistic is . State the U-statistic central limit theorem: if , , and , then . The nondegeneracy condition is important.
For , its order-two U-statistic satisfies the exact Wilcoxon signed-rank statistic identityTo prove it, in an unordered pair the sign of the sum is the sign of whichever observation has larger absolute value. Counting the pairs for which a positive observation is larger contributes its rank minus one; its own positive-sign indicator supplies the remaining one.
Write for the distribution function of under the null. Symmetry gives andThe probability integral transform makes uniform on , so . Therefore . The centred is and is negligible on the scale of . Combining the exact decomposition and its mean givesThe lower-tail approximate level- rejection rule compares this standardized statistic with ; a half-unit continuity correction can refine discrete-tail calculations.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 41 4 d Solution Created 2026-10-03 Updated 2026-10-07
Only sets 4, 5, 7 and 8 have an earlier failure with both members at risk. Sets 4 and 8 have B fail first and favor A, giving informative pairs. Sets 5 and 7 have A fail first and favor B, giving . Both-censored pairs contribute zero; in sets 3 and 6 the earlier observation is censoring, so the later failure occurs with no remaining comparator and also contributes zero.
There are thus 36 informative independent strata. The stratified log-rank statistic, its null variance, and its standardized value areEquivalently the squared statistic is nine. The normal approximation gives a two-sided p-value using the stated bound. The exact conditional sign test instead gives ; the slight difference is discreteness rather than a different direction of effect. There is strong evidence favoring Method B, which is associated with the later failure in three quarters of the informative pairs, under the test assumptions.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 207 5 b iii Solution Created 2026-09-24 Updated 2026-09-25
Among the nine informative pairs, the active patient fails first once and the placebo patient fails first eight times. The conditional partial likelihood is proportional tosoUnder , the number of active-first failures is . The exact two-sided sign test hasso the data reject at the 5% level and favor lower hazard under active treatment.