Particpants start with different numbers


Author
Message
uni-student92084
uni-student92084
Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)
Group: Forum Members
Posts: 57, Visits: 172
Hi,
I'm having troubling formatting my script in a way that would start by giving participants a certain type of score over another. 

Specifically, as you'll see in my script there are scores for Reps and Dems and I would like a person to get either a Rep or Dem score for the first score they see. I think that the <experiment> takes care of this but I am having trouble implementing that into my script.

My script:
 
<item PolicyARep>
/1 = "score1"
/2 = "score2"
/3 = "score3"
/4 = "score4"
/5 = "score5"
/6 = "score6"
/7 = "score7"
/8 = "score8"
/9 = "score9"
/10 = "score10"
</item>


<item PolicyADem>
/1= "score1"
/2= "score2"
/3= "score3"
/4 = "score4"
/5 = "score5"
/6 = "score6"
/7 = "score7"
/8 = "score8"
/9 = "score9"
/10 = "score10"
</item>


PolicyARep1

<text PolicyARep1>
/items = PolicyARep
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
/select= list.policyARep.nextindex
</text>

<text PolicyARep2>
/items= PolicyARep
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
/select= list.policyARep.nextindex
</text>

<text PolicyARep3>
/items = PolicyARep
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
/ select = list.policyARep.nextindex
</text>

<text PolicyARep4>
/items = PolicyARep
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
/ select = list.policyARep.nextindex
</text>

<text PolicyARep5>
/items = PolicyARep
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
/ select = list.policyARep.nextindex
</text>

<text PolicyARep6>
/items = PolicyARep
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
/ select = list.policyARep.nextindex
</text>

<text PolicyARep7>
/items = PolicyARep
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
/ select = list.policyARep.nextindex
</text>

<text PolicyARep8>
/items = PolicyARep
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
/ select = list.policyARep.nextindex
</text>

<text PolicyARep9>
/items = PolicyARep
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
/ select = list.policyARep.nextindex
</text>

<text PolicyARep10>
/items = PolicyARep
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
/ select = list.policyARep.nextindex
</text>


<list policyARep>
/poolsize =10
/selectionrate = always
/ replace = true
</list>


<text PolicyADem1>
/items= PolicyADem
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)
/ select = list.PolicyADem.nextindex
</text>

<text PolicyADem2>
/items= PolicyADem
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)
/ select = list.PolicyADem.nextindex
</text>

<text PolicyADem3>
/items= PolicyADem
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)
/ select = list.PolicyADem.nextindex
</text>

<text PolicyADem4>
/items= PolicyADem
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)
/ select = list.PolicyADem.nextindex
</text>

<text PolicyADem5>
/items= PolicyADem
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)
/ select = list.PolicyADem.nextindex
</text>

<text PolicyADem6>
/items= PolicyADem
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)
/ select = list.PolicyADem.nextindex
</text>

<text PolicyADem7>
/items= PolicyADem
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)
/ select = list.PolicyADem.nextindex
</text>

<text PolicyADem8>
/items= PolicyADem
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)
/ select = list.PolicyADem.nextindex
</text>

<text PolicyADem9>
/items= PolicyADem
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)
/ select = list.PolicyADem.nextindex
</text>

<text PolicyADem10>
/items= PolicyADem
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)
/ select = list.PolicyADem.nextindex
</text>

<list PolicyADem>
/ poolsize = 10
/ selectionrate = always
/ replace = true
</list>



<trial PolicyA>
/ validresponse = ("E", "I")
/ correctresponse = ("E")
/ beginresponsetime = 0
/ stimulustimes = [0=replace(PolicyADem1); 1000=replace(PolicyARep1); 2000=replace(PolicyADem2);
3000= replace(PolicyARep2); 4000=replace(PolicyADem3); 5000=replace(PolicyARep3); 6000= replace(PolicyADem4);
7000= replace(PolicyARep4);8000= replace(PolicyADem5); 9000= replace(PolicyARep5)]
</trial>


<trial PolicyB>
/validresponse = ("E", "I")
/ correctresponse = ("E")
/ beginresponsetime = 0
/ stimulustimes = [0=replace(PolicyADem1);1000=replace(PolicyARep2);2000=replace(PolicyADem3);3000=replace(PolicyARep3);
4000= replace(PolicyADem4); 5000= replace(PolicyARep4); 6000= replace(PolicyADem5)]
</trial>

<block test1>
/trials = [1= replace(PolicyA); 2=replace(PolicyB)]
</block>

<block test2 >
/trials = [1=replace(Policy B); 2=replace(Policy A)]
</block>

<expt>
/blocks= [ 1= test1;2= test2]
/subjects = (1of 2)
</expt>

<expt>
/blocks= [1= test2; 2= test1]
</expt>


My overall goal for this script is to have score/numbers run across the screen and for the participant to press either E or I in response to the scores. The scores will correspond to a policy/topic that they will read before they see the stream of numbers. 

The issue with the script now is that, for a specific policy, I can't make the participant see either a Rep or a Dem score first; I would have to do that manually every time I run the script. Also, the way I have it set up now I have Policy A (in <block test1>) going first for one person and Policy B (in <block test1>) going first for the other. I'd like Policy A to go first for each but one person starts with a Rep score and one starts with a Dem. 

I would be grateful for any advice or help!
Thank you
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: 104K
Kksham052 - 1/14/2020
Hi,
I'm having troubling formatting my script in a way that would start by giving participants a certain type of score over another. 

Specifically, as you'll see in my script there are scores for Reps and Dems and I would like a person to get either a Rep or Dem score for the first score they see. I think that the <experiment> takes care of this but I am having trouble implementing that into my script.

My script:
 
<item PolicyARep>
/1 = "score1"
/2 = "score2"
/3 = "score3"
/4 = "score4"
/5 = "score5"
/6 = "score6"
/7 = "score7"
/8 = "score8"
/9 = "score9"
/10 = "score10"
</item>


<item PolicyADem>
/1= "score1"
/2= "score2"
/3= "score3"
/4 = "score4"
/5 = "score5"
/6 = "score6"
/7 = "score7"
/8 = "score8"
/9 = "score9"
/10 = "score10"
</item>


PolicyARep1

<text PolicyARep1>
/items = PolicyARep
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
/select= list.policyARep.nextindex
</text>

<text PolicyARep2>
/items= PolicyARep
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
/select= list.policyARep.nextindex
</text>

<text PolicyARep3>
/items = PolicyARep
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
/ select = list.policyARep.nextindex
</text>

<text PolicyARep4>
/items = PolicyARep
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
/ select = list.policyARep.nextindex
</text>

<text PolicyARep5>
/items = PolicyARep
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
/ select = list.policyARep.nextindex
</text>

<text PolicyARep6>
/items = PolicyARep
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
/ select = list.policyARep.nextindex
</text>

<text PolicyARep7>
/items = PolicyARep
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
/ select = list.policyARep.nextindex
</text>

<text PolicyARep8>
/items = PolicyARep
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
/ select = list.policyARep.nextindex
</text>

<text PolicyARep9>
/items = PolicyARep
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
/ select = list.policyARep.nextindex
</text>

<text PolicyARep10>
/items = PolicyARep
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
/ select = list.policyARep.nextindex
</text>


<list policyARep>
/poolsize =10
/selectionrate = always
/ replace = true
</list>


<text PolicyADem1>
/items= PolicyADem
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)
/ select = list.PolicyADem.nextindex
</text>

<text PolicyADem2>
/items= PolicyADem
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)
/ select = list.PolicyADem.nextindex
</text>

<text PolicyADem3>
/items= PolicyADem
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)
/ select = list.PolicyADem.nextindex
</text>

<text PolicyADem4>
/items= PolicyADem
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)
/ select = list.PolicyADem.nextindex
</text>

<text PolicyADem5>
/items= PolicyADem
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)
/ select = list.PolicyADem.nextindex
</text>

<text PolicyADem6>
/items= PolicyADem
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)
/ select = list.PolicyADem.nextindex
</text>

<text PolicyADem7>
/items= PolicyADem
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)
/ select = list.PolicyADem.nextindex
</text>

<text PolicyADem8>
/items= PolicyADem
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)
/ select = list.PolicyADem.nextindex
</text>

<text PolicyADem9>
/items= PolicyADem
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)
/ select = list.PolicyADem.nextindex
</text>

<text PolicyADem10>
/items= PolicyADem
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)
/ select = list.PolicyADem.nextindex
</text>

<list PolicyADem>
/ poolsize = 10
/ selectionrate = always
/ replace = true
</list>



<trial PolicyA>
/ validresponse = ("E", "I")
/ correctresponse = ("E")
/ beginresponsetime = 0
/ stimulustimes = [0=replace(PolicyADem1); 1000=replace(PolicyARep1); 2000=replace(PolicyADem2);
3000= replace(PolicyARep2); 4000=replace(PolicyADem3); 5000=replace(PolicyARep3); 6000= replace(PolicyADem4);
7000= replace(PolicyARep4);8000= replace(PolicyADem5); 9000= replace(PolicyARep5)]
</trial>


<trial PolicyB>
/validresponse = ("E", "I")
/ correctresponse = ("E")
/ beginresponsetime = 0
/ stimulustimes = [0=replace(PolicyADem1);1000=replace(PolicyARep2);2000=replace(PolicyADem3);3000=replace(PolicyARep3);
4000= replace(PolicyADem4); 5000= replace(PolicyARep4); 6000= replace(PolicyADem5)]
</trial>

<block test1>
/trials = [1= replace(PolicyA); 2=replace(PolicyB)]
</block>

<block test2 >
/trials = [1=replace(Policy B); 2=replace(Policy A)]
</block>

<expt>
/blocks= [ 1= test1;2= test2]
/subjects = (1of 2)
</expt>

<expt>
/blocks= [1= test2; 2= test1]
</expt>


My overall goal for this script is to have score/numbers run across the screen and for the participant to press either E or I in response to the scores. The scores will correspond to a policy/topic that they will read before they see the stream of numbers. 

The issue with the script now is that, for a specific policy, I can't make the participant see either a Rep or a Dem score first; I would have to do that manually every time I run the script. Also, the way I have it set up now I have Policy A (in <block test1>) going first for one person and Policy B (in <block test1>) going first for the other. I'd like Policy A to go first for each but one person starts with a Rep score and one starts with a Dem. 

I would be grateful for any advice or help!
Thank you

You've hardcoded the sequence of Dem and Rep scores in your <trial> elements, and it's always Dem-Rep-Dem-Rep...

<trial PolicyA>
/ validresponse = ("E", "I")
/ correctresponse = ("E")
/ beginresponsetime = 0
/ stimulustimes = [0=replace(PolicyADem1); 1000=replace(PolicyARep1); 2000=replace(PolicyADem2);
3000= replace(PolicyARep2); 4000=replace(PolicyADem3); 5000=replace(PolicyARep3); 6000= replace(PolicyADem4);
7000= replace(PolicyARep4);8000= replace(PolicyADem5); 9000= replace(PolicyARep5)]
</trial>


<trial PolicyB>
/validresponse = ("E", "I")
/ correctresponse = ("E")
/ beginresponsetime = 0
/ stimulustimes = [0=replace(PolicyADem1);1000=replace(PolicyARep2);2000=replace(PolicyADem3);3000=replace(PolicyARep3);
4000= replace(PolicyADem4); 5000= replace(PolicyARep4); 6000= replace(PolicyADem5)]
</trial>

If you want to that to be random, that's what you need to randomize, the <expt> element has nothing to do with it.

If you want to keep it simple, create two versions of your PolicyA and PolicyB trials -- one that starts with Dem, and one that starts with Rep. Then code your between subjects condition as needed.

<block test1>
/trials = [1= replace(PolicyADem); 2=replace(PolicyBRep)]
</block>

<block test2 >
/trials = [1=replace(PolicyARep); 2=replace(PolicyBDem)]
</block>

<expt>
/blocks= [ 1= test1;2= test2]
/subjects = (1of 2)
</expt>

<expt>
/blocks= [1= test2; 2= test1]
/subjects = (2 of 2)
</expt>

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search