Survival Analysis, Machine Learning, Time To Event Analysis, Stata, Data Science.
For example, here we have plotted two separate survival curves, one for Male and another for Female patients by supplying an additional group option at(sex = (1 2)). stcurve, survival at(sex = (1 2)) ylabel(, format(%9.1f)) Weibull AFT survival plot of Sex categories Hazard Function of Weibull AFT