i deleted my comment when i realised you were restricting the random number (and thus you wouldn't get negative survival as i suggested). Your new approach sounds ideal ie informed as much as possible. I think in the industry it's not uncommon to replace missing days with 15, but that's when there's a decade between diagnosis and death. With shorter survival, as you say, the impact of how missings are handled is more apparent
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.