data test9_1; /*创建数据集*/
input x y;
cards;
6800 230000
5600 200000
4500 19000
5000 200000
7000 280000
7500 300000
6000 240000
5800 235000
4500 200000
5000 230000
5000 220000
6000 250000
;
run;
PROC CORR data=test9_1; /*相关分析*/
var x y;
run;