## HOW TO RUN RANDOMLY BLOCKS IN AN EXPERIMENT?

 Author Message dilemma  Associate Member         Group: Forum Members Posts: 1, Visits: 11 Hi there  so below is my script...I want the experiment to run all the blocks but to run them randomly. I tried the “random” and “noreplace” function but it does not work as it does only choose randomly one of the two blocks, while I want it to run all the blocks but in a random order the only time it works is in the last option that I reported (with nothing in front) but the problem it will run the blocks in the order that I have written them which is not what I want as it needs to be random! Please advice for help!/ preinstructions = (intro1)/ blocks = [ 1=noreplace(1a,1b); 2= 6; 3=noreplace(2a_1, 2a_2, 2a_3, 2a_4, 2a_5, 2a_6, 2a_7, 2a_8, 2a_9, 2a_10, 2a_11, 2a_12, 5a_1, 5a_2, 5a_3, 5a_4)]/ postinstructions = (end)/ subjects = (1 of 2)/ preinstructions = (intro1)/ blocks = [ 1=random(1a,1b); 2= 6; 3=random(2a_1, 2a_2, 2a_3, 2a_4, 2a_5, 2a_6, 2a_7, 2a_8, 2a_9, 2a_10, 2a_11, 2a_12, 5a_1, 5a_2, 5a_3, 5a_4)]/ postinstructions = (end)/ subjects = (1 of 2)/ preinstructions = (intro1)/ blocks = [ 1=1a,1b; 2= 6; 3=2a_1, 2a_2, 2a_3, 2a_4, 2a_5, 2a_6, 2a_7, 2a_8, 2a_9, 2a_10, 2a_11, 2a_12, 5a_1, 5a_2, 5a_3, 5a_4]/ postinstructions = (end)/ subjects = (1 of 2) Dave  Supreme Being         Group: Administrators Posts: 9.8K, Visits: 46K It only runs a single block because that's what you specified. Instead of/ blocks = [1=noreplace(a,b,c)]...you ought to specify/ blocks = [1-3=noreplace(a,b,c)]...to run the 3 blocks a, b and c in random order.