
format gr1 5.2;
datalines;
1000 1990 NC 85 87 Math
1042 1991 MS 90 92 History
1095 1989 TN 78 92 Physics
1187 1990 MA 87 94 Music
1204 1991 NC 82 96 English
;
Concepts: COMPARE Procedure
Comparisons Using PROC COMPARE
PROC COMPARE first compares the following:
• data set attributes (set by the data set options TYPE= and LABEL=).
• variables. PROC COMPARE checks each variable in one data set to determine
whether it matches a variable in the other data set.
• attributes (type, length, labels, formats, and informats) of matching variables.
• observations. PROC COMPARE checks each observation in one data set to
determine whether it matches an observation in ...