Discrete time proportional hazards regression