Survival bias, or immortal time bias, arises from the incorrect analysis of time-dependent events. Incorrect modelling ignores the time dependence of the failure event, thus creating artificial scenarios in which statistical units can be immune to failure for a period of time. Landmark analysis is an approach that adequately circumvents this issue by resetting the analysis time to one or more specified time points, after which only surviving statistical units are included. As a result, only statistical units with comparable survivorship status at the landmark time are compared within each landmark epoch. sts_graph_landmark is available as a Stata package.