HOW TO RUN RANDOMLY BLOCKS IN AN EXPERIMENT?


HOW TO RUN RANDOMLY BLOCKS IN AN EXPERIMENT?

Author
Message
dilemma
dilemma
Associate Member
Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 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
Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)

Group: Administrators
Posts: 9.8K, Visits: 46K
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


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....






Millisecond Forums


Search