Dave
|
|
Group: Administrators
Posts: 13K,
Visits: 105K
|
+x+x+x+x+x+x+x+x+x+x+x+xHello, new to Inquisit. In mhy experiment, participants will randomly be assigned to 2 groups. In one of the groups (compatible condition), trustworthy faces will be paired with trustworthy behaviors and untrustworthy faces will be paired with untrustworthy behavior. In the other group (incompatible condition), trustworthy faces will be paired with untrustworthy behaviors and untrustworthy faces will be paired with trustworthy behavior. These face-behavior pairs will be randomly presented within each group. How can I achieve this? Thank to you in advance. You create two <expt> elements in the script -- one that runs the "compatible" condition, one that runs the "incompatible" condition -- and assign participants to one of the two via the /subjects and /groupassignment attributes: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / blocks = [... blocks for the compatible condition ...] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / blocks = [... blocks for the incompatible condition ...] </expt> If you have two scripts instead -- one compatible, one incompatible -- you can do the same with <batch>, i.e. assign participants to one of the two scripts. <batch> / subjects = (1 of 2) / groupassignment = groupnumber / file = "compatible.iqx" </batch> <batch> / subjects = (2 of 2) / groupassignment = groupnumber / file = "incompatible.iqx" </batch> Under Inquisit Lab, you simply enter a group number: An odd number will run the 1st condition, and even number will run the 2nd condition. Under Inquisit Web, a random group number will be generated (by default), i.e. assignment to one of the conditions will be random. Also see: https://www.millisecond.com/forums/Topic13856.aspx Hi, I'm having some trouble with this function. Even when I enter 2 as the subject id and/or group number, it runs the first experiment. When I highlight the second experiment and click run element, it does the same. Thanks in advance for help / clarification! The depicted code determines which <expt> to run based on the group number, not the subject number, per /groupassignment = groupnumber. Entering an odd group number (1, 3, 5, ...) will execute the first <expt> (1 of 2). Entering an even group number (2, 4, 6, ...) will execute the second <expt> (2 of 2). The subject number has no bearing on the assignment to either of the two <expt>s. I cannot, however, tell you whether the subject number is relevant for some other (not depicted) part of the script, e.g. a <variables> element. I also can't tell whether the script as a whole works, or if syntax mistakes prevent the <expt>s from actually being executed. While this is unlikely, it's not a determination I can make based on an image showing a fraction of the code. Here's an analogous, simple example which you can run to verify for yourself that <expt> assignment works as described above: // is run when an ODD group number is entered <expt> / subjects = (1 of 2) / blocks = [1=this_is_expt_1] / groupassignment = groupnumber </expt> // is run when an EVEN group number is entered <expt> / subjects = (2 of 2) / blocks = [1=this_is_expt_2] / groupassignment = groupnumber </expt> <block this_is_expt_1> / trials = [1=mytrial] </block> <block this_is_expt_2> / trials = [1=mytrial] </block> <trial mytrial> / stimulusframes = [1=mytext] / validresponse = (57) / timeout = 5000 </trial> <text mytext> / items = ("<%script.currentblock%>") </text> Got it & thank you! Thank you. And I know that 'endlock' attribute is not working anymore in Inquisit 5. What can I use instead of an endlock, which has the same function as the endlock? Also, here; <text t_face_beh_pairs> / items = t_face_beh_items / select = noreplace / position = (50, 115) / size = (5 in, 4 in) </text> Is it enough to write / select = noreplace, for it to choose among behavior items, by showing each item only once, or do I need to write something like, / select = noreplace (tracker) Thank you very much in advance! > What can I use instead of an endlock [...] You can run a normal <trial> or <openended> at the end of the task which displays a message of your choosing and requires some kind of response unknown to subjects. > Is it enough to write / select = noreplace noreplace means items are sampled randomly without replacement. If you have, say, 10 items and and run 10 trials which display the <text t_face_beh_pairs> element, each item will be displayed exactly once. Dear Dave, In my code, I wrote my trial as <picture t_face> / items = t_face_items / size = (500, 500) / position = (50, 40) / select = noreplace </picture> However, the items in t_face_items set are still repeated. How can I solve this problem? I cannot answer that question without knowing (1) how many items there are, and (2) how many trials you run that display the picture element. These are the items: <item trustworthyset1> /1="fs100_000_2.png" /2="fs100_001_2.png" /3="fs100_002_2.png" /4="fs100_003_2.png" /5="fs100_004_2.png" /6="fs100_005_2.png" /7="fs100_006_2.png" /8="fs100_007_2.png" /9="fs100_008_2.png" /10="fs100_009_2.png" /11="fs100_010_2.png" /12="fs100_011_2.png" /13="fs100_012_2.png" /14="fs100_013_2.png" /15="fs100_014_2.png" /16="fs100_015_2.png" /17="fs100_016_2.png" /18="fs100_018_2.png" /19="fs100_019_2.png" /20="fs100_020_2.png" /21="fs100_021_2.png" /22="fs100_022_2.png" /23="fs100_023_2.png" /24="fs100_024_2.png" /25="fs100_025_2.png" /26="fs100_026_2.png" /27="fs100_027_2.png" /28="fs100_028_2.png" /29="fs100_029_2.png" /30="fs100_030_2.png" /31="fs100_031_2.png" /32="fs100_032_2.png" /33="fs100_033_2.png" /34="fs100_034_2.png" /35="fs100_081_2.png" /36="fs100_036_2.png" /37="fs100_037_2.png" /38="fs100_038_2.png" /39="fs100_039_2.png" /40="fs100_040_2.png" /41="fs100_041_2.png" /42="fs100_042_2.png" /43="fs100_043_2.png" /44="fs100_044_2.png" /45="fs100_045_2.png" /46="fs100_046_2.png" /47="fs100_047_2.png" /48="fs100_048_2.png" /49="fs100_049_2.png" </item> <item trustworthyset2> /1="fs100_050_2.png" /2="fs100_051_2.png" /3="fs100_052_2.png" /4="fs100_053_2.png" /5="fs100_054_2.png" /6="fs100_055_2.png" /7="fs100_056_2.png" /8="fs100_057_2.png" /9="fs100_058_2.png" /10="fs100_059_2.png" /11="fs100_060_2.png" /12="fs100_061_2.png" /13="fs100_062_2.png" /14="fs100_063_2.png" /15="fs100_064_2.png" /16="fs100_065_2.png" /17="fs100_066_2.png" /18="fs100_067_2.png" /19="fs100_068_2.png" /20="fs100_069_2.png" /21="fs100_070_2.png" /22="fs100_071_2.png" /23="fs100_072_2.png" /24="fs100_073_2.png" /25="fs100_074_2.png" /26="fs100_075_2.png" /27="fs100_076_2.png" /28="fs100_077_2.png" /29="fs100_078_2.png" /30="fs100_079_2.png" /31="fs100_080_2.png" /32="fs100_035_2.png" /33="fs100_082_2.png" /34="fs100_083_2.png" /35="fs100_084_2.png" /36="fs100_086_2.png" /37="fs100_087_2.png" /38="fs100_088_2.png" /39="fs100_089_2.png" /40="fs100_090_2.png" /41="fs100_091_2.png" /42="fs100_092_2.png" /43="fs100_093_2.png" /44="fs100_094_2.png" /45="fs100_095_2.png" /46="fs100_096_2.png" /47="fs100_097_2.png" /48="fs100_098_2.png" /49="fs100_099_2.png" </item> And this is the trial: <trial t_face_trial> / pretrialpause = 0 / validresponse = (" ") / stimulustimes = [0 = t_face, t_face_beh_pairs, continue] </trial> And this is the block: <block face_beh_pairs> / preinstructions = (intro1, intro2) / trials = [1-100=noreplace(t_face_trial, u_face_trial)] </block> You have 49 items but you run the trial 50 times. This isn't going to work. You either need 50 items, or you need to adjust your <block> such that it runs only 49 t_face_trial trials. E.g. <block face_beh_pairs> / trials = [1-100=list.triallist] </block> <list triallist> / items = (trial.t_face_trial, trial.u_face_trial) / poolsize = 100 / itemprobabilities = (.49; .51) </list> which will result in 49 instances of t_face_trial, and 51 instances of u_face_trial. Thank you very much! That has solved the problem. Lastly, I want to rescord the name of my text stimulus in my data. My text stimulus are; <text t_face_beh_pairs> / items = t_face_beh_items / select = noreplace / position = (50, 115) / size = (5 in, 4 in) </text> <text u_face_beh_pairs> / items = u_face_beh_items / select = noreplace / position = (50, 115) / size = (5 in, 4 in) </text> In my data, I want the name of my text stimulus to be displayed. For instance, I want to see whether my text stimulus presented on the screen is from t_face_beh_items or from u_face_beh_items. How can I do this? The trialcode column in your data file holds the name of the trial. that also tells you which text element was displayed.
|
|
|
denizbilkent
|
|
Group: Forum Members
Posts: 17,
Visits: 62
|
+x+x+x+x+x+x+x+x+x+x+xHello, new to Inquisit. In mhy experiment, participants will randomly be assigned to 2 groups. In one of the groups (compatible condition), trustworthy faces will be paired with trustworthy behaviors and untrustworthy faces will be paired with untrustworthy behavior. In the other group (incompatible condition), trustworthy faces will be paired with untrustworthy behaviors and untrustworthy faces will be paired with trustworthy behavior. These face-behavior pairs will be randomly presented within each group. How can I achieve this? Thank to you in advance. You create two <expt> elements in the script -- one that runs the "compatible" condition, one that runs the "incompatible" condition -- and assign participants to one of the two via the /subjects and /groupassignment attributes: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / blocks = [... blocks for the compatible condition ...] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / blocks = [... blocks for the incompatible condition ...] </expt> If you have two scripts instead -- one compatible, one incompatible -- you can do the same with <batch>, i.e. assign participants to one of the two scripts. <batch> / subjects = (1 of 2) / groupassignment = groupnumber / file = "compatible.iqx" </batch> <batch> / subjects = (2 of 2) / groupassignment = groupnumber / file = "incompatible.iqx" </batch> Under Inquisit Lab, you simply enter a group number: An odd number will run the 1st condition, and even number will run the 2nd condition. Under Inquisit Web, a random group number will be generated (by default), i.e. assignment to one of the conditions will be random. Also see: https://www.millisecond.com/forums/Topic13856.aspx Hi, I'm having some trouble with this function. Even when I enter 2 as the subject id and/or group number, it runs the first experiment. When I highlight the second experiment and click run element, it does the same. Thanks in advance for help / clarification! The depicted code determines which <expt> to run based on the group number, not the subject number, per /groupassignment = groupnumber. Entering an odd group number (1, 3, 5, ...) will execute the first <expt> (1 of 2). Entering an even group number (2, 4, 6, ...) will execute the second <expt> (2 of 2). The subject number has no bearing on the assignment to either of the two <expt>s. I cannot, however, tell you whether the subject number is relevant for some other (not depicted) part of the script, e.g. a <variables> element. I also can't tell whether the script as a whole works, or if syntax mistakes prevent the <expt>s from actually being executed. While this is unlikely, it's not a determination I can make based on an image showing a fraction of the code. Here's an analogous, simple example which you can run to verify for yourself that <expt> assignment works as described above: // is run when an ODD group number is entered <expt> / subjects = (1 of 2) / blocks = [1=this_is_expt_1] / groupassignment = groupnumber </expt> // is run when an EVEN group number is entered <expt> / subjects = (2 of 2) / blocks = [1=this_is_expt_2] / groupassignment = groupnumber </expt> <block this_is_expt_1> / trials = [1=mytrial] </block> <block this_is_expt_2> / trials = [1=mytrial] </block> <trial mytrial> / stimulusframes = [1=mytext] / validresponse = (57) / timeout = 5000 </trial> <text mytext> / items = ("<%script.currentblock%>") </text> Got it & thank you! Thank you. And I know that 'endlock' attribute is not working anymore in Inquisit 5. What can I use instead of an endlock, which has the same function as the endlock? Also, here; <text t_face_beh_pairs> / items = t_face_beh_items / select = noreplace / position = (50, 115) / size = (5 in, 4 in) </text> Is it enough to write / select = noreplace, for it to choose among behavior items, by showing each item only once, or do I need to write something like, / select = noreplace (tracker) Thank you very much in advance! > What can I use instead of an endlock [...] You can run a normal <trial> or <openended> at the end of the task which displays a message of your choosing and requires some kind of response unknown to subjects. > Is it enough to write / select = noreplace noreplace means items are sampled randomly without replacement. If you have, say, 10 items and and run 10 trials which display the <text t_face_beh_pairs> element, each item will be displayed exactly once. Dear Dave, In my code, I wrote my trial as <picture t_face> / items = t_face_items / size = (500, 500) / position = (50, 40) / select = noreplace </picture> However, the items in t_face_items set are still repeated. How can I solve this problem? I cannot answer that question without knowing (1) how many items there are, and (2) how many trials you run that display the picture element. These are the items: <item trustworthyset1> /1="fs100_000_2.png" /2="fs100_001_2.png" /3="fs100_002_2.png" /4="fs100_003_2.png" /5="fs100_004_2.png" /6="fs100_005_2.png" /7="fs100_006_2.png" /8="fs100_007_2.png" /9="fs100_008_2.png" /10="fs100_009_2.png" /11="fs100_010_2.png" /12="fs100_011_2.png" /13="fs100_012_2.png" /14="fs100_013_2.png" /15="fs100_014_2.png" /16="fs100_015_2.png" /17="fs100_016_2.png" /18="fs100_018_2.png" /19="fs100_019_2.png" /20="fs100_020_2.png" /21="fs100_021_2.png" /22="fs100_022_2.png" /23="fs100_023_2.png" /24="fs100_024_2.png" /25="fs100_025_2.png" /26="fs100_026_2.png" /27="fs100_027_2.png" /28="fs100_028_2.png" /29="fs100_029_2.png" /30="fs100_030_2.png" /31="fs100_031_2.png" /32="fs100_032_2.png" /33="fs100_033_2.png" /34="fs100_034_2.png" /35="fs100_081_2.png" /36="fs100_036_2.png" /37="fs100_037_2.png" /38="fs100_038_2.png" /39="fs100_039_2.png" /40="fs100_040_2.png" /41="fs100_041_2.png" /42="fs100_042_2.png" /43="fs100_043_2.png" /44="fs100_044_2.png" /45="fs100_045_2.png" /46="fs100_046_2.png" /47="fs100_047_2.png" /48="fs100_048_2.png" /49="fs100_049_2.png" </item> <item trustworthyset2> /1="fs100_050_2.png" /2="fs100_051_2.png" /3="fs100_052_2.png" /4="fs100_053_2.png" /5="fs100_054_2.png" /6="fs100_055_2.png" /7="fs100_056_2.png" /8="fs100_057_2.png" /9="fs100_058_2.png" /10="fs100_059_2.png" /11="fs100_060_2.png" /12="fs100_061_2.png" /13="fs100_062_2.png" /14="fs100_063_2.png" /15="fs100_064_2.png" /16="fs100_065_2.png" /17="fs100_066_2.png" /18="fs100_067_2.png" /19="fs100_068_2.png" /20="fs100_069_2.png" /21="fs100_070_2.png" /22="fs100_071_2.png" /23="fs100_072_2.png" /24="fs100_073_2.png" /25="fs100_074_2.png" /26="fs100_075_2.png" /27="fs100_076_2.png" /28="fs100_077_2.png" /29="fs100_078_2.png" /30="fs100_079_2.png" /31="fs100_080_2.png" /32="fs100_035_2.png" /33="fs100_082_2.png" /34="fs100_083_2.png" /35="fs100_084_2.png" /36="fs100_086_2.png" /37="fs100_087_2.png" /38="fs100_088_2.png" /39="fs100_089_2.png" /40="fs100_090_2.png" /41="fs100_091_2.png" /42="fs100_092_2.png" /43="fs100_093_2.png" /44="fs100_094_2.png" /45="fs100_095_2.png" /46="fs100_096_2.png" /47="fs100_097_2.png" /48="fs100_098_2.png" /49="fs100_099_2.png" </item> And this is the trial: <trial t_face_trial> / pretrialpause = 0 / validresponse = (" ") / stimulustimes = [0 = t_face, t_face_beh_pairs, continue] </trial> And this is the block: <block face_beh_pairs> / preinstructions = (intro1, intro2) / trials = [1-100=noreplace(t_face_trial, u_face_trial)] </block> You have 49 items but you run the trial 50 times. This isn't going to work. You either need 50 items, or you need to adjust your <block> such that it runs only 49 t_face_trial trials. E.g. <block face_beh_pairs> / trials = [1-100=list.triallist] </block> <list triallist> / items = (trial.t_face_trial, trial.u_face_trial) / poolsize = 100 / itemprobabilities = (.49; .51) </list> which will result in 49 instances of t_face_trial, and 51 instances of u_face_trial. Thank you very much! That has solved the problem. Lastly, I want to rescord the name of my text stimulus in my data. My text stimulus are; <text t_face_beh_pairs> / items = t_face_beh_items / select = noreplace / position = (50, 115) / size = (5 in, 4 in) </text> <text u_face_beh_pairs> / items = u_face_beh_items / select = noreplace / position = (50, 115) / size = (5 in, 4 in) </text> In my data, I want the name of my text stimulus to be displayed. For instance, I want to see whether my text stimulus presented on the screen is from t_face_beh_items or from u_face_beh_items. How can I do this?
|
|
|
Dave
|
|
Group: Administrators
Posts: 13K,
Visits: 105K
|
+x+x+x+x+x+x+x+x+x+xHello, new to Inquisit. In mhy experiment, participants will randomly be assigned to 2 groups. In one of the groups (compatible condition), trustworthy faces will be paired with trustworthy behaviors and untrustworthy faces will be paired with untrustworthy behavior. In the other group (incompatible condition), trustworthy faces will be paired with untrustworthy behaviors and untrustworthy faces will be paired with trustworthy behavior. These face-behavior pairs will be randomly presented within each group. How can I achieve this? Thank to you in advance. You create two <expt> elements in the script -- one that runs the "compatible" condition, one that runs the "incompatible" condition -- and assign participants to one of the two via the /subjects and /groupassignment attributes: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / blocks = [... blocks for the compatible condition ...] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / blocks = [... blocks for the incompatible condition ...] </expt> If you have two scripts instead -- one compatible, one incompatible -- you can do the same with <batch>, i.e. assign participants to one of the two scripts. <batch> / subjects = (1 of 2) / groupassignment = groupnumber / file = "compatible.iqx" </batch> <batch> / subjects = (2 of 2) / groupassignment = groupnumber / file = "incompatible.iqx" </batch> Under Inquisit Lab, you simply enter a group number: An odd number will run the 1st condition, and even number will run the 2nd condition. Under Inquisit Web, a random group number will be generated (by default), i.e. assignment to one of the conditions will be random. Also see: https://www.millisecond.com/forums/Topic13856.aspx Hi, I'm having some trouble with this function. Even when I enter 2 as the subject id and/or group number, it runs the first experiment. When I highlight the second experiment and click run element, it does the same. Thanks in advance for help / clarification! The depicted code determines which <expt> to run based on the group number, not the subject number, per /groupassignment = groupnumber. Entering an odd group number (1, 3, 5, ...) will execute the first <expt> (1 of 2). Entering an even group number (2, 4, 6, ...) will execute the second <expt> (2 of 2). The subject number has no bearing on the assignment to either of the two <expt>s. I cannot, however, tell you whether the subject number is relevant for some other (not depicted) part of the script, e.g. a <variables> element. I also can't tell whether the script as a whole works, or if syntax mistakes prevent the <expt>s from actually being executed. While this is unlikely, it's not a determination I can make based on an image showing a fraction of the code. Here's an analogous, simple example which you can run to verify for yourself that <expt> assignment works as described above: // is run when an ODD group number is entered <expt> / subjects = (1 of 2) / blocks = [1=this_is_expt_1] / groupassignment = groupnumber </expt> // is run when an EVEN group number is entered <expt> / subjects = (2 of 2) / blocks = [1=this_is_expt_2] / groupassignment = groupnumber </expt> <block this_is_expt_1> / trials = [1=mytrial] </block> <block this_is_expt_2> / trials = [1=mytrial] </block> <trial mytrial> / stimulusframes = [1=mytext] / validresponse = (57) / timeout = 5000 </trial> <text mytext> / items = ("<%script.currentblock%>") </text> Got it & thank you! Thank you. And I know that 'endlock' attribute is not working anymore in Inquisit 5. What can I use instead of an endlock, which has the same function as the endlock? Also, here; <text t_face_beh_pairs> / items = t_face_beh_items / select = noreplace / position = (50, 115) / size = (5 in, 4 in) </text> Is it enough to write / select = noreplace, for it to choose among behavior items, by showing each item only once, or do I need to write something like, / select = noreplace (tracker) Thank you very much in advance! > What can I use instead of an endlock [...] You can run a normal <trial> or <openended> at the end of the task which displays a message of your choosing and requires some kind of response unknown to subjects. > Is it enough to write / select = noreplace noreplace means items are sampled randomly without replacement. If you have, say, 10 items and and run 10 trials which display the <text t_face_beh_pairs> element, each item will be displayed exactly once. Dear Dave, In my code, I wrote my trial as <picture t_face> / items = t_face_items / size = (500, 500) / position = (50, 40) / select = noreplace </picture> However, the items in t_face_items set are still repeated. How can I solve this problem? I cannot answer that question without knowing (1) how many items there are, and (2) how many trials you run that display the picture element. These are the items: <item trustworthyset1> /1="fs100_000_2.png" /2="fs100_001_2.png" /3="fs100_002_2.png" /4="fs100_003_2.png" /5="fs100_004_2.png" /6="fs100_005_2.png" /7="fs100_006_2.png" /8="fs100_007_2.png" /9="fs100_008_2.png" /10="fs100_009_2.png" /11="fs100_010_2.png" /12="fs100_011_2.png" /13="fs100_012_2.png" /14="fs100_013_2.png" /15="fs100_014_2.png" /16="fs100_015_2.png" /17="fs100_016_2.png" /18="fs100_018_2.png" /19="fs100_019_2.png" /20="fs100_020_2.png" /21="fs100_021_2.png" /22="fs100_022_2.png" /23="fs100_023_2.png" /24="fs100_024_2.png" /25="fs100_025_2.png" /26="fs100_026_2.png" /27="fs100_027_2.png" /28="fs100_028_2.png" /29="fs100_029_2.png" /30="fs100_030_2.png" /31="fs100_031_2.png" /32="fs100_032_2.png" /33="fs100_033_2.png" /34="fs100_034_2.png" /35="fs100_081_2.png" /36="fs100_036_2.png" /37="fs100_037_2.png" /38="fs100_038_2.png" /39="fs100_039_2.png" /40="fs100_040_2.png" /41="fs100_041_2.png" /42="fs100_042_2.png" /43="fs100_043_2.png" /44="fs100_044_2.png" /45="fs100_045_2.png" /46="fs100_046_2.png" /47="fs100_047_2.png" /48="fs100_048_2.png" /49="fs100_049_2.png" </item> <item trustworthyset2> /1="fs100_050_2.png" /2="fs100_051_2.png" /3="fs100_052_2.png" /4="fs100_053_2.png" /5="fs100_054_2.png" /6="fs100_055_2.png" /7="fs100_056_2.png" /8="fs100_057_2.png" /9="fs100_058_2.png" /10="fs100_059_2.png" /11="fs100_060_2.png" /12="fs100_061_2.png" /13="fs100_062_2.png" /14="fs100_063_2.png" /15="fs100_064_2.png" /16="fs100_065_2.png" /17="fs100_066_2.png" /18="fs100_067_2.png" /19="fs100_068_2.png" /20="fs100_069_2.png" /21="fs100_070_2.png" /22="fs100_071_2.png" /23="fs100_072_2.png" /24="fs100_073_2.png" /25="fs100_074_2.png" /26="fs100_075_2.png" /27="fs100_076_2.png" /28="fs100_077_2.png" /29="fs100_078_2.png" /30="fs100_079_2.png" /31="fs100_080_2.png" /32="fs100_035_2.png" /33="fs100_082_2.png" /34="fs100_083_2.png" /35="fs100_084_2.png" /36="fs100_086_2.png" /37="fs100_087_2.png" /38="fs100_088_2.png" /39="fs100_089_2.png" /40="fs100_090_2.png" /41="fs100_091_2.png" /42="fs100_092_2.png" /43="fs100_093_2.png" /44="fs100_094_2.png" /45="fs100_095_2.png" /46="fs100_096_2.png" /47="fs100_097_2.png" /48="fs100_098_2.png" /49="fs100_099_2.png" </item> And this is the trial: <trial t_face_trial> / pretrialpause = 0 / validresponse = (" ") / stimulustimes = [0 = t_face, t_face_beh_pairs, continue] </trial> And this is the block: <block face_beh_pairs> / preinstructions = (intro1, intro2) / trials = [1-100=noreplace(t_face_trial, u_face_trial)] </block> You have 49 items but you run the trial 50 times. This isn't going to work. You either need 50 items, or you need to adjust your <block> such that it runs only 49 t_face_trial trials. E.g. <block face_beh_pairs> / trials = [1-100=list.triallist] </block> <list triallist> / items = (trial.t_face_trial, trial.u_face_trial) / poolsize = 100 / itemprobabilities = (.49; .51) </list> which will result in 49 instances of t_face_trial, and 51 instances of u_face_trial.
|
|
|
denizbilkent
|
|
Group: Forum Members
Posts: 17,
Visits: 62
|
+x+x+x+x+x+x+x+x+xHello, new to Inquisit. In mhy experiment, participants will randomly be assigned to 2 groups. In one of the groups (compatible condition), trustworthy faces will be paired with trustworthy behaviors and untrustworthy faces will be paired with untrustworthy behavior. In the other group (incompatible condition), trustworthy faces will be paired with untrustworthy behaviors and untrustworthy faces will be paired with trustworthy behavior. These face-behavior pairs will be randomly presented within each group. How can I achieve this? Thank to you in advance. You create two <expt> elements in the script -- one that runs the "compatible" condition, one that runs the "incompatible" condition -- and assign participants to one of the two via the /subjects and /groupassignment attributes: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / blocks = [... blocks for the compatible condition ...] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / blocks = [... blocks for the incompatible condition ...] </expt> If you have two scripts instead -- one compatible, one incompatible -- you can do the same with <batch>, i.e. assign participants to one of the two scripts. <batch> / subjects = (1 of 2) / groupassignment = groupnumber / file = "compatible.iqx" </batch> <batch> / subjects = (2 of 2) / groupassignment = groupnumber / file = "incompatible.iqx" </batch> Under Inquisit Lab, you simply enter a group number: An odd number will run the 1st condition, and even number will run the 2nd condition. Under Inquisit Web, a random group number will be generated (by default), i.e. assignment to one of the conditions will be random. Also see: https://www.millisecond.com/forums/Topic13856.aspx Hi, I'm having some trouble with this function. Even when I enter 2 as the subject id and/or group number, it runs the first experiment. When I highlight the second experiment and click run element, it does the same. Thanks in advance for help / clarification! The depicted code determines which <expt> to run based on the group number, not the subject number, per /groupassignment = groupnumber. Entering an odd group number (1, 3, 5, ...) will execute the first <expt> (1 of 2). Entering an even group number (2, 4, 6, ...) will execute the second <expt> (2 of 2). The subject number has no bearing on the assignment to either of the two <expt>s. I cannot, however, tell you whether the subject number is relevant for some other (not depicted) part of the script, e.g. a <variables> element. I also can't tell whether the script as a whole works, or if syntax mistakes prevent the <expt>s from actually being executed. While this is unlikely, it's not a determination I can make based on an image showing a fraction of the code. Here's an analogous, simple example which you can run to verify for yourself that <expt> assignment works as described above: // is run when an ODD group number is entered <expt> / subjects = (1 of 2) / blocks = [1=this_is_expt_1] / groupassignment = groupnumber </expt> // is run when an EVEN group number is entered <expt> / subjects = (2 of 2) / blocks = [1=this_is_expt_2] / groupassignment = groupnumber </expt> <block this_is_expt_1> / trials = [1=mytrial] </block> <block this_is_expt_2> / trials = [1=mytrial] </block> <trial mytrial> / stimulusframes = [1=mytext] / validresponse = (57) / timeout = 5000 </trial> <text mytext> / items = ("<%script.currentblock%>") </text> Got it & thank you! Thank you. And I know that 'endlock' attribute is not working anymore in Inquisit 5. What can I use instead of an endlock, which has the same function as the endlock? Also, here; <text t_face_beh_pairs> / items = t_face_beh_items / select = noreplace / position = (50, 115) / size = (5 in, 4 in) </text> Is it enough to write / select = noreplace, for it to choose among behavior items, by showing each item only once, or do I need to write something like, / select = noreplace (tracker) Thank you very much in advance! > What can I use instead of an endlock [...] You can run a normal <trial> or <openended> at the end of the task which displays a message of your choosing and requires some kind of response unknown to subjects. > Is it enough to write / select = noreplace noreplace means items are sampled randomly without replacement. If you have, say, 10 items and and run 10 trials which display the <text t_face_beh_pairs> element, each item will be displayed exactly once. Dear Dave, In my code, I wrote my trial as <picture t_face> / items = t_face_items / size = (500, 500) / position = (50, 40) / select = noreplace </picture> However, the items in t_face_items set are still repeated. How can I solve this problem? I cannot answer that question without knowing (1) how many items there are, and (2) how many trials you run that display the picture element. These are the items: <item trustworthyset1> /1="fs100_000_2.png" /2="fs100_001_2.png" /3="fs100_002_2.png" /4="fs100_003_2.png" /5="fs100_004_2.png" /6="fs100_005_2.png" /7="fs100_006_2.png" /8="fs100_007_2.png" /9="fs100_008_2.png" /10="fs100_009_2.png" /11="fs100_010_2.png" /12="fs100_011_2.png" /13="fs100_012_2.png" /14="fs100_013_2.png" /15="fs100_014_2.png" /16="fs100_015_2.png" /17="fs100_016_2.png" /18="fs100_018_2.png" /19="fs100_019_2.png" /20="fs100_020_2.png" /21="fs100_021_2.png" /22="fs100_022_2.png" /23="fs100_023_2.png" /24="fs100_024_2.png" /25="fs100_025_2.png" /26="fs100_026_2.png" /27="fs100_027_2.png" /28="fs100_028_2.png" /29="fs100_029_2.png" /30="fs100_030_2.png" /31="fs100_031_2.png" /32="fs100_032_2.png" /33="fs100_033_2.png" /34="fs100_034_2.png" /35="fs100_081_2.png" /36="fs100_036_2.png" /37="fs100_037_2.png" /38="fs100_038_2.png" /39="fs100_039_2.png" /40="fs100_040_2.png" /41="fs100_041_2.png" /42="fs100_042_2.png" /43="fs100_043_2.png" /44="fs100_044_2.png" /45="fs100_045_2.png" /46="fs100_046_2.png" /47="fs100_047_2.png" /48="fs100_048_2.png" /49="fs100_049_2.png" </item> <item trustworthyset2> /1="fs100_050_2.png" /2="fs100_051_2.png" /3="fs100_052_2.png" /4="fs100_053_2.png" /5="fs100_054_2.png" /6="fs100_055_2.png" /7="fs100_056_2.png" /8="fs100_057_2.png" /9="fs100_058_2.png" /10="fs100_059_2.png" /11="fs100_060_2.png" /12="fs100_061_2.png" /13="fs100_062_2.png" /14="fs100_063_2.png" /15="fs100_064_2.png" /16="fs100_065_2.png" /17="fs100_066_2.png" /18="fs100_067_2.png" /19="fs100_068_2.png" /20="fs100_069_2.png" /21="fs100_070_2.png" /22="fs100_071_2.png" /23="fs100_072_2.png" /24="fs100_073_2.png" /25="fs100_074_2.png" /26="fs100_075_2.png" /27="fs100_076_2.png" /28="fs100_077_2.png" /29="fs100_078_2.png" /30="fs100_079_2.png" /31="fs100_080_2.png" /32="fs100_035_2.png" /33="fs100_082_2.png" /34="fs100_083_2.png" /35="fs100_084_2.png" /36="fs100_086_2.png" /37="fs100_087_2.png" /38="fs100_088_2.png" /39="fs100_089_2.png" /40="fs100_090_2.png" /41="fs100_091_2.png" /42="fs100_092_2.png" /43="fs100_093_2.png" /44="fs100_094_2.png" /45="fs100_095_2.png" /46="fs100_096_2.png" /47="fs100_097_2.png" /48="fs100_098_2.png" /49="fs100_099_2.png" </item> And this is the trial: <trial t_face_trial> / pretrialpause = 0 / validresponse = (" ") / stimulustimes = [0 = t_face, t_face_beh_pairs, continue] </trial> And this is the block: <block face_beh_pairs> / preinstructions = (intro1, intro2) / trials = [1-100=noreplace(t_face_trial, u_face_trial)] </block>
|
|
|
Dave
|
|
Group: Administrators
Posts: 13K,
Visits: 105K
|
+x+x+x+x+x+x+x+xHello, new to Inquisit. In mhy experiment, participants will randomly be assigned to 2 groups. In one of the groups (compatible condition), trustworthy faces will be paired with trustworthy behaviors and untrustworthy faces will be paired with untrustworthy behavior. In the other group (incompatible condition), trustworthy faces will be paired with untrustworthy behaviors and untrustworthy faces will be paired with trustworthy behavior. These face-behavior pairs will be randomly presented within each group. How can I achieve this? Thank to you in advance. You create two <expt> elements in the script -- one that runs the "compatible" condition, one that runs the "incompatible" condition -- and assign participants to one of the two via the /subjects and /groupassignment attributes: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / blocks = [... blocks for the compatible condition ...] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / blocks = [... blocks for the incompatible condition ...] </expt> If you have two scripts instead -- one compatible, one incompatible -- you can do the same with <batch>, i.e. assign participants to one of the two scripts. <batch> / subjects = (1 of 2) / groupassignment = groupnumber / file = "compatible.iqx" </batch> <batch> / subjects = (2 of 2) / groupassignment = groupnumber / file = "incompatible.iqx" </batch> Under Inquisit Lab, you simply enter a group number: An odd number will run the 1st condition, and even number will run the 2nd condition. Under Inquisit Web, a random group number will be generated (by default), i.e. assignment to one of the conditions will be random. Also see: https://www.millisecond.com/forums/Topic13856.aspx Hi, I'm having some trouble with this function. Even when I enter 2 as the subject id and/or group number, it runs the first experiment. When I highlight the second experiment and click run element, it does the same. Thanks in advance for help / clarification! The depicted code determines which <expt> to run based on the group number, not the subject number, per /groupassignment = groupnumber. Entering an odd group number (1, 3, 5, ...) will execute the first <expt> (1 of 2). Entering an even group number (2, 4, 6, ...) will execute the second <expt> (2 of 2). The subject number has no bearing on the assignment to either of the two <expt>s. I cannot, however, tell you whether the subject number is relevant for some other (not depicted) part of the script, e.g. a <variables> element. I also can't tell whether the script as a whole works, or if syntax mistakes prevent the <expt>s from actually being executed. While this is unlikely, it's not a determination I can make based on an image showing a fraction of the code. Here's an analogous, simple example which you can run to verify for yourself that <expt> assignment works as described above: // is run when an ODD group number is entered <expt> / subjects = (1 of 2) / blocks = [1=this_is_expt_1] / groupassignment = groupnumber </expt> // is run when an EVEN group number is entered <expt> / subjects = (2 of 2) / blocks = [1=this_is_expt_2] / groupassignment = groupnumber </expt> <block this_is_expt_1> / trials = [1=mytrial] </block> <block this_is_expt_2> / trials = [1=mytrial] </block> <trial mytrial> / stimulusframes = [1=mytext] / validresponse = (57) / timeout = 5000 </trial> <text mytext> / items = ("<%script.currentblock%>") </text> Got it & thank you! Thank you. And I know that 'endlock' attribute is not working anymore in Inquisit 5. What can I use instead of an endlock, which has the same function as the endlock? Also, here; <text t_face_beh_pairs> / items = t_face_beh_items / select = noreplace / position = (50, 115) / size = (5 in, 4 in) </text> Is it enough to write / select = noreplace, for it to choose among behavior items, by showing each item only once, or do I need to write something like, / select = noreplace (tracker) Thank you very much in advance! > What can I use instead of an endlock [...] You can run a normal <trial> or <openended> at the end of the task which displays a message of your choosing and requires some kind of response unknown to subjects. > Is it enough to write / select = noreplace noreplace means items are sampled randomly without replacement. If you have, say, 10 items and and run 10 trials which display the <text t_face_beh_pairs> element, each item will be displayed exactly once. Dear Dave, In my code, I wrote my trial as <picture t_face> / items = t_face_items / size = (500, 500) / position = (50, 40) / select = noreplace </picture> However, the items in t_face_items set are still repeated. How can I solve this problem? I cannot answer that question without knowing (1) how many items there are, and (2) how many trials you run that display the picture element.
|
|
|
denizbilkent
|
|
Group: Forum Members
Posts: 17,
Visits: 62
|
+x+x+x+x+x+x+xHello, new to Inquisit. In mhy experiment, participants will randomly be assigned to 2 groups. In one of the groups (compatible condition), trustworthy faces will be paired with trustworthy behaviors and untrustworthy faces will be paired with untrustworthy behavior. In the other group (incompatible condition), trustworthy faces will be paired with untrustworthy behaviors and untrustworthy faces will be paired with trustworthy behavior. These face-behavior pairs will be randomly presented within each group. How can I achieve this? Thank to you in advance. You create two <expt> elements in the script -- one that runs the "compatible" condition, one that runs the "incompatible" condition -- and assign participants to one of the two via the /subjects and /groupassignment attributes: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / blocks = [... blocks for the compatible condition ...] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / blocks = [... blocks for the incompatible condition ...] </expt> If you have two scripts instead -- one compatible, one incompatible -- you can do the same with <batch>, i.e. assign participants to one of the two scripts. <batch> / subjects = (1 of 2) / groupassignment = groupnumber / file = "compatible.iqx" </batch> <batch> / subjects = (2 of 2) / groupassignment = groupnumber / file = "incompatible.iqx" </batch> Under Inquisit Lab, you simply enter a group number: An odd number will run the 1st condition, and even number will run the 2nd condition. Under Inquisit Web, a random group number will be generated (by default), i.e. assignment to one of the conditions will be random. Also see: https://www.millisecond.com/forums/Topic13856.aspx Hi, I'm having some trouble with this function. Even when I enter 2 as the subject id and/or group number, it runs the first experiment. When I highlight the second experiment and click run element, it does the same. Thanks in advance for help / clarification! The depicted code determines which <expt> to run based on the group number, not the subject number, per /groupassignment = groupnumber. Entering an odd group number (1, 3, 5, ...) will execute the first <expt> (1 of 2). Entering an even group number (2, 4, 6, ...) will execute the second <expt> (2 of 2). The subject number has no bearing on the assignment to either of the two <expt>s. I cannot, however, tell you whether the subject number is relevant for some other (not depicted) part of the script, e.g. a <variables> element. I also can't tell whether the script as a whole works, or if syntax mistakes prevent the <expt>s from actually being executed. While this is unlikely, it's not a determination I can make based on an image showing a fraction of the code. Here's an analogous, simple example which you can run to verify for yourself that <expt> assignment works as described above: // is run when an ODD group number is entered <expt> / subjects = (1 of 2) / blocks = [1=this_is_expt_1] / groupassignment = groupnumber </expt> // is run when an EVEN group number is entered <expt> / subjects = (2 of 2) / blocks = [1=this_is_expt_2] / groupassignment = groupnumber </expt> <block this_is_expt_1> / trials = [1=mytrial] </block> <block this_is_expt_2> / trials = [1=mytrial] </block> <trial mytrial> / stimulusframes = [1=mytext] / validresponse = (57) / timeout = 5000 </trial> <text mytext> / items = ("<%script.currentblock%>") </text> Got it & thank you! Thank you. And I know that 'endlock' attribute is not working anymore in Inquisit 5. What can I use instead of an endlock, which has the same function as the endlock? Also, here; <text t_face_beh_pairs> / items = t_face_beh_items / select = noreplace / position = (50, 115) / size = (5 in, 4 in) </text> Is it enough to write / select = noreplace, for it to choose among behavior items, by showing each item only once, or do I need to write something like, / select = noreplace (tracker) Thank you very much in advance! > What can I use instead of an endlock [...] You can run a normal <trial> or <openended> at the end of the task which displays a message of your choosing and requires some kind of response unknown to subjects. > Is it enough to write / select = noreplace noreplace means items are sampled randomly without replacement. If you have, say, 10 items and and run 10 trials which display the <text t_face_beh_pairs> element, each item will be displayed exactly once. Dear Dave, In my code, I wrote my trial as <picture t_face> / items = t_face_items / size = (500, 500) / position = (50, 40) / select = noreplace </picture> However, the items in t_face_items set are still repeated. How can I solve this problem?
|
|
|
Dave
|
|
Group: Administrators
Posts: 13K,
Visits: 105K
|
+x+x+x+x+x+xHello, new to Inquisit. In mhy experiment, participants will randomly be assigned to 2 groups. In one of the groups (compatible condition), trustworthy faces will be paired with trustworthy behaviors and untrustworthy faces will be paired with untrustworthy behavior. In the other group (incompatible condition), trustworthy faces will be paired with untrustworthy behaviors and untrustworthy faces will be paired with trustworthy behavior. These face-behavior pairs will be randomly presented within each group. How can I achieve this? Thank to you in advance. You create two <expt> elements in the script -- one that runs the "compatible" condition, one that runs the "incompatible" condition -- and assign participants to one of the two via the /subjects and /groupassignment attributes: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / blocks = [... blocks for the compatible condition ...] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / blocks = [... blocks for the incompatible condition ...] </expt> If you have two scripts instead -- one compatible, one incompatible -- you can do the same with <batch>, i.e. assign participants to one of the two scripts. <batch> / subjects = (1 of 2) / groupassignment = groupnumber / file = "compatible.iqx" </batch> <batch> / subjects = (2 of 2) / groupassignment = groupnumber / file = "incompatible.iqx" </batch> Under Inquisit Lab, you simply enter a group number: An odd number will run the 1st condition, and even number will run the 2nd condition. Under Inquisit Web, a random group number will be generated (by default), i.e. assignment to one of the conditions will be random. Also see: https://www.millisecond.com/forums/Topic13856.aspx Hi, I'm having some trouble with this function. Even when I enter 2 as the subject id and/or group number, it runs the first experiment. When I highlight the second experiment and click run element, it does the same. Thanks in advance for help / clarification! The depicted code determines which <expt> to run based on the group number, not the subject number, per /groupassignment = groupnumber. Entering an odd group number (1, 3, 5, ...) will execute the first <expt> (1 of 2). Entering an even group number (2, 4, 6, ...) will execute the second <expt> (2 of 2). The subject number has no bearing on the assignment to either of the two <expt>s. I cannot, however, tell you whether the subject number is relevant for some other (not depicted) part of the script, e.g. a <variables> element. I also can't tell whether the script as a whole works, or if syntax mistakes prevent the <expt>s from actually being executed. While this is unlikely, it's not a determination I can make based on an image showing a fraction of the code. Here's an analogous, simple example which you can run to verify for yourself that <expt> assignment works as described above: // is run when an ODD group number is entered <expt> / subjects = (1 of 2) / blocks = [1=this_is_expt_1] / groupassignment = groupnumber </expt> // is run when an EVEN group number is entered <expt> / subjects = (2 of 2) / blocks = [1=this_is_expt_2] / groupassignment = groupnumber </expt> <block this_is_expt_1> / trials = [1=mytrial] </block> <block this_is_expt_2> / trials = [1=mytrial] </block> <trial mytrial> / stimulusframes = [1=mytext] / validresponse = (57) / timeout = 5000 </trial> <text mytext> / items = ("<%script.currentblock%>") </text> Got it & thank you! Thank you. And I know that 'endlock' attribute is not working anymore in Inquisit 5. What can I use instead of an endlock, which has the same function as the endlock? Also, here; <text t_face_beh_pairs> / items = t_face_beh_items / select = noreplace / position = (50, 115) / size = (5 in, 4 in) </text> Is it enough to write / select = noreplace, for it to choose among behavior items, by showing each item only once, or do I need to write something like, / select = noreplace (tracker) Thank you very much in advance! > What can I use instead of an endlock [...] You can run a normal <trial> or <openended> at the end of the task which displays a message of your choosing and requires some kind of response unknown to subjects. > Is it enough to write / select = noreplace noreplace means items are sampled randomly without replacement. If you have, say, 10 items and and run 10 trials which display the <text t_face_beh_pairs> element, each item will be displayed exactly once.
|
|
|
denizbilkent
|
|
Group: Forum Members
Posts: 17,
Visits: 62
|
+x+x+x+x+xHello, new to Inquisit. In mhy experiment, participants will randomly be assigned to 2 groups. In one of the groups (compatible condition), trustworthy faces will be paired with trustworthy behaviors and untrustworthy faces will be paired with untrustworthy behavior. In the other group (incompatible condition), trustworthy faces will be paired with untrustworthy behaviors and untrustworthy faces will be paired with trustworthy behavior. These face-behavior pairs will be randomly presented within each group. How can I achieve this? Thank to you in advance. You create two <expt> elements in the script -- one that runs the "compatible" condition, one that runs the "incompatible" condition -- and assign participants to one of the two via the /subjects and /groupassignment attributes: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / blocks = [... blocks for the compatible condition ...] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / blocks = [... blocks for the incompatible condition ...] </expt> If you have two scripts instead -- one compatible, one incompatible -- you can do the same with <batch>, i.e. assign participants to one of the two scripts. <batch> / subjects = (1 of 2) / groupassignment = groupnumber / file = "compatible.iqx" </batch> <batch> / subjects = (2 of 2) / groupassignment = groupnumber / file = "incompatible.iqx" </batch> Under Inquisit Lab, you simply enter a group number: An odd number will run the 1st condition, and even number will run the 2nd condition. Under Inquisit Web, a random group number will be generated (by default), i.e. assignment to one of the conditions will be random. Also see: https://www.millisecond.com/forums/Topic13856.aspx Hi, I'm having some trouble with this function. Even when I enter 2 as the subject id and/or group number, it runs the first experiment. When I highlight the second experiment and click run element, it does the same. Thanks in advance for help / clarification! The depicted code determines which <expt> to run based on the group number, not the subject number, per /groupassignment = groupnumber. Entering an odd group number (1, 3, 5, ...) will execute the first <expt> (1 of 2). Entering an even group number (2, 4, 6, ...) will execute the second <expt> (2 of 2). The subject number has no bearing on the assignment to either of the two <expt>s. I cannot, however, tell you whether the subject number is relevant for some other (not depicted) part of the script, e.g. a <variables> element. I also can't tell whether the script as a whole works, or if syntax mistakes prevent the <expt>s from actually being executed. While this is unlikely, it's not a determination I can make based on an image showing a fraction of the code. Here's an analogous, simple example which you can run to verify for yourself that <expt> assignment works as described above: // is run when an ODD group number is entered <expt> / subjects = (1 of 2) / blocks = [1=this_is_expt_1] / groupassignment = groupnumber </expt> // is run when an EVEN group number is entered <expt> / subjects = (2 of 2) / blocks = [1=this_is_expt_2] / groupassignment = groupnumber </expt> <block this_is_expt_1> / trials = [1=mytrial] </block> <block this_is_expt_2> / trials = [1=mytrial] </block> <trial mytrial> / stimulusframes = [1=mytext] / validresponse = (57) / timeout = 5000 </trial> <text mytext> / items = ("<%script.currentblock%>") </text> Got it & thank you! Thank you. And I know that 'endlock' attribute is not working anymore in Inquisit 5. What can I use instead of an endlock, which has the same function as the endlock? Also, here; <text t_face_beh_pairs> / items = t_face_beh_items / select = noreplace / position = (50, 115) / size = (5 in, 4 in) </text> Is it enough to write / select = noreplace, for it to choose among behavior items, by showing each item only once, or do I need to write something like, / select = noreplace (tracker) Thank you very much in advance!
|
|
|
kristennovella
|
|
Group: Forum Members
Posts: 2,
Visits: 8
|
+x+x+x+xHello, new to Inquisit. In mhy experiment, participants will randomly be assigned to 2 groups. In one of the groups (compatible condition), trustworthy faces will be paired with trustworthy behaviors and untrustworthy faces will be paired with untrustworthy behavior. In the other group (incompatible condition), trustworthy faces will be paired with untrustworthy behaviors and untrustworthy faces will be paired with trustworthy behavior. These face-behavior pairs will be randomly presented within each group. How can I achieve this? Thank to you in advance. You create two <expt> elements in the script -- one that runs the "compatible" condition, one that runs the "incompatible" condition -- and assign participants to one of the two via the /subjects and /groupassignment attributes: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / blocks = [... blocks for the compatible condition ...] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / blocks = [... blocks for the incompatible condition ...] </expt> If you have two scripts instead -- one compatible, one incompatible -- you can do the same with <batch>, i.e. assign participants to one of the two scripts. <batch> / subjects = (1 of 2) / groupassignment = groupnumber / file = "compatible.iqx" </batch> <batch> / subjects = (2 of 2) / groupassignment = groupnumber / file = "incompatible.iqx" </batch> Under Inquisit Lab, you simply enter a group number: An odd number will run the 1st condition, and even number will run the 2nd condition. Under Inquisit Web, a random group number will be generated (by default), i.e. assignment to one of the conditions will be random. Also see: https://www.millisecond.com/forums/Topic13856.aspx Hi, I'm having some trouble with this function. Even when I enter 2 as the subject id and/or group number, it runs the first experiment. When I highlight the second experiment and click run element, it does the same. Thanks in advance for help / clarification! The depicted code determines which <expt> to run based on the group number, not the subject number, per /groupassignment = groupnumber. Entering an odd group number (1, 3, 5, ...) will execute the first <expt> (1 of 2). Entering an even group number (2, 4, 6, ...) will execute the second <expt> (2 of 2). The subject number has no bearing on the assignment to either of the two <expt>s. I cannot, however, tell you whether the subject number is relevant for some other (not depicted) part of the script, e.g. a <variables> element. I also can't tell whether the script as a whole works, or if syntax mistakes prevent the <expt>s from actually being executed. While this is unlikely, it's not a determination I can make based on an image showing a fraction of the code. Here's an analogous, simple example which you can run to verify for yourself that <expt> assignment works as described above: // is run when an ODD group number is entered <expt> / subjects = (1 of 2) / blocks = [1=this_is_expt_1] / groupassignment = groupnumber </expt> // is run when an EVEN group number is entered <expt> / subjects = (2 of 2) / blocks = [1=this_is_expt_2] / groupassignment = groupnumber </expt> <block this_is_expt_1> / trials = [1=mytrial] </block> <block this_is_expt_2> / trials = [1=mytrial] </block> <trial mytrial> / stimulusframes = [1=mytext] / validresponse = (57) / timeout = 5000 </trial> <text mytext> / items = ("<%script.currentblock%>") </text> Got it & thank you!
|
|
|
Dave
|
|
Group: Administrators
Posts: 13K,
Visits: 105K
|
+x+x+x+x+xHello, new to Inquisit. In mhy experiment, participants will randomly be assigned to 2 groups. In one of the groups (compatible condition), trustworthy faces will be paired with trustworthy behaviors and untrustworthy faces will be paired with untrustworthy behavior. In the other group (incompatible condition), trustworthy faces will be paired with untrustworthy behaviors and untrustworthy faces will be paired with trustworthy behavior. These face-behavior pairs will be randomly presented within each group. How can I achieve this? Thank to you in advance. You create two <expt> elements in the script -- one that runs the "compatible" condition, one that runs the "incompatible" condition -- and assign participants to one of the two via the /subjects and /groupassignment attributes: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / blocks = [... blocks for the compatible condition ...] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / blocks = [... blocks for the incompatible condition ...] </expt> If you have two scripts instead -- one compatible, one incompatible -- you can do the same with <batch>, i.e. assign participants to one of the two scripts. <batch> / subjects = (1 of 2) / groupassignment = groupnumber / file = "compatible.iqx" </batch> <batch> / subjects = (2 of 2) / groupassignment = groupnumber / file = "incompatible.iqx" </batch> Under Inquisit Lab, you simply enter a group number: An odd number will run the 1st condition, and even number will run the 2nd condition. Under Inquisit Web, a random group number will be generated (by default), i.e. assignment to one of the conditions will be random. Also see: https://www.millisecond.com/forums/Topic13856.aspx Hi, I'm having some trouble with this function. Even when I enter 2 as the subject id and/or group number, it runs the first experiment. When I highlight the second experiment and click run element, it does the same. Thanks in advance for help / clarification! The depicted code determines which <expt> to run based on the group number, not the subject number, per /groupassignment = groupnumber. Entering an odd group number (1, 3, 5, ...) will execute the first <expt> (1 of 2). Entering an even group number (2, 4, 6, ...) will execute the second <expt> (2 of 2). The subject number has no bearing on the assignment to either of the two <expt>s. I cannot, however, tell you whether the subject number is relevant for some other (not depicted) part of the script, e.g. a <variables> element. I also can't tell whether the script as a whole works, or if syntax mistakes prevent the <expt>s from actually being executed. While this is unlikely, it's not a determination I can make based on an image showing a fraction of the code. Here's an analogous, simple example which you can run to verify for yourself that <expt> assignment works as described above: // is run when an ODD group number is entered <expt> / subjects = (1 of 2) / blocks = [1=this_is_expt_1] / groupassignment = groupnumber </expt> // is run when an EVEN group number is entered <expt> / subjects = (2 of 2) / blocks = [1=this_is_expt_2] / groupassignment = groupnumber </expt> <block this_is_expt_1> / trials = [1=mytrial] </block> <block this_is_expt_2> / trials = [1=mytrial] </block> <trial mytrial> / stimulusframes = [1=mytext] / validresponse = (57) / timeout = 5000 </trial> <text mytext> / items = ("<%script.currentblock%>") </text> And here, I assigned space (" ") as the next key, but I don't want these two buttons ("Press [Space] to continue" and "Press [Backspace] for previous page") to appear in English. These buttons should be in Turkish since the participants will be Turkish. However, these two buttons appear by default, even though I haven't described them in my code. How can I change the text that is written on the buttons? Best, Deniz What you're seeing is the default text, i.e. what appears if you don't explicitly specify anything. The labels on these buttons are controlled via the <instruct> element's /prevlabel, /nextlabel and /finishlabel attributes. That's where you need to specify your translations. <instruct> / prevlabel = "Your translation for the back button label here" / nextlabel = "Your translation for the next button label here" / finishlabel = "Your translation for the finish button label here (applies to the next button on the final instruction page in a set of instruction pages)" </instruct>
|
|
|