사스과제

option ls=70 ps=40;
title ‘SAS 과제’;
footnote ”;
data trucks;
input truck$ fuel repair;
cards;
G 16.44 12.43
G 7.19 2.70
G 9.92 1.35
G 4.24 5.78
G 11.2 5.05
G 14.25 5.78
G 13.5 10.98
G 13.32 14.27
G 29.11 15.09
G 12.68 7.61
G 7.51 5.80
G 9.90 3.63
G 10.25 5.07
D 8.5 12.26
D 7.42 5.13
D 10.28 3.32
D 10.16 14.72
D 12.79 4.17
D 9.60 12.72
D 6.47 8.89
D 11.35 9.95
D 9.15 2.94
D 9.70 5.06
D 9.77 17.86
;
run;
proc sort data=trucks out=unitrucks;
by truck;
run;
proc univariate data=unitrucks plot;
var fuel;
by truck;
run;
proc corr data=trucks;
var fuel;
with repair;
run;

4 thoughts on “사스과제”

Leave a Reply