Biostatistics L02

Data
treatment control
10 5
15 9
16 10
16 10
17 14
19 18
20 20
Macro Code: Store as Randomize.MAC in the folder where the Minitab file is saved. Execute by typing %Randomize. Stacked data is stored in column c3.
GMACRO
Randomize

DO k1 = 1:1000
Sample 7 c3 c5;
Replace.
Sample 7 c3 c6;
Replace.
let c8(k1) = mean(c5) - mean(c6)
ENDDO

ENDMACRO