Piecewise-exponential survival model (source code)

= Piecewise-exponential survival model

A piecewise-exponential model takes the hazard to be constant on fixed time intervals.