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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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