How to randomize script order in batch?


Author
Message
yhwong
yhwong
Respected Member (348 reputation)Respected Member (348 reputation)Respected Member (348 reputation)Respected Member (348 reputation)Respected Member (348 reputation)Respected Member (348 reputation)Respected Member (348 reputation)Respected Member (348 reputation)Respected Member (348 reputation)
Group: Forum Members
Posts: 3, Visits: 15
Hi,

I have 5 scripts which I have combined with the <batch> element. I would like to keep script1 always in the 1st position, but randomize the order of script2-5 when I administer the test to participants. I realise that I can create multiple batches with the different orders, and then use groupassignment = random to achieve this, but that would mean I have 4! = 24 combinations to write out! Is there a less cumbersome way to do this?

My batch script: 

<batch>
/ file = "script1.iqx"
/ file = "script2.iqx"
/ file = "script3.iqx"
/ file = "script4.iqx"
/ file = "script5.iqx"
</batch>

Thank you for your help.


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 105K
yhwong - Monday, September 18, 2017
Hi,

I have 5 scripts which I have combined with the <batch> element. I would like to keep script1 always in the 1st position, but randomize the order of script2-5 when I administer the test to participants. I realise that I can create multiple batches with the different orders, and then use groupassignment = random to achieve this, but that would mean I have 4! = 24 combinations to write out! Is there a less cumbersome way to do this?

My batch script: 

<batch>
/ file = "script1.iqx"
/ file = "script2.iqx"
/ file = "script3.iqx"
/ file = "script4.iqx"
/ file = "script5.iqx"
</batch>

Thank you for your help.


> Is there a less cumbersome way to do this?

No, I'm afraid there isn't. Defining multiple <batch> elements and then assigning randomly to one would be the way to go.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search