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.
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!
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.