Hi,
I'm (very) new to SAS and I'm trying to perform some analysis on data using (potentially) PROC TABULATE. I'll provide a very truncated view of this data here to illustrate and try to explain:
ProductName, ProductPrice
Product A 5
Product B 5
Product C 6
Product D 8
Product E 9
I'd like to display various stats by grouping the Products into 2 groups: 1 group where the ProductPrice is less than or equal to the median and another group where the ProductPrice is greater than the median.
Am I able to complete the above just using PROC TABULATE? I'm trying to work out how I compare each ProductPrice to the median (6) and put that product in one of the 2 groups.
Many thanks
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.