01./* 用来拟合模型的数据 */
02.data A;
03.input x y @@;
04.datalines;
05.1 4 2 9 3 20 4 25 5 1 6 5 7 -4 8 12
06.;
07.run;
08./* 用来评分的数据 */
09.%let NumPts = 200;
10.data ScoreX(keep=x);
11.min=1; max=8;
12.do i = 0 to &NumPts-1;
13. x = min + i*(max-min)/(&NumPts-1);
14. output;
15.end;
16.run;
欢迎光临 SAS中文论坛 (https://mysas.net/forum/) | Powered by Discuz! X3.2 |