Dear anyone Once again I turn to this site for help. I have data=want with the variables var1 and var2. Var1 is single choice, either a og b. Var2 is multiple choice, a-d. My data is organized as shown in table 1. I want to cross-table var1 with var2, as shown in table 2. I have tried proc freq with var1*(var2i-var2iv), but that just gave me four different tables. I could make a 0/1 variable for each possible answer (a-d), but I have many variables to analyze and it would take a lot of time and typing. Any suggestions on how to get around this Sincerely Anders Table 1 ID Var1 Var2i Var2ii Var2iii Var2iv 11 a a c 12 b 13 b b c 14 a a b c d 15 a c 16 b c d 17 b b d 18 b 19 a a c d 20 a d Table 2 Var2 a b c d Var 1 a 3 1 4 3 b 0 2 2 2
... View more