BookmarkSubscribeRSS Feed
dlakeland
Fluorite | Level 6

Hi,

 

Unfortunately I am not a SAS Programmer, but use the Enterprise Miner diagrams along with the nodes.  I haven't been able to find any good demonstrations of the survival analysis nodes in use.  

 

I have a list of 20K folks that have retired, and 30k folks that are eligble to retire and want to predict when these eligibles will retire...  I have calculated in months how long those that retired worked after they were eligible to retire.  Althogh a good few leave on the first day eligible, we have thousands that continue working years and years after they are eligible to retire.  I am using months as the target, and in running a typical model, the best performing Auto Neural network doesn't give me good predictions on when each of these 30k will leave

 

Anyone any examples/idea on how I can apply this through survival analysis? Or is there a better method?

 

Regards,

 

David.

3 REPLIES 3
Reeza
Super User

Survival analysis through EM is probably overkill, Base SAS does a good job. 

 

You our can try Proc Phreg and LIFEREG. You can also add a code node and try these in EM as well. It doesn't quite sound like survival data though IMO, can't see where the censoring is applicable. Censoring may not be required. 

 

http://www.sas.com/content/dam/SAS/en_ca/User%20Group%20Presentations/Regina-User-Group/Rothman-Surv...

 

 

WendyCzika
SAS Employee

This tip might help you out:

https://communities.sas.com/t5/SAS-Communities-Library/Survival-Data-Mining-by-Example-in-SAS-Enterp...

 

It includes links to our GitHub repository that has example EM diagrams (templates) using the Survival node and sample data that you can run to get an idea of how it works, as well as videos describing the survival data mining approach.  Since your goal is prediction, I think this might be a better approach than PHREG or LIFEREG.  

dlakeland
Fluorite | Level 6

Thank you both.

 

Regards,

 

David.

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!

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1015 views
  • 2 likes
  • 3 in conversation