BookmarkSubscribeRSS Feed
Obsidian | Level 7 Fae
Obsidian | Level 7

I want to model inter-purchase time for retail customer, the main goal is to identify "Time since last transaction" to classify churn/active customer.  I only have access to SAS EG so I can't use proc nlp, optmodel that most online resource suggested.  


I am current attempt to use survival analysis using Cox Proportional Hazards but I am not sure am I even on the right path.  Please advice.



I have access to customer demographic data and transaction data in the below format:


Cust_ID, Date, Item#, Sales

1, 11Nov2018, 12345, $50

2, 12Nov2018, 12346, $53

2, 22Nov2018, 22346, $99




SAS Moderator

Hello @Fae,

Your question requires more details before experts can help. Can you revise your question to include more information? 


Review this checklist:

  • Specify a meaningful subject line for your topic.  Avoid generic subjects like "need help," "SAS query," or "urgent."
  • When appropriate, provide sample data in text or DATA step format.  See this article for one method you can use.
  • If you're encountering an error in SAS, include the SAS log or a screenshot of the error condition. Use the Photos button to include the image in your message.
  • It also helps to include an example (table or picture) of the result that you're trying to achieve.

To edit your original message, select the "blue gear" icon at the top of the message and select Edit Message.  From there you can adjust the title and add more details to the body of the message.  Or, simply reply to this message with any additional information you can supply.



SAS experts are eager to help -- help them by providing as much detail as you can.


This prewritten response was triggered for you by fellow SAS Support Communities member @Reeza


Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 1 reply
  • 2 in conversation