SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
HitmonTran
Pyrite | Level 9

Hi , New to SAS.

 

I need to create a calendar that has set food menu from different vendors for the entire month, the following month, and so on. The tricky part is finding out which food vendor works well with other vendors (eg. Bob's Burger + Mr. French Fries would work better than Bob's Burger + McDonalds) and which days work better for that vendor than other days.

 

I was wondering if there's a package or script that can process my raw data and forcast them to see:

  1. which vendor should be grouped with which other vendors for which week-date(s) for which location(s)
  2. create Auto-calendar generation that maximizes sales
  3. Number of orders per vendor per location per week on average (basically removing bias)
  4. Determine optimal rotation "cadence" per vendor (bi-weekly, tri-weekly, etc.)

I currently have 6 months worth of data that consists:

  1. Order date (including day and time)
  2. Food Vendor
  3. Food item
  4. Customer name
  5. Location

So far I am able to get simple frequency counts on days, food item, food vendor, but i need more insight than overall frequency count. Maybe find all of the correlations between the different vendors. That way you can pair them together for the schedule. 

 

Let me know if you need more info, I am stuck here. Thanks!

1 REPLY 1
Reeza
Super User

Google Market Basket Analysis - it's an approach to determine which items people tend to buy together. 

 


@HitmonTran wrote:

Hi , New to SAS.

 

I need to create a calendar that has set food menu from different vendors for the entire month, the following month, and so on. The tricky part is finding out which food vendor works well with other vendors (eg. Bob's Burger + Mr. French Fries would work better than Bob's Burger + McDonalds) and which days work better for that vendor than other days.

 

I was wondering if there's a package or script that can process my raw data and forcast them to see:

  1. which vendor should be grouped with which other vendors for which week-date(s) for which location(s)
  2. create Auto-calendar generation that maximizes sales
  3. Number of orders per vendor per location per week on average (basically removing bias)
  4. Determine optimal rotation "cadence" per vendor (bi-weekly, tri-weekly, etc.)

I currently have 6 months worth of data that consists:

  1. Order date (including day and time)
  2. Food Vendor
  3. Food item
  4. Customer name
  5. Location

So far I am able to get simple frequency counts on days, food item, food vendor, but i need more insight than overall frequency count. Maybe find all of the correlations between the different vendors. That way you can pair them together for the schedule. 

 

Let me know if you need more info, I am stuck here. Thanks!


 

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 686 views
  • 0 likes
  • 2 in conversation