I need to recode a variable based on a list of about 6,300 reference codes. The logic might look like:
recode VAR2 as 1 if VAR1 = (any value on list of reference codes)
Is there a way to do this using an array or some other quicker way than hard coding each of the 6,300 reference codes?
Thanks in advance,
Robert