Can numlist in egen anymatch be a local macro? For example, I cannot get to work the following:
or
In both cases I'm getting the followng error:
Code:
levelsof id1, local(ids) egen matched = anymatch(id2), values(integer `ids')
Code:
levelsof id1 egen matched = anymatch(Subject), values(integer r(levels))
Code:
values() invalid -- invalid numlist r(121);
Comment