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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1504 views
  • 0 likes
  • 2 in conversation