Hi everyone,
I have variables charge and smoker with 2 levels (yes and no). I want to look at the distribution of charge by each level which is yes for those who smoke and no for those who don't smoke.
Really appreciate anyone's help.
Thanks.
Put smoker in the class statement of proc univariate.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.