This tip is part of the Learn by Example with SAS® Enterprise Miner™ Templates series where a new data mining topic is introduced and explained with one or more example SAS Enterprise Miner process flow diagrams.
When you have a time-dependent outcome that you are trying to model—a failure of some sort or customer churn, for example—you might be interested in predicting when, not if, the event is most likely to occur. In SAS Enterprise Miner, a discrete-time logistic-hazard model is used to perform survival data mining. This approach allows you to model the event likelihood over time, taking into account censored observations, competing risks, time-varying covariates, and left truncation. The hazard function produced by the model can be estimated at a future time interval of interest to answer questions like:
To get started with survival data mining using SAS Enterprise Miner, download the process flow diagrams (XML files) and the accompanying PDF documentation for the following two examples from the GitHub repository at https://github.com/sassoftware/dm-flow/tree/master/SurvivalAnalysis.
To run these examples, refer to the README file that is part of the GitHub repository at https://github.com/sassoftware/dm-flow. Please note that these examples were tested with SAS Enterprise Miner 13.2.
You can find more information about the Survival node in these videos:
Introduction to Survival Data Mining
New Features in the SAS Enterprise Miner 12.3 Survival Node
Keep coming up with "Must use one class target" in the survival node.....
Got 1 ID, 2 Time IDs, 1 Target and 2 Inputs....
The target must have Level=Nominal (in Input Data node or Metadata node), with 0 representing censored obs.
Thank you - I didbn't get that out of any of my reading.
How do the system calculate the numbers in "Summary of the Number of Censored and Uncensored Values" section in the results for SurvivalTVC? The number showed in that section was: Failed=1406, Censored=2292, but the actual number that I calculated was event(0)=2214, event(1)=1370, event(2)=114. Why is that?
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.
Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning and boost your career prospects.