아이구 사스사스-

/*숙제1*/
data bpress;
input press@@;
cards;
110 115 130 140 120 135 120 110 118 112
122 140 130 130 124 115 160 130 120 120
;
run;
proc ttest data=bpress alpha=0.05 h0=125;
var press;
run;


/* 숙제1은 방법이 두가지~ 둘중 하나만 쓰세요~!!(저는 위에거만썼음;) */
data bpress;
input press@@;
cards;
110 115 130 140 120 135 120 110 118 112
122 140 130 130 124 115 160 130 120 120
;
run;
data bbpress;
set bpress;
epress=press-125;
run;
proc means data=bbpress alpha=0.05 t probt;
var epress;
run;



/*숙제2*/
data beforecol;
group=’b’;
input col @@;
cards;
291 278 342 239 243 210 219 203 269 185 260 312 185 282 254
;
run;
data aftercol;
group=’a’;
input col @@;
cards;
271 250 304 209 261 245 275 271 291 241 326 234 153 236 249
;
run;
data cols;
set beforecol aftercol;
run;
proc ttest data=cols alpha=0.05;
var col;
class group;
run;

One thought on “아이구 사스사스-”

Leave a Reply