Simulating Cox-PH data in Python

28 views Asked by At

Suppose I want to sample from the cox-PH model. I have some covariates and my baseline hazard function is $2t$.

Is there are an easy method to do so?

0

There are 0 answers