Code for the paper "Personalized Timing for Allogeneic Stem-Cell Transplantation in Hematologic Neoplasms: A Target Trial Emulation Approach Using Multistate Modeling and Microsimulation" by Gregorio et al. (doi: https://doi.org/10.1200/CCI.23.00205)