Welch's t-test: Difference between revisions

m
Line 946:
=={{header|SAS}}==
{{trans|Stata}}
<lang>procdata imltbl;
input value group @@;
x = {3.0,4.0,1.0,2.1};
cards;
y = {490.2,340.0,433.9};
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);
1,336

edits