Hi, Unfortunately I am still in need of assistance. I am moderately experienced with SAS and been trying to use SAS lifetest for an analysis. Reading about this procedure and survival analysis in general It is still unclear to me if this is the type of analysis I need. I have a retrospective dataset. Each observation (over 30K) has a discrete age of onset of drug use, which should be considered the start time ( I guess..). The event is the age of transition to drug use disorder. I want to create a plot (and tables) of the estimated projections of the cumulative probability of transitioning from use to disorder within the first year of substance use onset, the first decade after substance use onset, and lifetime in the general population and by two more dichotomous variables. A previous study performed such an analysis using the standard actuarial method (Machin et al., 2006) as implemented in PROC LIFETEST in SAS. They further used the log-rank test to determine whether survival curves differed statistically across certain variables. I would like to perform a similar analysis and need help with code. Could anyone perhaps assist or direct me in how to receive more specific tutorial advice.. THANK YOU!
... View more