Randomizing


Author
Message
S.Weber
S.Weber
Respected Member (409 reputation)Respected Member (409 reputation)Respected Member (409 reputation)Respected Member (409 reputation)Respected Member (409 reputation)Respected Member (409 reputation)Respected Member (409 reputation)Respected Member (409 reputation)Respected Member (409 reputation)
Group: Forum Members
Posts: 9, Visits: 54
Hello,
please, I need some help in randomizing.
I have 50 different pictures as stimuli. And 12 different questions on a rating scale for each of the 50 pictures. In total 600 questions. Right now, my script shows picture 1 for 12 times, then picture 2 for 12 times and so on. But what I want is that each participant gets a different order of the 50 pictures. For example: participant A starts with the 12 questions to picture 1, then 12 questions to picture 10, then 12 questions to picture 8 …. ; participant B starts with 12 questions to picture 32, then 21, then 18 ….

I hope I made myself clear. I appreciate your help! Thank you so mch fpr your help!

This is my script:
<item houses_2>
/1= "Slide01.jpg"
/2= "Slide01.jpg"
/3= "Slide01.jpg"
/4= "Slide01.jpg"
/5= "Slide01.jpg"
/6= "Slide01.jpg"
/7= "Slide01.jpg"
/8= "Slide01.jpg"
/9= "Slide01.jpg"
/10= "Slide01.jpg"
/11= "Slide01.jpg"
/12= "Slide01.jpg"

/13= "Slide02.jpg"
/14= "Slide02.jpg"
/15= "Slide02.jpg"
/16= "Slide02.jpg"
/17= "Slide02.jpg"
/18= "Slide02.jpg"
/19= "Slide02.jpg"
/20= "Slide02.jpg"
/21= "Slide02.jpg"
/22= "Slide02.jpg"
/23= "Slide02.jpg"
/24= "Slide02.jpg"

/600= “Slide50.jpg”

<picture houses_2>
/items = houses_2
/position = (50, 30)
/select = sequence
</picture>

<item ratings_slider>
/1 = "Dieses Haus hat ein Gesicht."
/2 = "Dieses Haus ist ein typisches Haus."
/3 = "Diese Art Haus kommt mir bekannt vor."
/4 = "Dieses Haus sieht kindlich aus."
/5 = "Dieses Haus sieht einladend aus."
/6 = "Dieses Haus sieht freundlich aus."
/7 = "Ich mag dieses Haus."
/8 = "In diesem Haus würde ich mich sicher fühlen."
/9 = "Dieses Haus sieht bedrohlich aus."
/10 = "In diesem Haus würde ich mich alleine fühlen."
/11 = "In diesem Haus würde ich mich frei fühlen."
/12 = "In diesem Haus würde ich gerne mit anderen wohnen."
</item>

<text ratings_slider>
/ font = ("Times New Roman", -26, 400, 0, 18)
/items = ratings_slider
/position = (50, 65)
/select = sequence
</text>

<slider slider_1>
/ labels= ("überhaupt nicht zutreffend", "sehr zutreffend")
/ range = (0,100)
/ position = (17%,70%)
/ slidersize = (50%,4%)
</slider>

<surveypage ratings_slider>
/ stimulusframes = [1=ratings_slider, houses_2]
/ questions = [1=slider_1]
</surveypage>

<block ratings_slider>
/preinstructions = (ratings_slider)
/ trials = [1-600 = ratings_slider]
</block>

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
S.Weber - 1/31/2021
Hello,
please, I need some help in randomizing.
I have 50 different pictures as stimuli. And 12 different questions on a rating scale for each of the 50 pictures. In total 600 questions. Right now, my script shows picture 1 for 12 times, then picture 2 for 12 times and so on. But what I want is that each participant gets a different order of the 50 pictures. For example: participant A starts with the 12 questions to picture 1, then 12 questions to picture 10, then 12 questions to picture 8 …. ; participant B starts with 12 questions to picture 32, then 21, then 18 ….

I hope I made myself clear. I appreciate your help! Thank you so mch fpr your help!

This is my script:
<item houses_2>
/1= "Slide01.jpg"
/2= "Slide01.jpg"
/3= "Slide01.jpg"
/4= "Slide01.jpg"
/5= "Slide01.jpg"
/6= "Slide01.jpg"
/7= "Slide01.jpg"
/8= "Slide01.jpg"
/9= "Slide01.jpg"
/10= "Slide01.jpg"
/11= "Slide01.jpg"
/12= "Slide01.jpg"

/13= "Slide02.jpg"
/14= "Slide02.jpg"
/15= "Slide02.jpg"
/16= "Slide02.jpg"
/17= "Slide02.jpg"
/18= "Slide02.jpg"
/19= "Slide02.jpg"
/20= "Slide02.jpg"
/21= "Slide02.jpg"
/22= "Slide02.jpg"
/23= "Slide02.jpg"
/24= "Slide02.jpg"

/600= “Slide50.jpg”

<picture houses_2>
/items = houses_2
/position = (50, 30)
/select = sequence
</picture>

<item ratings_slider>
/1 = "Dieses Haus hat ein Gesicht."
/2 = "Dieses Haus ist ein typisches Haus."
/3 = "Diese Art Haus kommt mir bekannt vor."
/4 = "Dieses Haus sieht kindlich aus."
/5 = "Dieses Haus sieht einladend aus."
/6 = "Dieses Haus sieht freundlich aus."
/7 = "Ich mag dieses Haus."
/8 = "In diesem Haus würde ich mich sicher fühlen."
/9 = "Dieses Haus sieht bedrohlich aus."
/10 = "In diesem Haus würde ich mich alleine fühlen."
/11 = "In diesem Haus würde ich mich frei fühlen."
/12 = "In diesem Haus würde ich gerne mit anderen wohnen."
</item>

<text ratings_slider>
/ font = ("Times New Roman", -26, 400, 0, 18)
/items = ratings_slider
/position = (50, 65)
/select = sequence
</text>

<slider slider_1>
/ labels= ("überhaupt nicht zutreffend", "sehr zutreffend")
/ range = (0,100)
/ position = (17%,70%)
/ slidersize = (50%,4%)
</slider>

<surveypage ratings_slider>
/ stimulusframes = [1=ratings_slider, houses_2]
/ questions = [1=slider_1]
</surveypage>

<block ratings_slider>
/preinstructions = (ratings_slider)
/ trials = [1-600 = ratings_slider]
</block>

<item houses_2>
/1= "Slide01.jpg"
/2= "Slide02.jpg"
/3= "Slide03.jpg"
/4= "Slide04.jpg"
/5= "Slide05.jpg"
/6= "Slide06.jpg"
/7= "Slide07.jpg"
/8= "Slide08.jpg"
/9= "Slide09.jpg"
/10= "Slide10.jpg"
...
/50= "Slide50.jpg"
</item>

<values>
/ slidenumber = 1
</values>

<list slidenumbers>
/ poolsize = 50
</list>

<picture houses_2>
/items = houses_2
/position = (50, 30)
/select = values.slidenumber
</picture>

<item ratings_slider>
/1 = "Dieses Haus hat ein Gesicht."
/2 = "Dieses Haus ist ein typisches Haus."
/3 = "Diese Art Haus kommt mir bekannt vor."
/4 = "Dieses Haus sieht kindlich aus."
/5 = "Dieses Haus sieht einladend aus."
/6 = "Dieses Haus sieht freundlich aus."
/7 = "Ich mag dieses Haus."
/8 = "In diesem Haus würde ich mich sicher fühlen."
/9 = "Dieses Haus sieht bedrohlich aus."
/10 = "In diesem Haus würde ich mich alleine fühlen."
/11 = "In diesem Haus würde ich mich frei fühlen."
/12 = "In diesem Haus würde ich gerne mit anderen wohnen."
</item>

<text ratings_slider>
/ font = ("Times New Roman", -26, 400, 0, 18)
/items = ratings_slider
/position = (50, 65)
/select = sequence
</text>

<slider slider_1>
/ labels= ("überhaupt nicht zutreffend", "sehr zutreffend")
/ range = (0,100)
/ position = (17%,70%)
/ slidersize = (50%,4%)
</slider>

<surveypage ratings_slider>
/ stimulusframes = [1=ratings_slider, houses_2]
/ questions = [1=slider_1]
</surveypage>

<trial selectslide>
/ ontrialbegin = [
    values.slidenumber = list.slidenumbers.nextindex;
]
/ recorddata = false
/ trialduration = 0
</trial>

<block ratings_slider>
/preinstructions = (ratings_slider)
/ trials = [1-50 = sequence(selectslide, ratings_slider, ratings_slider, ratings_slider, ratings_slider, ratings_slider, ratings_slider,
ratings_slider, ratings_slider, ratings_slider, ratings_slider, ratings_slider, ratings_slider)]
</block>
S.Weber
S.Weber
Respected Member (409 reputation)Respected Member (409 reputation)Respected Member (409 reputation)Respected Member (409 reputation)Respected Member (409 reputation)Respected Member (409 reputation)Respected Member (409 reputation)Respected Member (409 reputation)Respected Member (409 reputation)
Group: Forum Members
Posts: 9, Visits: 54
Dave - 2/1/2021
S.Weber - 1/31/2021
Hello,
please, I need some help in randomizing.
I have 50 different pictures as stimuli. And 12 different questions on a rating scale for each of the 50 pictures. In total 600 questions. Right now, my script shows picture 1 for 12 times, then picture 2 for 12 times and so on. But what I want is that each participant gets a different order of the 50 pictures. For example: participant A starts with the 12 questions to picture 1, then 12 questions to picture 10, then 12 questions to picture 8 …. ; participant B starts with 12 questions to picture 32, then 21, then 18 ….

I hope I made myself clear. I appreciate your help! Thank you so mch fpr your help!

This is my script:
<item houses_2>
/1= "Slide01.jpg"
/2= "Slide01.jpg"
/3= "Slide01.jpg"
/4= "Slide01.jpg"
/5= "Slide01.jpg"
/6= "Slide01.jpg"
/7= "Slide01.jpg"
/8= "Slide01.jpg"
/9= "Slide01.jpg"
/10= "Slide01.jpg"
/11= "Slide01.jpg"
/12= "Slide01.jpg"

/13= "Slide02.jpg"
/14= "Slide02.jpg"
/15= "Slide02.jpg"
/16= "Slide02.jpg"
/17= "Slide02.jpg"
/18= "Slide02.jpg"
/19= "Slide02.jpg"
/20= "Slide02.jpg"
/21= "Slide02.jpg"
/22= "Slide02.jpg"
/23= "Slide02.jpg"
/24= "Slide02.jpg"

/600= “Slide50.jpg”

<picture houses_2>
/items = houses_2
/position = (50, 30)
/select = sequence
</picture>

<item ratings_slider>
/1 = "Dieses Haus hat ein Gesicht."
/2 = "Dieses Haus ist ein typisches Haus."
/3 = "Diese Art Haus kommt mir bekannt vor."
/4 = "Dieses Haus sieht kindlich aus."
/5 = "Dieses Haus sieht einladend aus."
/6 = "Dieses Haus sieht freundlich aus."
/7 = "Ich mag dieses Haus."
/8 = "In diesem Haus würde ich mich sicher fühlen."
/9 = "Dieses Haus sieht bedrohlich aus."
/10 = "In diesem Haus würde ich mich alleine fühlen."
/11 = "In diesem Haus würde ich mich frei fühlen."
/12 = "In diesem Haus würde ich gerne mit anderen wohnen."
</item>

<text ratings_slider>
/ font = ("Times New Roman", -26, 400, 0, 18)
/items = ratings_slider
/position = (50, 65)
/select = sequence
</text>

<slider slider_1>
/ labels= ("überhaupt nicht zutreffend", "sehr zutreffend")
/ range = (0,100)
/ position = (17%,70%)
/ slidersize = (50%,4%)
</slider>

<surveypage ratings_slider>
/ stimulusframes = [1=ratings_slider, houses_2]
/ questions = [1=slider_1]
</surveypage>

<block ratings_slider>
/preinstructions = (ratings_slider)
/ trials = [1-600 = ratings_slider]
</block>

<item houses_2>
/1= "Slide01.jpg"
/2= "Slide02.jpg"
/3= "Slide03.jpg"
/4= "Slide04.jpg"
/5= "Slide05.jpg"
/6= "Slide06.jpg"
/7= "Slide07.jpg"
/8= "Slide08.jpg"
/9= "Slide09.jpg"
/10= "Slide10.jpg"
...
/50= "Slide50.jpg"
</item>

<values>
/ slidenumber = 1
</values>

<list slidenumbers>
/ poolsize = 50
</list>

<picture houses_2>
/items = houses_2
/position = (50, 30)
/select = values.slidenumber
</picture>

<item ratings_slider>
/1 = "Dieses Haus hat ein Gesicht."
/2 = "Dieses Haus ist ein typisches Haus."
/3 = "Diese Art Haus kommt mir bekannt vor."
/4 = "Dieses Haus sieht kindlich aus."
/5 = "Dieses Haus sieht einladend aus."
/6 = "Dieses Haus sieht freundlich aus."
/7 = "Ich mag dieses Haus."
/8 = "In diesem Haus würde ich mich sicher fühlen."
/9 = "Dieses Haus sieht bedrohlich aus."
/10 = "In diesem Haus würde ich mich alleine fühlen."
/11 = "In diesem Haus würde ich mich frei fühlen."
/12 = "In diesem Haus würde ich gerne mit anderen wohnen."
</item>

<text ratings_slider>
/ font = ("Times New Roman", -26, 400, 0, 18)
/items = ratings_slider
/position = (50, 65)
/select = sequence
</text>

<slider slider_1>
/ labels= ("überhaupt nicht zutreffend", "sehr zutreffend")
/ range = (0,100)
/ position = (17%,70%)
/ slidersize = (50%,4%)
</slider>

<surveypage ratings_slider>
/ stimulusframes = [1=ratings_slider, houses_2]
/ questions = [1=slider_1]
</surveypage>

<trial selectslide>
/ ontrialbegin = [
    values.slidenumber = list.slidenumbers.nextindex;
]
/ recorddata = false
/ trialduration = 0
</trial>

<block ratings_slider>
/preinstructions = (ratings_slider)
/ trials = [1-50 = sequence(selectslide, ratings_slider, ratings_slider, ratings_slider, ratings_slider, ratings_slider, ratings_slider,
ratings_slider, ratings_slider, ratings_slider, ratings_slider, ratings_slider, ratings_slider)]
</block>

Dear Dave, you did an amazing job! It works just great! Thank you so much for helping me! :D I´m really really happy!!! All the best from Germany
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search