Survival, Hazard, Regression, Data Science, Hands On Tutorials.
This time, we’ll look at a subset of rows from the Heart Transplant data set (I have highlighted row 6 below which we’ll get to in a bit): Carving out the X and y matrices from the heart transplant data set (Image by Author) We’ll consider three regression variables which will form the X matrix: