如何使用proc compare比较两个数据集
data one;
input student $ gr1 gr2;
format gr1 5.2;
datalines;
1000 64 87
1001 65 88
1002 66 89
;
run;
data two;
input student $ gr1 gr2;
format gr1 5.2;
datalines;
1000 64 87
1001 65 88
1002 66 89
;
run;
options nodate pageno=1 linesize=80 pagesize=40;
title 'The SAS System';
proc compare base=one compare=two;
run;
data two;
input student $ gr1 gr2;
format gr1 5.2;
datalines;
1000 64 87
1001 65 96
1002 66 92
;
run;
options nodate pageno=1 linesize=80 pagesize=40;
title 'The SAS System';
proc compare base=one compare=two;
run;
data one;
input student $ gr1 gr2;
format gr1 5.2;
datalines;
1000 64 87
1001 65 88
1002 66 89
;
run;
data two;
input student $ gr1 gr2;
format gr1 5.2;
datalines;
1000 64 87
1001 65 88
1002 66 89
;
run;
options nodate pageno=1 linesize=80 pagesize=40;
title 'The SAS System';
proc compare base=one compare=two;
run;
data two;
input student $ gr1 gr2;
format gr1 5.2;
datalines;
1000 64 87
1001 65 96
1002 66 92
;
run;
options nodate pageno=1 linesize=80 pagesize=40;
title 'The SAS System';
proc compare base=one compare=two;
run;