Run SAS in Jupyter Notebook¶
We'll use KM method in PROC LIFETEST
to do survival analysis on a subscribers data set, which looks like this:
censored | start_date | stop_date | [other columns]
---------+------------+------------+----------------
0 | 2001-01-01 | 2002-05-01 |
In this notebook, we'll do these:
- Import the original data to a SAS data set
- Get the data ready for
PROC LIFETEST
- Do survival analysis on the data
- Save graphics image files
- Create an output data set to contain survival estimates as the benchmark against which
KMSurvival
is measured.