Since the mean of ID will be difference if one of the serial id within a person is off, you may try aggregating the mean as a new variable, and then flag the cases that are different. Suppose you name is a string variable called name
and your id number is a numeric variable called id
. Here is the syntax:
Code: Select all
COMPUTE MultiID = (id NE mean_id) .