相关代码 |
|
data ex18_4; input x1-x4 g; cards; 6.0 -11.5 19 90 1 -11.0 -18.5 25 -36 3 90.2 -17.0 17 3 2 -4.0 -15.0 13 54 1 0.0 -14.0 20 35 2 0.5 -11.5 19 37 3 -10.0 -19.0 21 -42 3 0.0 -23.0 5 -35 1 20.0 -22.0 8 -20 3 -100.0 -21.4 7 -15 1 -100.0 -21.5 15 -40 2 13.0 -17.2 18 2 2 -5.0 -18.5 15 18 1 10.0 -18.0 14 50 1 -8.0 -14.0 16 56 1 0.6 -13.0 26 21 3 -40.0 -20.0 22 -50 3 ; proc discrim; class g; var x1-x4; run;
相关资源 |
|