Hi everyone, I have the responses from a survey. Some variables have multiple responses (check all that apply) and I was able to code them into binary responses (0/1) into each variable. I need to calculate the frequency- count and percent of each variable (response) and present the numbers. My problem is that my output is not in the format it needs to be displayed. Here is the SAS code I am using for above output- ( uses only one of the question responses- Q2_0 and its responses) I need to do this for all the survey questions and their responses. proc freq data=survey order= freq;
table Relation__Mother Relation__Father Relation__Gaurdian Relation__Other;
run; The output needs to look like this- (Expected Output format) I am sure I am missing the simplest of the step in my code, but I really could use help here, in the midst of running codes for 20 different things at the same time. I have also attached the data. Many thanks, Sincerely, Anu
... View more