lifelines

Is it possible to run a Cox-Proportional-Hazards-Model with an exponential distribution for the baseline hazard in `lifelines` or another package?

老子叫甜甜 提交于 2019-12-11 15:54:04
问题 I consider using the lifelines package to fit a Cox-Proportional-Hazards-Model. I read that lifelines uses a nonparametric approach to fit the baseline hazard, which results in different baseline_hazards for some time points (see code example below). For my application, I need an exponential distribution leading to a baseline hazard h0(t) = lambda which is constant across time. So my question is: is it (in the meantime) possible to run a Cox-Proportional-Hazards-Model with an exponential