A method for fitting piecewise proportional hazards models to censored survival data is described. Stratification is performed recursively, using a combination of statistical tests and residual ...