HOW TO RUN RANDOMLY BLOCKS IN AN EXPERIMENT?


Author
Message
dilemma
dilemma
Respected Member (302 reputation)Respected Member (302 reputation)Respected Member (302 reputation)Respected Member (302 reputation)Respected Member (302 reputation)Respected Member (302 reputation)Respected Member (302 reputation)Respected Member (302 reputation)Respected Member (302 reputation)
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!


<expt>
/ 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)
</expt>

<expt>
/ 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)
</expt>

<expt>
/ 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)
</expt>


Dave
Dave
Supreme Being (784K reputation)Supreme Being (784K reputation)Supreme Being (784K reputation)Supreme Being (784K reputation)Supreme Being (784K reputation)Supreme Being (784K reputation)Supreme Being (784K reputation)Supreme Being (784K reputation)Supreme Being (784K reputation)
Group: Administrators
Posts: 10K, Visits: 51K
It only runs a single block because that's what you specified. Instead of

<expt>
/ blocks = [1=noreplace(a,b,c)]
...
</expt>

you ought to specify

<expt>
/ blocks = [1-3=noreplace(a,b,c)]
...
</expt>

to run the 3 blocks a, b and c in random order.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search