SAS应用_医学统计学的例题程序及其结果,学习SAS的必备资料.
源代码在线查看: 例13-02程序.sas
data ex13_2;
input x y a b @@;
cards;
256.9 27.0 1 1
271.6 41.7 1 2
210.2 25.0 1 3
300.1 52.0 1 4
262.2 14.5 1 5
304.4 48.8 1 6
272.4 48.0 1 7
248.2 9.5 1 8
242.8 37.0 1 9
342.9 56.5 1 10
356.9 76.0 1 11
198.2 9.2 1 12
260.3 32.0 2 1
271.1 47.1 2 2
214.7 36.7 2 3
300.1 65.0 2 4
269.7 39.0 2 5
307.5 37.9 2 6
278.9 51.5 2 7
256.2 26.7 2 8
240.8 41.0 2 9
340.7 61.3 2 10
356.3 102.1 2 11
199.2 8.1 2 12
544.7 160.3 3 1
481.2 96.1 3 2
418.9 114.6 3 3
556.6 134.8 3 4
394.5 76.3 3 5
426.6 72.8 3 6
416.1 99.4 3 7
549.9 133.7 3 8
580.5 147.0 3 9
608.3 165.8 3 10
559.6 169.8 3 11
371.9 54.3 3 12
;
proc glm;
class a b;
model y=x a b;
run;