Survival Analysis, Machine Learning, Time To Event Analysis, Stata, Data Science.
non-parametric method, means it does not assume the distribution of the outcome variable (i.e., time). We can use the sts graph command to generate a K-M plot. We can also supply the risktable command that generates a risk table underneath the plot. The curve illustrates how the survival