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.
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
Explore Now →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.