10-09-2014 10:46 AM
I have a dataset that has two variable genders (coined as gender=0 and gender=1)
I am assuming it is possible to do proc means on just gender=0 or gender=1 but I am not sure how to specify that in SAS.
Any help would be greatly appreciated.
10-09-2014 11:00 AM
Do you really only want to do it only on Male or Female or is this just a way to get results into another format and you will end up doing two proc means? If so perhaps use the by sex; line in your proc means. Maybe elaborate on what you are trying to achieve.
10-09-2014 11:59 AM
Sure, no problem.
I eventually am going to be looking for mean values in terms of the scores that both genders achieved.
I want to compare the mean values of the different scores and see who scored better or if the numbers are similar