In the Bank data, the client's age is individual figuer. I want to group them into several group for my analysing purpose. May I know how to do it? any link for it? Thanks.
Use proc format to create your age ranges
What analysis do you intend to do?
Use PROC FORMAT
https://github.com/statgeek/SAS-Tutorials/blob/master/proc_format_example.sas
https://support.sas.com/resources/papers/proceedings/proceedings/sugi30/001-30.pdf
Or use IF/THEN statements
https://gist.github.com/statgeek/227565537f3dffcd8627f1fe2eff844f
@sz247 wrote:
In the Bank data, the client's age is individual figuer. I want to group them into several group for my analysing purpose. May I know how to do it? any link for it? Thanks.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.