Welch's t-test: Difference between revisions
m
→{{header|SAS}}
m (→{{header|SAS}}) |
m (→{{header|SAS}}) |
||
Line 946:
=={{header|SAS}}==
{{trans|Stata}}
<lang>
input value group @@;
cards;
3 1 4 1 1 1 2.1 1 490.2 2 340 2 433.9 2
;
run;
proc iml;
use tbl;
read all var {value} into x where(group=1);
read all var {value} into y where(group=2);
close tbl;
n1 = nrow(x);
n2 = nrow(y);
|