Two-sample Kolmogorov-Smirnov test for truncated data.
A nonparametric statistical test to compare two cumulative frequency distribution functions is presented that can be used even when both samples include censored data, as is often the case when comparing the survival of two groups of laboratory animals under conditions in which the experiment is terminated before all the animals die. (Such a design can produce considerable savings and is to be recommended.) The program calculates exact probabilities for both the one-sided and two-sided alternatives to the null hypothesis, applicable to the case of equal group size, as well as the corresponding general asymptotic values; a continuity correction is employed that markedly improves the asymptotic approximation. Expressions are stated in terms of two different but related statistics, and the one that utilizes more information in any particular set of data is selected for the probability calculations. All basic equations and definitions are provided.
D000818:Animals; D000830:Animals, Laboratory; D003201:Computers; D008954:Models, Biological; D013223:Statistics as Topic