Programming the statistical procedures from SAS

Time to success analysis

Reply
N/A
Posts: 0

Time to success analysis

How can I perform a time to success (not to failure) analysis using SAS?

Thanks
Valued Guide
Posts: 2,108

Re: Time to success analysis

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.
N/A
Posts: 0

Re: Time to success analysis

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.
Valued Guide
Posts: 2,108

Re: Time to success analysis

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.
N/A
Posts: 0

Re: Time to success analysis

Incredible simple! Thanks a lot!
Ask a Question
Discussion stats
  • 4 replies
  • 73 views
  • 0 likes
  • 2 in conversation