Did you run the code? It should generate the exact same results except for AggOther, which you could do the same way or this way but still requires multiple values.
German = whichc('31', of ethnicg1-ethnicg3) > 0;
Swedish = whichc('32', of ethnicg1-ethnicg3) > 0;
Norwegian = whichc('33', of ethnicg1-ethnicg3) > 0; AggOther = a bunch of WHICHC statements or similar IF statements.
... View more