package com.imsl.test.example.stat; import com.imsl.stat.*; import com.imsl.math.*; /** *
Computes the survival curve for units under life-testing. *
** This example illustrates the K-M procedure. Assume 20 units are on life test * and 6 failures occur at the following times: 10, 32, 56, 98, 122, and 181 * hours. There were 4 working units removed from the test for other experiments * at the following times: 50, 100, 125, and 150 hours. The remaining 10 working * units were removed from the test at 200 hours. The K-M estimates for this * life test are:
*
* R(10) = 19/20
*
R(32) = 19/20 x 18/19
*
R(56) = 19/20 x 18/19 x 16/17
*
R(98) = 19/20 x 18/19 x 16/17 x 15/16
*
R(122) = 19/20 x 18/19 x 16/17 x 15/16 x 13/14
*
R(181) = 19/20 x 18/19 x 16/17 x 15/16 x 13/14 x 10/11
*