Use Table 3.1 data of Example 3.1 at page 20 of text (only use Treatment and Survival time) to do the following:
1. Survival function: obtain KM survival estimate of two treatments. And get manual calculation of at time 10.5 in BCG and obtain its confidence interval.
2. Perform nonparametric tests covered in Chapter 5 to test H1: survival function of treatment C.parvum is larger than that of BCG.
Note: The data can be found in the public folder named T3d1.prn and T3d1.txt is the dictionary of the data.
I would expect summary of your findings, but not raw package outputs.
Treatment | Survival time | |
1 | 33.7+ | |
1 | 3.9 | |
1 | 10.5 | |
1 | 5.4 | |
1 | 19.5 | |
1 | 23.8+ | |
1 | 7.9 | |
1 | 16.9+ | |
1 | 16.6+ | |
1 | 33.7+ | |
1 | 17.1+ | |
2 | 8 | |
2 | 26.9+ | |
2 | 21.4+ | |
2 | 18.1+ | |
2 | 16+ | |
2 | 6.9 | |
2 | 11+ | |
2 | 24.8+ | |
2 | 23+ | |
2 | 8.3 | |
2 | 10.8+ | |
2 | 12.2+ | |
2 | 12.5+ | |
2 | 24.4 | |
2 | 7.7 | |
2 | 14.8+ | |
2 | 8.2+ | |
2 | 8.2+ | |
2 | 7.8+ |