I have some data in SAS that I need to manipulate but I am having trouble with. My columns are
id#, age, and male
1 20 N
2 20 Y
3 21 Y
4 23 N
5 21 Y
6 21 N
7 20 N
8 21 Y
9 23 Y
Is there a way to get %male vs age? That is, age is the columns and for each column I want to know the percent male? I want to be able to use proc means and not proc tabulate to find this. Thanks.
PROC TABULATE, which is the procedure made to do what you ask? That's rather like saying "Please tell me how to use a fork to eat this chicken broth. I want to use a fork and not a spoon. Thanks." - Joe