BookmarkSubscribeRSS Feed
deleted_user
Not applicable
How can I perform a time to success (not to failure) analysis using SAS?

Thanks
4 REPLIES 4
Doc_Duke
Rhodochrosite | Level 12
In PHREG or LIFEREG. Both do 'time to event' analysis and it is up to you to decide what an appropriate event is. They were developed in the context of survival, where the natural evenit is a 'failure,' but that is not a necessary condition to use the procedure.
deleted_user
Not applicable
I tried to use PHREG, but the Probability plot presents a curve that starts at “1” and decreases. In fact I need a curve that starts at “0” and increases.

Thanks again.
Doc_Duke
Rhodochrosite | Level 12
The analysis part is correct, you want a modified picture. Just output the data for the survival curve into a dataset, subtract the probability from 1, and plot it again. GPLOT has the options to do a step function.
deleted_user
Not applicable
Incredible simple! Thanks a lot!

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 1268 views
  • 0 likes
  • 2 in conversation