How to randomly present associations?


Author
Message
Wasabi8888
Wasabi8888
New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)
Group: Forum Members
Posts: 6, Visits: 78
Hi everyone,

For this task, the rival team, the non-rival team, and self team are randomly paired with one of three teams: Team Green, Team Blue, or Team Red. Additionally, three geometric shapes (circle/triangle/square) are randomly associated with these teams.

For instance, self team (Team Green) may be represented by a circle, the rival team (Team Blue) by a triangle, and the non-rival team (Team Red) by a square.

Upon reviewing the data file, I noticed that in the formal task, the associations between identities (the rival team, the non-rival team, and self team) and teams Team Green, Team Blue, or Team Red) did not match the associations specified in the previous instructions.

I would appreciate guidance on the appropriate changes.
Thank you!
Attachments
Exp.zip (37 views, 104.00 KB)
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: 12K, Visits: 97K
Wasabi8888 - 1/21/2024
Hi everyone,

For this task, the rival team, the non-rival team, and self team are randomly paired with one of three teams: Team Green, Team Blue, or Team Red. Additionally, three geometric shapes (circle/triangle/square) are randomly associated with these teams.

For instance, self team (Team Green) may be represented by a circle, the rival team (Team Blue) by a triangle, and the non-rival team (Team Red) by a square.

Upon reviewing the data file, I noticed that in the formal task, the associations between identities (the rival team, the non-rival team, and self team) and teams Team Green, Team Blue, or Team Red) did not match the associations specified in the previous instructions.

I would appreciate guidance on the appropriate changes.
Thank you!

The first thing you need to do is to explain how you implemented the random associations and why you did it that way.
Wasabi8888
Wasabi8888
New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)
Group: Forum Members
Posts: 6, Visits: 78
Dave - 1/22/2024

The first thing you need to do is to explain how you implemented the random associations and why you did it that way.
I have implemented random associations using the bolded code, but the associations in the instructions do not match the association demo.


<block block_info_group>
/ onblockbegin = [
  values.pic1 = list.sat_pic_group.nextvalue;
  values.pic2 = list.sat_pic_group.nextvalue;
  values.pic3 = list.sat_pic_group.nextvalue;
  values.tag1 = list.sat_tag_group.nextvalue;
  values.tag2 = list.sat_tag_group.nextvalue;
  values.tag3 = list.sat_tag_group.nextvalue;

  values.team = 1;
  if (values.team == "1") {values.ownteam = "TEAM RED"; values.rivalteam = "TEAM GREEN"; values.neutralteam = "TEAM BLUE"}
  if (values.team == "2") {values.ownteam = "TEAM GREEN"; values.rivalteam = "TEAM BLUE"; values.neutralteam = "TEAM RED"}
  if (values.team == "3") {values.ownteam = "TEAM BLUE"; values.rivalteam = "TEAM RED"; values.neutralteam = "TEAM GREEN"}]
/ trials = [1 = Group_Info]
/ recorddata = true
/ onblockend = [
if (text.Tag1_group.currentitem == "TEAM RED"&&text.txt_instr_L_group.currentitem == "TEAM RED"&&values.team == "1") {values.pic1con = "ingroup"; values.tag1name = "your team '<%values.ownteam%>'"};
if (text.Tag2_group.currentitem == "TEAM RED"&&text.txt_instr_M_group.currentitem == "TEAM RED"&&values.team == "1") {values.pic2con = "ingroup"; values.tag2name = "your team '<%values.ownteam%>'"};
if (text.Tag3_group.currentitem == "TEAM RED"&&text.txt_instr_R_group.currentitem == "TEAM RED"&&values.team == "1") {values.pic3con = "ingroup"; values.tag3name = "your team '<%values.ownteam%>'"};
if (text.Tag1_group.currentitem == "TEAM GREEN"&&text.txt_instr_L_group.currentitem == "TEAM GREEN"&&values.team == "1") {values.pic1con = "outgroup"; values.tag1name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag2_group.currentitem == "TEAM GREEN"&&text.txt_instr_M_group.currentitem == "TEAM GREEN"&&values.team == "1") {values.pic2con = "outgroup"; values.tag2name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag3_group.currentitem == "TEAM GREEN"&&text.txt_instr_R_group.currentitem == "TEAM GREEN"&&values.team == "1") {values.pic3con = "outgroup"; values.tag3name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag1_group.currentitem == "TEAM BLUE"&&text.txt_instr_L_group.currentitem == "TEAM BLUE"&&values.team == "1") {values.pic1con = "neutral"; values.tag1name = "the non-rival team '<%values.neutralteam%>'"};
if (text.Tag2_group.currentitem == "TEAM BLUE"&&text.txt_instr_M_group.currentitem == "TEAM BLUE"&&values.team == "1") {values.pic2con = "neutral"; values.tag2name = "the non-rival team '<%values.neutralteam%>'"};
if (text.Tag3_group.currentitem == "TEAM BLUE"&&text.txt_instr_R_group.currentitem == "TEAM BLUE"&&values.team == "1") {values.pic3con = "neutral"; values.tag3name = "the non-rival team '<%values.neutralteam%>'"};

if (text.Tag1_group.currentitem == "TEAM GREEN"&&text.txt_instr_L_group.currentitem == "TEAM GREEN"&&values.team == "2") {values.pic1con = "ingroup"; values.tag1name = "your team '<%values.ownteam%>'"};
if (text.Tag2_group.currentitem == "TEAM GREEN"&&text.txt_instr_M_group.currentitem == "TEAM GREEN"&&values.team == "2") {values.pic2con = "ingroup"; values.tag2name = "your team '<%values.ownteam%>'"};
if (text.Tag3_group.currentitem == "TEAM GREEN"&&text.txt_instr_R_group.currentitem == "TEAM GREEN"&&values.team == "2") {values.pic3con = "ingroup"; values.tag3name = "your team '<%values.ownteam%>'"};
if (text.Tag1_group.currentitem == "TEAM BLUE"&&text.txt_instr_L_group.currentitem == "TEAM BLUE"&&values.team == "2") {values.pic1con = "outgroup"; values.tag1name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag2_group.currentitem == "TEAM BLUE"&&text.txt_instr_M_group.currentitem == "TEAM BLUE"&&values.team == "2") {values.pic2con = "outgroup"; values.tag2name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag3_group.currentitem == "TEAM BLUE"&&text.txt_instr_R_group.currentitem == "TEAM BLUE"&&values.team == "2") {values.pic3con = "outgroup"; values.tag3name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag1_group.currentitem == "TEAM RED"&&text.txt_instr_L_group.currentitem == "TEAM RED"&&values.team == "2") {values.pic1con = "neutral"; values.tag1name = "the non-rival team '<%values.neutralteam%>'"};
if (text.Tag2_group.currentitem == "TEAM RED"&&text.txt_instr_M_group.currentitem == "TEAM RED"&&values.team == "2") {values.pic2con = "neutral"; values.tag2name = "the non-rival team '<%values.neutralteam%>'"};
if (text.Tag3_group.currentitem == "TEAM RED"&&text.txt_instr_R_group.currentitem == "TEAM RED"&&values.team == "2") {values.pic3con = "neutral"; values.tag3name = "the non-rival team '<%values.neutralteam%>'"};

if (text.Tag1_group.currentitem == "TEAM BLUE"&&text.txt_instr_L_group.currentitem == "TEAM BLUE"&&values.team == "3") {values.pic1con = "ingroup"; values.tag1name = "your team '<%values.ownteam%>'"};
if (text.Tag2_group.currentitem == "TEAM BLUE"&&text.txt_instr_M_group.currentitem == "TEAM BLUE"&&values.team == "3") {values.pic2con = "ingroup"; values.tag2name = "your team '<%values.ownteam%>'"};
if (text.Tag3_group.currentitem == "TEAM BLUE"&&text.txt_instr_R_group.currentitem == "TEAM BLUE"&&values.team == "3") {values.pic3con = "ingroup"; values.tag3name = "your team '<%values.ownteam%>'"};
if (text.Tag1_group.currentitem == "TEAM RED"&&text.txt_instr_L_group.currentitem == "TEAM RED"&&values.team == "3") {values.pic1con = "outgroup"; values.tag1name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag2_group.currentitem == "TEAM RED"&&text.txt_instr_M_group.currentitem == "TEAM RED"&&values.team == "3") {values.pic2con = "outgroup"; values.tag2name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag3_group.currentitem == "TEAM RED"&&text.txt_instr_R_group.currentitem == "TEAM RED"&&values.team == "3") {values.pic3con = "outgroup"; values.tag3name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag1_group.currentitem == "TEAM GREEN"&&text.txt_instr_L_group.currentitem == "TEAM GREEN"&&values.team == "3") {values.pic1con = "neutral"; values.tag1name = "the non-rival team '<%values.neutralteam%>'"};
if (text.Tag2_group.currentitem == "TEAM GREEN"&&text.txt_instr_M_group.currentitem == "TEAM GREEN"&&values.team == "3") {values.pic2con = "neutral"; values.tag2name = "the non-rival team '<%values.neutralteam%>'"};
if (text.Tag3_group.currentitem == "TEAM GREEN"&&text.txt_instr_R_group.currentitem == "TEAM GREEN"&&values.team == "3") {values.pic3con = "neutral"; values.tag3name = "the non-rival team '<%values.neutralteam%>'"};
]
</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: 12K, Visits: 97K
Wasabi8888 - 1/22/2024
Dave - 1/22/2024

The first thing you need to do is to explain how you implemented the random associations and why you did it that way.
I have implemented random associations using the bolded code, but the associations in the instructions do not match the association demo.


<block block_info_group>
/ onblockbegin = [
  values.pic1 = list.sat_pic_group.nextvalue;
  values.pic2 = list.sat_pic_group.nextvalue;
  values.pic3 = list.sat_pic_group.nextvalue;
  values.tag1 = list.sat_tag_group.nextvalue;
  values.tag2 = list.sat_tag_group.nextvalue;
  values.tag3 = list.sat_tag_group.nextvalue;

  values.team = 1;
  if (values.team == "1") {values.ownteam = "TEAM RED"; values.rivalteam = "TEAM GREEN"; values.neutralteam = "TEAM BLUE"}
  if (values.team == "2") {values.ownteam = "TEAM GREEN"; values.rivalteam = "TEAM BLUE"; values.neutralteam = "TEAM RED"}
  if (values.team == "3") {values.ownteam = "TEAM BLUE"; values.rivalteam = "TEAM RED"; values.neutralteam = "TEAM GREEN"}]
/ trials = [1 = Group_Info]
/ recorddata = true
/ onblockend = [
if (text.Tag1_group.currentitem == "TEAM RED"&&text.txt_instr_L_group.currentitem == "TEAM RED"&&values.team == "1") {values.pic1con = "ingroup"; values.tag1name = "your team '<%values.ownteam%>'"};
if (text.Tag2_group.currentitem == "TEAM RED"&&text.txt_instr_M_group.currentitem == "TEAM RED"&&values.team == "1") {values.pic2con = "ingroup"; values.tag2name = "your team '<%values.ownteam%>'"};
if (text.Tag3_group.currentitem == "TEAM RED"&&text.txt_instr_R_group.currentitem == "TEAM RED"&&values.team == "1") {values.pic3con = "ingroup"; values.tag3name = "your team '<%values.ownteam%>'"};
if (text.Tag1_group.currentitem == "TEAM GREEN"&&text.txt_instr_L_group.currentitem == "TEAM GREEN"&&values.team == "1") {values.pic1con = "outgroup"; values.tag1name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag2_group.currentitem == "TEAM GREEN"&&text.txt_instr_M_group.currentitem == "TEAM GREEN"&&values.team == "1") {values.pic2con = "outgroup"; values.tag2name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag3_group.currentitem == "TEAM GREEN"&&text.txt_instr_R_group.currentitem == "TEAM GREEN"&&values.team == "1") {values.pic3con = "outgroup"; values.tag3name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag1_group.currentitem == "TEAM BLUE"&&text.txt_instr_L_group.currentitem == "TEAM BLUE"&&values.team == "1") {values.pic1con = "neutral"; values.tag1name = "the non-rival team '<%values.neutralteam%>'"};
if (text.Tag2_group.currentitem == "TEAM BLUE"&&text.txt_instr_M_group.currentitem == "TEAM BLUE"&&values.team == "1") {values.pic2con = "neutral"; values.tag2name = "the non-rival team '<%values.neutralteam%>'"};
if (text.Tag3_group.currentitem == "TEAM BLUE"&&text.txt_instr_R_group.currentitem == "TEAM BLUE"&&values.team == "1") {values.pic3con = "neutral"; values.tag3name = "the non-rival team '<%values.neutralteam%>'"};

if (text.Tag1_group.currentitem == "TEAM GREEN"&&text.txt_instr_L_group.currentitem == "TEAM GREEN"&&values.team == "2") {values.pic1con = "ingroup"; values.tag1name = "your team '<%values.ownteam%>'"};
if (text.Tag2_group.currentitem == "TEAM GREEN"&&text.txt_instr_M_group.currentitem == "TEAM GREEN"&&values.team == "2") {values.pic2con = "ingroup"; values.tag2name = "your team '<%values.ownteam%>'"};
if (text.Tag3_group.currentitem == "TEAM GREEN"&&text.txt_instr_R_group.currentitem == "TEAM GREEN"&&values.team == "2") {values.pic3con = "ingroup"; values.tag3name = "your team '<%values.ownteam%>'"};
if (text.Tag1_group.currentitem == "TEAM BLUE"&&text.txt_instr_L_group.currentitem == "TEAM BLUE"&&values.team == "2") {values.pic1con = "outgroup"; values.tag1name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag2_group.currentitem == "TEAM BLUE"&&text.txt_instr_M_group.currentitem == "TEAM BLUE"&&values.team == "2") {values.pic2con = "outgroup"; values.tag2name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag3_group.currentitem == "TEAM BLUE"&&text.txt_instr_R_group.currentitem == "TEAM BLUE"&&values.team == "2") {values.pic3con = "outgroup"; values.tag3name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag1_group.currentitem == "TEAM RED"&&text.txt_instr_L_group.currentitem == "TEAM RED"&&values.team == "2") {values.pic1con = "neutral"; values.tag1name = "the non-rival team '<%values.neutralteam%>'"};
if (text.Tag2_group.currentitem == "TEAM RED"&&text.txt_instr_M_group.currentitem == "TEAM RED"&&values.team == "2") {values.pic2con = "neutral"; values.tag2name = "the non-rival team '<%values.neutralteam%>'"};
if (text.Tag3_group.currentitem == "TEAM RED"&&text.txt_instr_R_group.currentitem == "TEAM RED"&&values.team == "2") {values.pic3con = "neutral"; values.tag3name = "the non-rival team '<%values.neutralteam%>'"};

if (text.Tag1_group.currentitem == "TEAM BLUE"&&text.txt_instr_L_group.currentitem == "TEAM BLUE"&&values.team == "3") {values.pic1con = "ingroup"; values.tag1name = "your team '<%values.ownteam%>'"};
if (text.Tag2_group.currentitem == "TEAM BLUE"&&text.txt_instr_M_group.currentitem == "TEAM BLUE"&&values.team == "3") {values.pic2con = "ingroup"; values.tag2name = "your team '<%values.ownteam%>'"};
if (text.Tag3_group.currentitem == "TEAM BLUE"&&text.txt_instr_R_group.currentitem == "TEAM BLUE"&&values.team == "3") {values.pic3con = "ingroup"; values.tag3name = "your team '<%values.ownteam%>'"};
if (text.Tag1_group.currentitem == "TEAM RED"&&text.txt_instr_L_group.currentitem == "TEAM RED"&&values.team == "3") {values.pic1con = "outgroup"; values.tag1name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag2_group.currentitem == "TEAM RED"&&text.txt_instr_M_group.currentitem == "TEAM RED"&&values.team == "3") {values.pic2con = "outgroup"; values.tag2name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag3_group.currentitem == "TEAM RED"&&text.txt_instr_R_group.currentitem == "TEAM RED"&&values.team == "3") {values.pic3con = "outgroup"; values.tag3name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag1_group.currentitem == "TEAM GREEN"&&text.txt_instr_L_group.currentitem == "TEAM GREEN"&&values.team == "3") {values.pic1con = "neutral"; values.tag1name = "the non-rival team '<%values.neutralteam%>'"};
if (text.Tag2_group.currentitem == "TEAM GREEN"&&text.txt_instr_M_group.currentitem == "TEAM GREEN"&&values.team == "3") {values.pic2con = "neutral"; values.tag2name = "the non-rival team '<%values.neutralteam%>'"};
if (text.Tag3_group.currentitem == "TEAM GREEN"&&text.txt_instr_R_group.currentitem == "TEAM GREEN"&&values.team == "3") {values.pic3con = "neutral"; values.tag3name = "the non-rival team '<%values.neutralteam%>'"};
]
</block>

I asked you to explain your reasoning and comment your code, not to post an uncommented excerpt.

In particular, you should focus and explain how -- you believe -- that selection code ties in to what happens in the trials.
Edited 2 Months Ago by Dave
Wasabi8888
Wasabi8888
New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)
Group: Forum Members
Posts: 6, Visits: 78
Dave - 1/22/2024

I asked you to explain your reasoning and comment your code, not to post an uncommented excerpt.
I implemented randomisation using your example.

<item myitems>
/ 1 = "A1"
/ 2 = "A2"
/ 3 = "A3"

/ 4 = "B1"
/ 5 = "B2"
/ 6 = "B3"

/ 7 = "C1"
/ 8 = "C2"
/ 9 = "C3"
</item>

<text mytext1>
/ items = myitems
/ select = values.itemnumber1
/ position = (25%, 50%)
</text>

<text mytext2>
/ items = myitems
/ select = values.itemnumber2
/ position = (50%, 50%)
</text>

<text mytext3>
/ items = myitems
/ select = values.itemnumber3
/ position = (75%, 50%)
</text>

<list listnumber>
/ items = (1,2,3)
</list>

<list a>
/ items = (1,2,3)
/ selectionmode = sequence
/ selectionrate = always
</list>

<list b>
/ items = (4,5,6)
/ selectionmode = sequence
/ selectionrate = always
</list>

<list c>
/ items = (7,8,9)
/ selectionmode = sequence
/ selectionrate = always
</list>

<list list_of_lists>
/ items = (list.a.nextvalue, list.b.nextvalue, list.c.nextvalue)
/ selectionmode = values.listnumber
/ selectionrate = always
</list>

<values>
/ itemnumber1 = 0
/ itemnumber2 = 0
/ itemnumber3 = 0
/ listnumber = 0
</values>

<block example>
/ trials = [1-3 = mytrial]
</block>

<trial mytrial>
/ ontrialbegin = [
  values.listnumber = list.listnumber.nextvalue; // pick the list to use in this trial at random

  // pick the three item numbers from the selected list
  values.itemnumber1 = list.list_of_lists.nextvalue;
  values.itemnumber2 = list.list_of_lists.nextvalue;
  values.itemnumber3 = list.list_of_lists.nextvalue;
]
/ stimulusframes = [1=mytext1, mytext2, mytext3]
/ validresponse = (57)
</trial>

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: 12K, Visits: 97K
Wasabi8888 - 1/22/2024
Dave - 1/22/2024

I asked you to explain your reasoning and comment your code, not to post an uncommented excerpt.
I implemented randomisation using your example.

<item myitems>
/ 1 = "A1"
/ 2 = "A2"
/ 3 = "A3"

/ 4 = "B1"
/ 5 = "B2"
/ 6 = "B3"

/ 7 = "C1"
/ 8 = "C2"
/ 9 = "C3"
</item>

<text mytext1>
/ items = myitems
/ select = values.itemnumber1
/ position = (25%, 50%)
</text>

<text mytext2>
/ items = myitems
/ select = values.itemnumber2
/ position = (50%, 50%)
</text>

<text mytext3>
/ items = myitems
/ select = values.itemnumber3
/ position = (75%, 50%)
</text>

<list listnumber>
/ items = (1,2,3)
</list>

<list a>
/ items = (1,2,3)
/ selectionmode = sequence
/ selectionrate = always
</list>

<list b>
/ items = (4,5,6)
/ selectionmode = sequence
/ selectionrate = always
</list>

<list c>
/ items = (7,8,9)
/ selectionmode = sequence
/ selectionrate = always
</list>

<list list_of_lists>
/ items = (list.a.nextvalue, list.b.nextvalue, list.c.nextvalue)
/ selectionmode = values.listnumber
/ selectionrate = always
</list>

<values>
/ itemnumber1 = 0
/ itemnumber2 = 0
/ itemnumber3 = 0
/ listnumber = 0
</values>

<block example>
/ trials = [1-3 = mytrial]
</block>

<trial mytrial>
/ ontrialbegin = [
  values.listnumber = list.listnumber.nextvalue; // pick the list to use in this trial at random

  // pick the three item numbers from the selected list
  values.itemnumber1 = list.list_of_lists.nextvalue;
  values.itemnumber2 = list.list_of_lists.nextvalue;
  values.itemnumber3 = list.list_of_lists.nextvalue;
]
/ stimulusframes = [1=mytext1, mytext2, mytext3]
/ validresponse = (57)
</trial>

Sorry, that's not responsive to my question. I asked you to comment your code, explain your reasoning, and explain how you believe the bits of selection code you implemented ties in to what happens in the trials in your code.

Wasabi8888
Wasabi8888
New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)
Group: Forum Members
Posts: 6, Visits: 78
I used the nextvalue to randomly select the value for pic (1,2,3) and tags (1,2,3).
values.pic1 = list.sat_pic_group.nextvalue;
values.pic2 = list.sat_pic_group.nextvalue;
values.pic3 = list.sat_pic_group.nextvalue;
values.tag1 = list.sat_tag_group.nextvalue;
values.tag2 = list.sat_tag_group.nextvalue;
values.tag3 = list.sat_tag_group.nextvalue

Then I used "if" condition to link the values in the trials
if (text.Tag1_group.currentitem == "TEAM RED"&&text.txt_instr_L_group.currentitem == "TEAM RED"&&values.team == "1") {values.pic1con = "ingroup"; values.tag1name = "your team '<%values.ownteam%>'"};
if (text.Tag2_group.currentitem == "TEAM RED"&&text.txt_instr_M_group.currentitem == "TEAM RED"&&values.team == "1") {values.pic2con = "ingroup"; values.tag2name = "your team '<%values.ownteam%>'"};
if (text.Tag3_group.currentitem == "TEAM RED"&&text.txt_instr_R_group.currentitem == "TEAM RED"&&values.team == "1") {values.pic3con = "ingroup"; values.tag3name = "your team '<%values.ownteam%>'"};
if (text.Tag1_group.currentitem == "TEAM GREEN"&&text.txt_instr_L_group.currentitem == "TEAM GREEN"&&values.team == "1") {values.pic1con = "outgroup"; values.tag1name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag2_group.currentitem == "TEAM GREEN"&&text.txt_instr_M_group.currentitem == "TEAM GREEN"&&values.team == "1") {values.pic2con = "outgroup"; values.tag2name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag3_group.currentitem == "TEAM GREEN"&&text.txt_instr_R_group.currentitem == "TEAM GREEN"&&values.team == "1") {values.pic3con = "outgroup"; values.tag3name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag1_group.currentitem == "TEAM BLUE"&&text.txt_instr_L_group.currentitem == "TEAM BLUE"&&values.team == "1") {values.pic1con = "neutral"; values.tag1name = "the non-rival team '<%values.neutralteam%>'"};
if (text.Tag2_group.currentitem == "TEAM BLUE"&&text.txt_instr_M_group.currentitem == "TEAM BLUE"&&values.team == "1") {values.pic2con = "neutral"; values.tag2name = "the non-rival team '<%values.neutralteam%>'"};
if (text.Tag3_group.currentitem == "TEAM BLUE"&&text.txt_instr_R_group.currentitem == "TEAM BLUE"&&values.team == "1") {values.pic3con = "neutral"; values.tag3name = "the non-rival team '<%values.neutralteam%>'"};
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: 12K, Visits: 97K
Wasabi8888 - 1/22/2024
I used the nextvalue to randomly select the value for pic (1,2,3) and tags (1,2,3).
values.pic1 = list.sat_pic_group.nextvalue;
values.pic2 = list.sat_pic_group.nextvalue;
values.pic3 = list.sat_pic_group.nextvalue;
values.tag1 = list.sat_tag_group.nextvalue;
values.tag2 = list.sat_tag_group.nextvalue;
values.tag3 = list.sat_tag_group.nextvalue

Then I used "if" condition to link the values in the trials
if (text.Tag1_group.currentitem == "TEAM RED"&&text.txt_instr_L_group.currentitem == "TEAM RED"&&values.team == "1") {values.pic1con = "ingroup"; values.tag1name = "your team '<%values.ownteam%>'"};
if (text.Tag2_group.currentitem == "TEAM RED"&&text.txt_instr_M_group.currentitem == "TEAM RED"&&values.team == "1") {values.pic2con = "ingroup"; values.tag2name = "your team '<%values.ownteam%>'"};
if (text.Tag3_group.currentitem == "TEAM RED"&&text.txt_instr_R_group.currentitem == "TEAM RED"&&values.team == "1") {values.pic3con = "ingroup"; values.tag3name = "your team '<%values.ownteam%>'"};
if (text.Tag1_group.currentitem == "TEAM GREEN"&&text.txt_instr_L_group.currentitem == "TEAM GREEN"&&values.team == "1") {values.pic1con = "outgroup"; values.tag1name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag2_group.currentitem == "TEAM GREEN"&&text.txt_instr_M_group.currentitem == "TEAM GREEN"&&values.team == "1") {values.pic2con = "outgroup"; values.tag2name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag3_group.currentitem == "TEAM GREEN"&&text.txt_instr_R_group.currentitem == "TEAM GREEN"&&values.team == "1") {values.pic3con = "outgroup"; values.tag3name = "the rival team '<%values.rivalteam%>'"};
if (text.Tag1_group.currentitem == "TEAM BLUE"&&text.txt_instr_L_group.currentitem == "TEAM BLUE"&&values.team == "1") {values.pic1con = "neutral"; values.tag1name = "the non-rival team '<%values.neutralteam%>'"};
if (text.Tag2_group.currentitem == "TEAM BLUE"&&text.txt_instr_M_group.currentitem == "TEAM BLUE"&&values.team == "1") {values.pic2con = "neutral"; values.tag2name = "the non-rival team '<%values.neutralteam%>'"};
if (text.Tag3_group.currentitem == "TEAM BLUE"&&text.txt_instr_R_group.currentitem == "TEAM BLUE"&&values.team == "1") {values.pic3con = "neutral"; values.tag3name = "the non-rival team '<%values.neutralteam%>'"};

"Upon reviewing the data file, I noticed that in the formal task, the associations between identities (the rival team, the non-rival team, and self team) and teams Team Green, Team Blue, or Team Red) did not match the associations specified in the previous instructions."

Look at the "formal task" -- explain how you tried to make sure that "the associations specified in the previous instructions" match what happens in the "formal task."

Explain, with data, where you believe there is a mismatch.
Wasabi8888
Wasabi8888
New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)
Group: Forum Members
Posts: 6, Visits: 78
For example, in the instructions, it states, "Your team is 'TEAM RED,' the rival team is 'TEAM GREEN,' and the non-rival team is 'TEAM BLUE.' Circle is paired with Team Blue, square is paired with Team Green, and triangle is paired with Team Red.

However, in the demo_mismatch trials, it consistently indicates that this shape is matched with the rival team 'TEAM GREEN.' Additionally, in the block_formal_group, the value of Con_shape is not correctly paired with Con_label. I don't know how to resolve this issue.

<text txt_resp_mismatch>
/ items=("This is a MISMATCH!!!
So you'd press the '<%values.nRes%>' key with the <%values.nResFinger%> of your right hand
Remember, this shape matched with <% values.tagname %>.")
/ position = (50%, 80%)
/ fontstyle = ("Arial", 3%)
</text>
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: 12K, Visits: 97K
Wasabi8888 - 1/22/2024
For example, in the instructions, it states, "Your team is 'TEAM RED,' the rival team is 'TEAM GREEN,' and the non-rival team is 'TEAM BLUE.' Circle is paired with Team Blue, square is paired with Team Green, and triangle is paired with Team Red.

However, in the demo_mismatch trials, it consistently indicates that this shape is matched with the rival team 'TEAM GREEN.' Additionally, in the block_formal_group, the value of Con_shape is not correctly paired with Con_label. I don't know how to resolve this issue.

<text txt_resp_mismatch>
/ items=("This is a MISMATCH!!!
So you'd press the '<%values.nRes%>' key with the <%values.nResFinger%> of your right hand
Remember, this shape matched with <% values.tagname %>.")
/ position = (50%, 80%)
/ fontstyle = ("Arial", 3%)
</text>

My point is this: Your selection here of pic and tag item numbers

/ onblockbegin = [
values.pic1 = list.sat_pic_group.nextvalue;
values.pic2 = list.sat_pic_group.nextvalue;
values.pic3 = list.sat_pic_group.nextvalue;
values.tag1 = list.sat_tag_group.nextvalue;
values.tag2 = list.sat_tag_group.nextvalue;
values.tag3 = list.sat_tag_group.nextvalue;


does not -- at all -- hang together with the rest.

values.team = list.balanceteam.nextvalue;
if (values.team == "1") {values.ownteam = "TEAM RED"; values.rivalteam = "TEAM GREEN"; values.neutralteam = "TEAM BLUE";
values.pic1con = "ingroup"; values.tag1name = "TEAM RED";
values.pic2con = "outgroup"; values.tag2name = "TEAM GREEN";
values.pic3con = "neutral"; values.tag3name = "TEAM BLUE"}
if (values.team == "2") {values.ownteam = "TEAM GREEN"; values.rivalteam = "TEAM BLUE"; values.neutralteam = "TEAM RED";
values.pic1con = "ingroup"; values.tag1name = "TEAM GREEN";
values.pic2con = "outgroup"; values.tag2name = "TEAM BLUE";
values.pic3con = "neutral"; values.tag3name = "TEAM RED"}
if (values.team == "3") {values.ownteam = "TEAM BLUE"; values.rivalteam = "TEAM RED"; values.neutralteam = "TEAM GREEN";
values.pic1con = "ingroup"; values.tag1name = "TEAM BLUE";
values.pic2con = "outgroup"; values.tag2name = "TEAM RED";
values.pic3con = "neutral"; values.tag3name = "TEAM GREEN"}]


You cannot expect anything to "match" because you haven't done anyting at all to make those things match.


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search