Generalized procedures for testing hypotheses about survival or recovery rates