fbpx
Wikipedia

Logrank test

The logrank test, or log-rank test, is a hypothesis test to compare the survival distributions of two samples. It is a nonparametric test and appropriate to use when the data are right skewed and censored (technically, the censoring must be non-informative). It is widely used in clinical trials to establish the efficacy of a new treatment in comparison with a control treatment when the measurement is the time to event (such as the time from initial treatment to a heart attack). The test is sometimes called the Mantel–Cox test. The logrank test can also be viewed as a time-stratified Cochran–Mantel–Haenszel test.

The test was first proposed by Nathan Mantel and was named the logrank test by Richard and Julian Peto.[1][2][3]

Definition edit

The logrank test statistic compares estimates of the hazard functions of the two groups at each observed event time. It is constructed by computing the observed and expected number of events in one of the groups at each observed event time and then adding these to obtain an overall summary across all-time points where there is an event.

Consider two groups of patients, e.g., treatment vs. control. Let   be the distinct times of observed events in either group. Let   and   be the number of subjects "at risk" (who have not yet had an event or been censored) at the start of period   in the groups, respectively. Let   and   be the observed number of events in the groups at time  . Finally, define   and  .

The null hypothesis is that the two groups have identical hazard functions,  . Hence, under  , for each group  ,   follows a hypergeometric distribution with parameters  ,  ,  . This distribution has expected value   and variance  .

For all  , the logrank statistic compares   to its expectation   under  . It is defined as

       (for   or  )

By the central limit theorem, the distribution of each   converges to that of a standard normal distribution as   approaches infinity and therefore can be approximated by the standard normal distribution for a sufficiently large  . An improved approximation can be obtained by equating this quantity to Pearson type I or II (beta) distributions with matching first four moments, as described in Appendix B of the Peto and Peto paper.[2]

Asymptotic distribution edit

If the two groups have the same survival function, the logrank statistic is approximately standard normal. A one-sided level   test will reject the null hypothesis if   where   is the upper   quantile of the standard normal distribution. If the hazard ratio is  , there are   total subjects,   is the probability a subject in either group will eventually have an event (so that   is the expected number of events at the time of the analysis), and the proportion of subjects randomized to each group is 50%, then the logrank statistic is approximately normal with mean   and variance 1.[4] For a one-sided level   test with power  , the sample size required is   where   and   are the quantiles of the standard normal distribution.

Joint distribution edit

Suppose   and   are the logrank statistics at two different time points in the same study (  earlier). Again, assume the hazard functions in the two groups are proportional with hazard ratio   and   and   are the probabilities that a subject will have an event at the two time points where  .   and   are approximately bivariate normal with means   and   and correlation  . Calculations involving the joint distribution are needed to correctly maintain the error rate when the data are examined multiple times within a study by a Data Monitoring Committee.

Relationship to other statistics edit

  • The logrank statistic can be derived as the score test for the Cox proportional hazards model comparing two groups. It is therefore asymptotically equivalent to the likelihood ratio test statistic based from that model.
  • The logrank statistic is asymptotically equivalent to the likelihood ratio test statistic for any family of distributions with proportional hazard alternative. For example, if the data from the two samples have exponential distributions.
  • If   is the logrank statistic,   is the number of events observed, and   is the estimate of the hazard ratio, then  . This relationship is useful when two of the quantities are known (e.g. from a published article), but the third one is needed.
  • The logrank statistic can be used when observations are censored. If censored observations are not present in the data then the Wilcoxon rank sum test is appropriate.
  • The logrank statistic gives all calculations the same weight, regardless of the time at which an event occurs. The Peto logrank test statistic gives more weight to earlier events when there are a large number of observations.

Test assumptions edit

The logrank test is based on the same assumptions as the Kaplan-Meier survival curve—namely, that censoring is unrelated to prognosis, the survival probabilities are the same for subjects recruited early and late in the study, and the events happened at the times specified. Deviations from these assumptions matter most if they are satisfied differently in the groups being compared, for example if censoring is more likely in one group than another.[5]

See also edit

References edit

  1. ^ Mantel, Nathan (1966). "Evaluation of survival data and two new rank order statistics arising in its consideration". Cancer Chemotherapy Reports. 50 (3): 163–70. PMID 5910392.
  2. ^ a b Peto, Richard; Peto, Julian (1972). "Asymptotically Efficient Rank Invariant Test Procedures". Journal of the Royal Statistical Society, Series A. 135 (2). Blackwell Publishing: 185–207. doi:10.2307/2344317. hdl:10338.dmlcz/103602. JSTOR 2344317.
  3. ^ Harrington, David (2005). "Linear Rank Tests in Survival Analysis". Encyclopedia of Biostatistics. Wiley Interscience. doi:10.1002/0470011815.b2a11047. ISBN 047084907X.
  4. ^ Schoenfeld, D (1981). "The asymptotic properties of nonparametric tests for comparing survival distributions". Biometrika. 68 (1): 316–319. doi:10.1093/biomet/68.1.316. JSTOR 2335833.
  5. ^ Bland, J. M.; Altman, D. G. (2004). "The logrank test". BMJ. 328 (7447): 1073. doi:10.1136/bmj.328.7447.1073. PMC 403858. PMID 15117797.

logrank, test, logrank, test, rank, test, hypothesis, test, compare, survival, distributions, samples, nonparametric, test, appropriate, when, data, right, skewed, censored, technically, censoring, must, informative, widely, used, clinical, trials, establish, . The logrank test or log rank test is a hypothesis test to compare the survival distributions of two samples It is a nonparametric test and appropriate to use when the data are right skewed and censored technically the censoring must be non informative It is widely used in clinical trials to establish the efficacy of a new treatment in comparison with a control treatment when the measurement is the time to event such as the time from initial treatment to a heart attack The test is sometimes called the Mantel Cox test The logrank test can also be viewed as a time stratified Cochran Mantel Haenszel test The test was first proposed by Nathan Mantel and was named the logrank test by Richard and Julian Peto 1 2 3 Contents 1 Definition 2 Asymptotic distribution 3 Joint distribution 4 Relationship to other statistics 5 Test assumptions 6 See also 7 ReferencesDefinition editThe logrank test statistic compares estimates of the hazard functions of the two groups at each observed event time It is constructed by computing the observed and expected number of events in one of the groups at each observed event time and then adding these to obtain an overall summary across all time points where there is an event Consider two groups of patients e g treatment vs control Let 1 J displaystyle 1 ldots J nbsp be the distinct times of observed events in either group Let N1 j displaystyle N 1 j nbsp and N2 j displaystyle N 2 j nbsp be the number of subjects at risk who have not yet had an event or been censored at the start of period j displaystyle j nbsp in the groups respectively Let O1 j displaystyle O 1 j nbsp and O2 j displaystyle O 2 j nbsp be the observed number of events in the groups at time j displaystyle j nbsp Finally define Nj N1 j N2 j displaystyle N j N 1 j N 2 j nbsp and Oj O1 j O2 j displaystyle O j O 1 j O 2 j nbsp The null hypothesis is that the two groups have identical hazard functions H0 h1 t h2 t displaystyle H 0 h 1 t h 2 t nbsp Hence under H0 displaystyle H 0 nbsp for each group i 1 2 displaystyle i 1 2 nbsp Oi j displaystyle O i j nbsp follows a hypergeometric distribution with parameters Nj displaystyle N j nbsp Ni j displaystyle N i j nbsp Oj displaystyle O j nbsp This distribution has expected value Ei j OjNi jNj displaystyle E i j O j frac N i j N j nbsp and variance Vi j Ei j Nj OjNj Nj Ni jNj 1 displaystyle V i j E i j left frac N j O j N j right left frac N j N i j N j 1 right nbsp For all j 1 J displaystyle j 1 ldots J nbsp the logrank statistic compares Oi j displaystyle O i j nbsp to its expectation Ei j displaystyle E i j nbsp under H0 displaystyle H 0 nbsp It is defined as Zi j 1J Oi j Ei j j 1JVi j d N 0 1 displaystyle Z i frac sum j 1 J O i j E i j sqrt sum j 1 J V i j xrightarrow d mathcal N 0 1 nbsp for i 1 displaystyle i 1 nbsp or 2 displaystyle 2 nbsp By the central limit theorem the distribution of each Zi displaystyle Z i nbsp converges to that of a standard normal distribution as J displaystyle J nbsp approaches infinity and therefore can be approximated by the standard normal distribution for a sufficiently large J displaystyle J nbsp An improved approximation can be obtained by equating this quantity to Pearson type I or II beta distributions with matching first four moments as described in Appendix B of the Peto and Peto paper 2 Asymptotic distribution editIf the two groups have the same survival function the logrank statistic is approximately standard normal A one sided level a displaystyle alpha nbsp test will reject the null hypothesis if Z gt za displaystyle Z gt z alpha nbsp where za displaystyle z alpha nbsp is the upper a displaystyle alpha nbsp quantile of the standard normal distribution If the hazard ratio is l displaystyle lambda nbsp there are n displaystyle n nbsp total subjects d displaystyle d nbsp is the probability a subject in either group will eventually have an event so that nd displaystyle nd nbsp is the expected number of events at the time of the analysis and the proportion of subjects randomized to each group is 50 then the logrank statistic is approximately normal with mean log l nd4 displaystyle log lambda sqrt frac n d 4 nbsp and variance 1 4 For a one sided level a displaystyle alpha nbsp test with power 1 b displaystyle 1 beta nbsp the sample size required is n 4 za zb 2dlog2 l displaystyle n frac 4 z alpha z beta 2 d log 2 lambda nbsp where za displaystyle z alpha nbsp and zb displaystyle z beta nbsp are the quantiles of the standard normal distribution Joint distribution editSuppose Z1 displaystyle Z 1 nbsp and Z2 displaystyle Z 2 nbsp are the logrank statistics at two different time points in the same study Z1 displaystyle Z 1 nbsp earlier Again assume the hazard functions in the two groups are proportional with hazard ratio l displaystyle lambda nbsp and d1 displaystyle d 1 nbsp and d2 displaystyle d 2 nbsp are the probabilities that a subject will have an event at the two time points where d1 d2 displaystyle d 1 leq d 2 nbsp Z1 displaystyle Z 1 nbsp and Z2 displaystyle Z 2 nbsp are approximately bivariate normal with means log lnd14 displaystyle log lambda sqrt frac n d 1 4 nbsp and log lnd24 displaystyle log lambda sqrt frac n d 2 4 nbsp and correlation d1d2 displaystyle sqrt frac d 1 d 2 nbsp Calculations involving the joint distribution are needed to correctly maintain the error rate when the data are examined multiple times within a study by a Data Monitoring Committee Relationship to other statistics editThe logrank statistic can be derived as the score test for the Cox proportional hazards model comparing two groups It is therefore asymptotically equivalent to the likelihood ratio test statistic based from that model The logrank statistic is asymptotically equivalent to the likelihood ratio test statistic for any family of distributions with proportional hazard alternative For example if the data from the two samples have exponential distributions If Z displaystyle Z nbsp is the logrank statistic D displaystyle D nbsp is the number of events observed and l displaystyle hat lambda nbsp is the estimate of the hazard ratio then log l Z4 D displaystyle log hat lambda approx Z sqrt 4 D nbsp This relationship is useful when two of the quantities are known e g from a published article but the third one is needed The logrank statistic can be used when observations are censored If censored observations are not present in the data then the Wilcoxon rank sum test is appropriate The logrank statistic gives all calculations the same weight regardless of the time at which an event occurs The Peto logrank test statistic gives more weight to earlier events when there are a large number of observations Test assumptions editThe logrank test is based on the same assumptions as the Kaplan Meier survival curve namely that censoring is unrelated to prognosis the survival probabilities are the same for subjects recruited early and late in the study and the events happened at the times specified Deviations from these assumptions matter most if they are satisfied differently in the groups being compared for example if censoring is more likely in one group than another 5 See also edit nbsp Mathematics portalKaplan Meier estimator Hazard ratioReferences edit Mantel Nathan 1966 Evaluation of survival data and two new rank order statistics arising in its consideration Cancer Chemotherapy Reports 50 3 163 70 PMID 5910392 a b Peto Richard Peto Julian 1972 Asymptotically Efficient Rank Invariant Test Procedures Journal of the Royal Statistical Society Series A 135 2 Blackwell Publishing 185 207 doi 10 2307 2344317 hdl 10338 dmlcz 103602 JSTOR 2344317 Harrington David 2005 Linear Rank Tests in Survival Analysis Encyclopedia of Biostatistics Wiley Interscience doi 10 1002 0470011815 b2a11047 ISBN 047084907X Schoenfeld D 1981 The asymptotic properties of nonparametric tests for comparing survival distributions Biometrika 68 1 316 319 doi 10 1093 biomet 68 1 316 JSTOR 2335833 Bland J M Altman D G 2004 The logrank test BMJ 328 7447 1073 doi 10 1136 bmj 328 7447 1073 PMC 403858 PMID 15117797 Retrieved from https en wikipedia org w index php title Logrank test amp oldid 1204916662, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.