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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 999 views
  • 2 likes
  • 3 in conversation