By soobin - 8/31/2017
Hi.
I want to use 'expcondition' for counterbalancing. I tried hard but I do not know.
/expcondition:used for counterbalancing experimental conditions1: push for landscape, pull for portrait2: pull for landscape, push for portrait
My experiment setup is as follows :
Total trial is 240.
6 categories(respectively 10) * 2 format(left, right) * 2(push for left & pull for right, pull for left & push for right) = 240
My trial ends in 120 times. just 'push for left & pull for right'.
I want to add the opposite(pull for left & push for right).
I attached the iqx file.
I would really appreciate your help.
Thanks for reading.
|
By Dave - 8/31/2017
+xHi. I want to use 'expcondition' for counterbalancing. I tried hard but I do not know. /expcondition:used for counterbalancing experimental conditions1: push for landscape, pull for portrait2: pull for landscape, push for portraitMy experiment setup is as follows : Total trial is 240. 6 categories(respectively 10) * 2 format(left, right) * 2(push for left & pull for right, pull for left & push for right) = 240 My trial ends in 120 times. just 'push for left & pull for right'. I want to add the opposite(pull for left & push for right). I attached the iqx file. I would really appreciate your help. Thanks for reading. There already are two conditions for the counterbalancing in your script:
Condition #1: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt>
Condition #2: <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt>
To run the 1st condition, enter an _odd_ group number. To run the 2nd condition, enter an _even_ group number.
Beyond that, I'm not sure what you mean by "I want to use 'expcondition' for counterbalancing. I tried hard but I do not know." Please clarify. Thanks.
|
By soobin - 8/31/2017
+x+xHi. I want to use 'expcondition' for counterbalancing. I tried hard but I do not know. /expcondition:used for counterbalancing experimental conditions1: push for landscape, pull for portrait2: pull for landscape, push for portraitMy experiment setup is as follows : Total trial is 240. 6 categories(respectively 10) * 2 format(left, right) * 2(push for left & pull for right, pull for left & push for right) = 240 My trial ends in 120 times. just 'push for left & pull for right'. I want to add the opposite(pull for left & push for right). I attached the iqx file. I would really appreciate your help. Thanks for reading. There already are two conditions for the counterbalancing in your script: Condition #1: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> Condition #2: <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> To run the 1st condition, enter an _odd_ group number. To run the 2nd condition, enter an _even_ group number. Beyond that, I'm not sure what you mean by "I want to use 'expcondition' for counterbalancing. I tried hard but I do not know." Please clarify. Thanks. Oh, Thank you so much.
Sorry, I'm not good at English.
Um.. Are you telling me to turn condition 1 and turn 2?
I want to have condition 1 and 2 at the same time without going out of AAT.
I would like to finish 240 trial at once.
Really thanks for reading.
|
By Dave - 8/31/2017
+x+x+xHi. I want to use 'expcondition' for counterbalancing. I tried hard but I do not know. /expcondition:used for counterbalancing experimental conditions1: push for landscape, pull for portrait2: pull for landscape, push for portraitMy experiment setup is as follows : Total trial is 240. 6 categories(respectively 10) * 2 format(left, right) * 2(push for left & pull for right, pull for left & push for right) = 240 My trial ends in 120 times. just 'push for left & pull for right'. I want to add the opposite(pull for left & push for right). I attached the iqx file. I would really appreciate your help. Thanks for reading. There already are two conditions for the counterbalancing in your script: Condition #1: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> Condition #2: <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> To run the 1st condition, enter an _odd_ group number. To run the 2nd condition, enter an _even_ group number. Beyond that, I'm not sure what you mean by "I want to use 'expcondition' for counterbalancing. I tried hard but I do not know." Please clarify. Thanks. Oh, Thank you so much. Sorry, I'm not good at English. Um.. Are you telling me to turn condition 1 and turn 2? I want to have condition 1 and 2 at the same time without going out of AAT. I would like to finish 240 trial at once. Really thanks for reading. Ah, I see. Then you need to set up at least two blocks and switch conditions in-between. In essence, define
<block AAT_cond1> / onblockbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; ] / preinstructions = (taskinstructions) / onblockbegin = [values.index = 0] / trials = [1-120 = AAT_start] </block>
<block AAT_cond2> / onblockbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; ] / preinstructions = (taskinstructions) / onblockbegin = [values.index = 0] / trials = [1-120 = AAT_start] </block>
and change your <expt>s to
<expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond1; 4 = AAT_cond2; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt>
<expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond2; 4 = AAT_cond1; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt>
or
<expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond1; 4 = SequenceGenerator; 5 = practice_AAT; 6 = AAT_cond2; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt>
<expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond2; 4 = SequenceGenerator; 5 = practice_AAT; 6 = AAT_cond1; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt>
if you want to / need to run another practice round and generate a new sequence between switching conditions.
You'll have to put some additional though into what you want to do with the various summary statistics calculated. I.e. you may want to reset various <list>s and values between the two conditions and/or track data for the two phases via separate metrics altogether (i.e. introduce additional values, lists, etc. and log those to the data file(s)).
|
By Dave - 8/31/2017
+x+x+x+xHi. I want to use 'expcondition' for counterbalancing. I tried hard but I do not know. /expcondition:used for counterbalancing experimental conditions1: push for landscape, pull for portrait2: pull for landscape, push for portraitMy experiment setup is as follows : Total trial is 240. 6 categories(respectively 10) * 2 format(left, right) * 2(push for left & pull for right, pull for left & push for right) = 240 My trial ends in 120 times. just 'push for left & pull for right'. I want to add the opposite(pull for left & push for right). I attached the iqx file. I would really appreciate your help. Thanks for reading. There already are two conditions for the counterbalancing in your script: Condition #1: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> Condition #2: <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> To run the 1st condition, enter an _odd_ group number. To run the 2nd condition, enter an _even_ group number. Beyond that, I'm not sure what you mean by "I want to use 'expcondition' for counterbalancing. I tried hard but I do not know." Please clarify. Thanks. Oh, Thank you so much. Sorry, I'm not good at English. Um.. Are you telling me to turn condition 1 and turn 2? I want to have condition 1 and 2 at the same time without going out of AAT. I would like to finish 240 trial at once. Really thanks for reading. Ah, I see. Then you need to set up at least two blocks and switch conditions in-between. In essence, define <block AAT_cond1> / onblockbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; ] / preinstructions = (taskinstructions) / onblockbegin = [values.index = 0] / trials = [1-120 = AAT_start] </block> <block AAT_cond2> / onblockbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; ] / preinstructions = (taskinstructions) / onblockbegin = [values.index = 0] / trials = [1-120 = AAT_start] </block> and change your <expt>s to <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond1; 4 = AAT_cond2; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond2; 4 = AAT_cond1; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> or <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond1; 4 = SequenceGenerator; 5 = practice_AAT; 6 = AAT_cond2; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond2; 4 = SequenceGenerator; 5 = practice_AAT; 6 = AAT_cond1; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> if you want to / need to run another practice round and generate a new sequence between switching conditions. You'll have to put some additional though into what you want to do with the various summary statistics calculated. I.e. you may want to reset various <list>s and values between the two conditions and/or track data for the two phases via separate metrics altogether (i.e. introduce additional values, lists, etc. and log those to the data file(s)). Oh, what you could _also_ do is simply string two separate AAT scripts together. One that runs condition 1 only (120 trials) and one that runs condition 2 only (120 trials). You could then run those two scripts in sequence using a simple <batch> script, i.e.
<batch> / subjects = (1 of 2) / groupassignment = groupnumber / file = "aat_condition1.iqx" / file = "aat_condition2.iqx" </batch>
<batch> / subjects = (2 of 2) / groupassignment = groupnumber / file = "aat_condition2.iqx" / file = "aat_condition1.iqx" </batch>
to counterbalance the order of the two conditions. This would make things easier coding-wise, i.e. you wouldn't have to worry about needing to create new summary variables, etc.
|
By soobin - 8/31/2017
+x+x+x+xHi. I want to use 'expcondition' for counterbalancing. I tried hard but I do not know. /expcondition:used for counterbalancing experimental conditions1: push for landscape, pull for portrait2: pull for landscape, push for portraitMy experiment setup is as follows : Total trial is 240. 6 categories(respectively 10) * 2 format(left, right) * 2(push for left & pull for right, pull for left & push for right) = 240 My trial ends in 120 times. just 'push for left & pull for right'. I want to add the opposite(pull for left & push for right). I attached the iqx file. I would really appreciate your help. Thanks for reading. There already are two conditions for the counterbalancing in your script: Condition #1: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> Condition #2: <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> To run the 1st condition, enter an _odd_ group number. To run the 2nd condition, enter an _even_ group number. Beyond that, I'm not sure what you mean by "I want to use 'expcondition' for counterbalancing. I tried hard but I do not know." Please clarify. Thanks. Oh, Thank you so much. Sorry, I'm not good at English. Um.. Are you telling me to turn condition 1 and turn 2? I want to have condition 1 and 2 at the same time without going out of AAT. I would like to finish 240 trial at once. Really thanks for reading. Ah, I see. Then you need to set up at least two blocks and switch conditions in-between. In essence, define <block AAT_cond1> / onblockbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; ] / preinstructions = (taskinstructions) / onblockbegin = [values.index = 0] / trials = [1-120 = AAT_start] </block> <block AAT_cond2> / onblockbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; ] / preinstructions = (taskinstructions) / onblockbegin = [values.index = 0] / trials = [1-120 = AAT_start] </block> and change your <expt>s to <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond1; 4 = AAT_cond2; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond2; 4 = AAT_cond1; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> or <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond1; 4 = SequenceGenerator; 5 = practice_AAT; 6 = AAT_cond2; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond2; 4 = SequenceGenerator; 5 = practice_AAT; 6 = AAT_cond1; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> if you want to / need to run another practice round and generate a new sequence between switching conditions. You'll have to put some additional though into what you want to do with the various summary statistics calculated. I.e. you may want to reset various <list>s and values between the two conditions and/or track data for the two phases via separate metrics altogether (i.e. introduce additional values, lists, etc. and log those to the data file(s)). Oh, Thanks. Error is nothing.
Thanks a lot!!
|
By soobin - 8/31/2017
+x+x+x+x+x+x+x+x+xHi. I want to use 'expcondition' for counterbalancing. I tried hard but I do not know. /expcondition:used for counterbalancing experimental conditions1: push for landscape, pull for portrait2: pull for landscape, push for portraitMy experiment setup is as follows : Total trial is 240. 6 categories(respectively 10) * 2 format(left, right) * 2(push for left & pull for right, pull for left & push for right) = 240 My trial ends in 120 times. just 'push for left & pull for right'. I want to add the opposite(pull for left & push for right). I attached the iqx file. I would really appreciate your help. Thanks for reading. There already are two conditions for the counterbalancing in your script: Condition #1: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> Condition #2: <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> To run the 1st condition, enter an _odd_ group number. To run the 2nd condition, enter an _even_ group number. Beyond that, I'm not sure what you mean by "I want to use 'expcondition' for counterbalancing. I tried hard but I do not know." Please clarify. Thanks. Oh, Thank you so much. Sorry, I'm not good at English. Um.. Are you telling me to turn condition 1 and turn 2? I want to have condition 1 and 2 at the same time without going out of AAT. I would like to finish 240 trial at once. Really thanks for reading. Ah, I see. Then you need to set up at least two blocks and switch conditions in-between. In essence, define <block AAT_cond1> / onblockbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; ] / preinstructions = (taskinstructions) / onblockbegin = [values.index = 0] / trials = [1-120 = AAT_start] </block> <block AAT_cond2> / onblockbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; ] / preinstructions = (taskinstructions) / onblockbegin = [values.index = 0] / trials = [1-120 = AAT_start] </block> and change your <expt>s to <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond1; 4 = AAT_cond2; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond2; 4 = AAT_cond1; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> or <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond1; 4 = SequenceGenerator; 5 = practice_AAT; 6 = AAT_cond2; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond2; 4 = SequenceGenerator; 5 = practice_AAT; 6 = AAT_cond1; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> if you want to / need to run another practice round and generate a new sequence between switching conditions. You'll have to put some additional though into what you want to do with the various summary statistics calculated. I.e. you may want to reset various <list>s and values between the two conditions and/or track data for the two phases via separate metrics altogether (i.e. introduce additional values, lists, etc. and log those to the data file(s)). Oh, what you could _also_ do is simply string two separate AAT scripts together. One that runs condition 1 only (120 trials) and one that runs condition 2 only (120 trials). You could then run those two scripts in sequence using a simple <batch> script, i.e. <batch> / subjects = (1 of 2) / groupassignment = groupnumber / file = "aat_condition1.iqx" / file = "aat_condition2.iqx" </batch> <batch> / subjects = (2 of 2) / groupassignment = groupnumber / file = "aat_condition2.iqx" / file = "aat_condition1.iqx" </batch> to counterbalance the order of the two conditions. This would make things easier coding-wise, i.e. you wouldn't have to worry about needing to create new summary variables, etc. There already are two conditions for the counterbalancing in your script: Condition #1: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> Condition #2: <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> To run the 1st condition, enter an _odd_ group number. To run the 2nd condition, enter an _even_ group number. Beyond that, I'm not sure what you mean by "I want to use 'expcondition' for counterbalancing. I tried hard but I do not know." Please clarify. Thanks. Oh, Thank you so much. Sorry, I'm not good at English. Um.. Are you telling me to turn condition 1 and turn 2? I want to have condition 1 and 2 at the same time without going out of AAT. I would like to finish 240 trial at once. Really thanks for reading. Ah, I see. Then you need to set up at least two blocks and switch conditions in-between. In essence, define <block AAT_cond1> / onblockbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; ] / preinstructions = (taskinstructions) / onblockbegin = [values.index = 0] / trials = [1-120 = AAT_start] </block> <block AAT_cond2> / onblockbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; ] / preinstructions = (taskinstructions) / onblockbegin = [values.index = 0] / trials = [1-120 = AAT_start] </block> and change your <expt>s to <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond1; 4 = AAT_cond2; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond2; 4 = AAT_cond1; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> or <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond1; 4 = SequenceGenerator; 5 = practice_AAT; 6 = AAT_cond2; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond2; 4 = SequenceGenerator; 5 = practice_AAT; 6 = AAT_cond1; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> if you want to / need to run another practice round and generate a new sequence between switching conditions. You'll have to put some additional though into what you want to do with the various summary statistics calculated. I.e. you may want to reset various <list>s and values between the two conditions and/or track data for the two phases via separate metrics altogether (i.e. introduce additional values, lists, etc. and log those to the data file(s)). Oh, what you could _also_ do is simply string two separate AAT scripts together. One that runs condition 1 only (120 trials) and one that runs condition 2 only (120 trials). You could then run those two scripts in sequence using a simple <batch> script, i.e. <batch> / subjects = (1 of 2) / groupassignment = groupnumber / file = "aat_condition1.iqx" / file = "aat_condition2.iqx" </batch> <batch> / subjects = (2 of 2) / groupassignment = groupnumber / file = "aat_condition2.iqx" / file = "aat_condition1.iqx" </batch> to counterbalance the order of the two conditions. This would make things easier coding-wise, i.e. you wouldn't have to worry about needing to create new summary variables, etc. Oh.. simple is the best1:) I'll try that!!
The condition is change, so I need to explain how to do task. Could I add a taskinstructions?
<page taskinstruction1> <page taskinstruction2>
AND.. I have another. problem .. Failed to register ctrl + q hotkey. Error code 5. I do not search about Error code 5..... Can you help me? please.
|
By Dave - 8/31/2017
+x+x+x+x+x+x+x+x+x+xHi. I want to use 'expcondition' for counterbalancing. I tried hard but I do not know. /expcondition:used for counterbalancing experimental conditions1: push for landscape, pull for portrait2: pull for landscape, push for portraitMy experiment setup is as follows : Total trial is 240. 6 categories(respectively 10) * 2 format(left, right) * 2(push for left & pull for right, pull for left & push for right) = 240 My trial ends in 120 times. just 'push for left & pull for right'. I want to add the opposite(pull for left & push for right). I attached the iqx file. I would really appreciate your help. Thanks for reading. There already are two conditions for the counterbalancing in your script: Condition #1: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> Condition #2: <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> To run the 1st condition, enter an _odd_ group number. To run the 2nd condition, enter an _even_ group number. Beyond that, I'm not sure what you mean by "I want to use 'expcondition' for counterbalancing. I tried hard but I do not know." Please clarify. Thanks. Oh, Thank you so much. Sorry, I'm not good at English. Um.. Are you telling me to turn condition 1 and turn 2? I want to have condition 1 and 2 at the same time without going out of AAT. I would like to finish 240 trial at once. Really thanks for reading. Ah, I see. Then you need to set up at least two blocks and switch conditions in-between. In essence, define <block AAT_cond1> / onblockbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; ] / preinstructions = (taskinstructions) / onblockbegin = [values.index = 0] / trials = [1-120 = AAT_start] </block> <block AAT_cond2> / onblockbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; ] / preinstructions = (taskinstructions) / onblockbegin = [values.index = 0] / trials = [1-120 = AAT_start] </block> and change your <expt>s to <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond1; 4 = AAT_cond2; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond2; 4 = AAT_cond1; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> or <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond1; 4 = SequenceGenerator; 5 = practice_AAT; 6 = AAT_cond2; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond2; 4 = SequenceGenerator; 5 = practice_AAT; 6 = AAT_cond1; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> if you want to / need to run another practice round and generate a new sequence between switching conditions. You'll have to put some additional though into what you want to do with the various summary statistics calculated. I.e. you may want to reset various <list>s and values between the two conditions and/or track data for the two phases via separate metrics altogether (i.e. introduce additional values, lists, etc. and log those to the data file(s)). Oh, what you could _also_ do is simply string two separate AAT scripts together. One that runs condition 1 only (120 trials) and one that runs condition 2 only (120 trials). You could then run those two scripts in sequence using a simple <batch> script, i.e. <batch> / subjects = (1 of 2) / groupassignment = groupnumber / file = "aat_condition1.iqx" / file = "aat_condition2.iqx" </batch> <batch> / subjects = (2 of 2) / groupassignment = groupnumber / file = "aat_condition2.iqx" / file = "aat_condition1.iqx" </batch> to counterbalance the order of the two conditions. This would make things easier coding-wise, i.e. you wouldn't have to worry about needing to create new summary variables, etc. There already are two conditions for the counterbalancing in your script: Condition #1: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> Condition #2: <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> To run the 1st condition, enter an _odd_ group number. To run the 2nd condition, enter an _even_ group number. Beyond that, I'm not sure what you mean by "I want to use 'expcondition' for counterbalancing. I tried hard but I do not know." Please clarify. Thanks. Oh, Thank you so much. Sorry, I'm not good at English. Um.. Are you telling me to turn condition 1 and turn 2? I want to have condition 1 and 2 at the same time without going out of AAT. I would like to finish 240 trial at once. Really thanks for reading. Ah, I see. Then you need to set up at least two blocks and switch conditions in-between. In essence, define <block AAT_cond1> / onblockbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; ] / preinstructions = (taskinstructions) / onblockbegin = [values.index = 0] / trials = [1-120 = AAT_start] </block> <block AAT_cond2> / onblockbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; ] / preinstructions = (taskinstructions) / onblockbegin = [values.index = 0] / trials = [1-120 = AAT_start] </block> and change your <expt>s to <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond1; 4 = AAT_cond2; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond2; 4 = AAT_cond1; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> or <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond1; 4 = SequenceGenerator; 5 = practice_AAT; 6 = AAT_cond2; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond2; 4 = SequenceGenerator; 5 = practice_AAT; 6 = AAT_cond1; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> if you want to / need to run another practice round and generate a new sequence between switching conditions. You'll have to put some additional though into what you want to do with the various summary statistics calculated. I.e. you may want to reset various <list>s and values between the two conditions and/or track data for the two phases via separate metrics altogether (i.e. introduce additional values, lists, etc. and log those to the data file(s)). Oh, what you could _also_ do is simply string two separate AAT scripts together. One that runs condition 1 only (120 trials) and one that runs condition 2 only (120 trials). You could then run those two scripts in sequence using a simple <batch> script, i.e. <batch> / subjects = (1 of 2) / groupassignment = groupnumber / file = "aat_condition1.iqx" / file = "aat_condition2.iqx" </batch> <batch> / subjects = (2 of 2) / groupassignment = groupnumber / file = "aat_condition2.iqx" / file = "aat_condition1.iqx" </batch> to counterbalance the order of the two conditions. This would make things easier coding-wise, i.e. you wouldn't have to worry about needing to create new summary variables, etc. Oh.. simple is the best1:) I'll try that!! The condition is change, so I need to explain how to do task. Could I add a taskinstructions? <page taskinstruction1> <page taskinstruction2> AND.. I have another. problem .. Failed to register ctrl + q hotkey. Error code 5. I do not search about Error code 5..... Can you help me? please. > Could I add a taskinstructions? > > <page taskinstruction1> > <page taskinstruction2>
Not sure what you mean here. You can define as many <page> elements in the scripts as you want / need. Instruction pages, then, are displayed via an <expt>'s or <block>'s /preinstructions and /postinstructions attributes. E.g. if you want to display taskinstruction1 followed by taskinstruction2 at the beginning of an <expt>, you'd do
<expt> / preinstructions = (taskinstruction1, taskinstruction2) ... </expt>
No idea about the CTRL+Q related error. Is that new or have you seen that in the previous iteration of your script as well? If new, what did you change in between the two scripts?
FWIW, "Error Code 5" under Windows usually means "Access Denied", i.e. the resource requested cannot be accessed due to lack of permissions or because the resource is locked otherwise.
|
By soobin - 8/31/2017
+x+x+x+x+x+x+x+x+x+x+xHi. I want to use 'expcondition' for counterbalancing. I tried hard but I do not know. /expcondition:used for counterbalancing experimental conditions1: push for landscape, pull for portrait2: pull for landscape, push for portraitMy experiment setup is as follows : Total trial is 240. 6 categories(respectively 10) * 2 format(left, right) * 2(push for left & pull for right, pull for left & push for right) = 240 My trial ends in 120 times. just 'push for left & pull for right'. I want to add the opposite(pull for left & push for right). I attached the iqx file. I would really appreciate your help. Thanks for reading. There already are two conditions for the counterbalancing in your script: Condition #1: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> Condition #2: <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> To run the 1st condition, enter an _odd_ group number. To run the 2nd condition, enter an _even_ group number. Beyond that, I'm not sure what you mean by "I want to use 'expcondition' for counterbalancing. I tried hard but I do not know." Please clarify. Thanks. Oh, Thank you so much. Sorry, I'm not good at English. Um.. Are you telling me to turn condition 1 and turn 2? I want to have condition 1 and 2 at the same time without going out of AAT. I would like to finish 240 trial at once. Really thanks for reading. Ah, I see. Then you need to set up at least two blocks and switch conditions in-between. In essence, define <block AAT_cond1> / onblockbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; ] / preinstructions = (taskinstructions) / onblockbegin = [values.index = 0] / trials = [1-120 = AAT_start] </block> <block AAT_cond2> / onblockbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; ] / preinstructions = (taskinstructions) / onblockbegin = [values.index = 0] / trials = [1-120 = AAT_start] </block> and change your <expt>s to <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond1; 4 = AAT_cond2; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond2; 4 = AAT_cond1; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> or <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond1; 4 = SequenceGenerator; 5 = practice_AAT; 6 = AAT_cond2; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond2; 4 = SequenceGenerator; 5 = practice_AAT; 6 = AAT_cond1; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> if you want to / need to run another practice round and generate a new sequence between switching conditions. You'll have to put some additional though into what you want to do with the various summary statistics calculated. I.e. you may want to reset various <list>s and values between the two conditions and/or track data for the two phases via separate metrics altogether (i.e. introduce additional values, lists, etc. and log those to the data file(s)). Oh, what you could _also_ do is simply string two separate AAT scripts together. One that runs condition 1 only (120 trials) and one that runs condition 2 only (120 trials). You could then run those two scripts in sequence using a simple <batch> script, i.e. <batch> / subjects = (1 of 2) / groupassignment = groupnumber / file = "aat_condition1.iqx" / file = "aat_condition2.iqx" </batch> <batch> / subjects = (2 of 2) / groupassignment = groupnumber / file = "aat_condition2.iqx" / file = "aat_condition1.iqx" </batch> to counterbalance the order of the two conditions. This would make things easier coding-wise, i.e. you wouldn't have to worry about needing to create new summary variables, etc. There already are two conditions for the counterbalancing in your script: Condition #1: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> Condition #2: <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> To run the 1st condition, enter an _odd_ group number. To run the 2nd condition, enter an _even_ group number. Beyond that, I'm not sure what you mean by "I want to use 'expcondition' for counterbalancing. I tried hard but I do not know." Please clarify. Thanks. Oh, Thank you so much. Sorry, I'm not good at English. Um.. Are you telling me to turn condition 1 and turn 2? I want to have condition 1 and 2 at the same time without going out of AAT. I would like to finish 240 trial at once. Really thanks for reading. Ah, I see. Then you need to set up at least two blocks and switch conditions in-between. In essence, define <block AAT_cond1> / onblockbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; ] / preinstructions = (taskinstructions) / onblockbegin = [values.index = 0] / trials = [1-120 = AAT_start] </block> <block AAT_cond2> / onblockbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; ] / preinstructions = (taskinstructions) / onblockbegin = [values.index = 0] / trials = [1-120 = AAT_start] </block> and change your <expt>s to <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond1; 4 = AAT_cond2; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond2; 4 = AAT_cond1; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> or <expt> / subjects = (1 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 1; values.format1 = "right"; values.format2 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB* values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond1; 4 = SequenceGenerator; 5 = practice_AAT; 6 = AAT_cond2; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / onexptbegin = [ values.expcondition = 2; values.format2 = "right"; values.format1 = "left"; values.startheight_A = parameters.Startheight_ratioA*values.maxheight; values.startheight_B = parameters.Startheight_ratioB*values.maxheight; ] / blocks = [ 1 = SequenceGenerator; 2 = practice_AAT; 3 = AAT_cond2; 4 = SequenceGenerator; 5 = practice_AAT; 6 = AAT_cond1; ] / postinstructions = (End) / onexptend = [values.completed = 1] </expt> if you want to / need to run another practice round and generate a new sequence between switching conditions. You'll have to put some additional though into what you want to do with the various summary statistics calculated. I.e. you may want to reset various <list>s and values between the two conditions and/or track data for the two phases via separate metrics altogether (i.e. introduce additional values, lists, etc. and log those to the data file(s)). Oh, what you could _also_ do is simply string two separate AAT scripts together. One that runs condition 1 only (120 trials) and one that runs condition 2 only (120 trials). You could then run those two scripts in sequence using a simple <batch> script, i.e. <batch> / subjects = (1 of 2) / groupassignment = groupnumber / file = "aat_condition1.iqx" / file = "aat_condition2.iqx" </batch> <batch> / subjects = (2 of 2) / groupassignment = groupnumber / file = "aat_condition2.iqx" / file = "aat_condition1.iqx" </batch> to counterbalance the order of the two conditions. This would make things easier coding-wise, i.e. you wouldn't have to worry about needing to create new summary variables, etc. Oh.. simple is the best1:) I'll try that!! The condition is change, so I need to explain how to do task. Could I add a taskinstructions? <page taskinstruction1> <page taskinstruction2> AND.. I have another. problem .. Failed to register ctrl + q hotkey. Error code 5. I do not search about Error code 5..... Can you help me? please. > Could I add a taskinstructions? > > <page taskinstruction1> > <page taskinstruction2> Not sure what you mean here. You can define as many <page> elements in the scripts as you want / need. Instruction pages, then, are displayed via an <expt>'s or <block>'s /preinstructions and /postinstructions attributes. E.g. if you want to display taskinstruction1 followed by taskinstruction2 at the beginning of an <expt>, you'd do <expt> / preinstructions = (taskinstruction1, taskinstruction2) ... </expt> No idea about the CTRL+Q related error. Is that new or have you seen that in the previous iteration of your script as well? If new, what did you change in between the two scripts? FWIW, "Error Code 5" under Windows usually means "Access Denied", i.e. the resource requested cannot be accessed due to lack of permissions or because the resource is locked otherwise. Oh, I got it. Thanks!!
I do not have idea about cause of 'ctrl+q error'.
I still get the error, but it's okay.
Thanks for reply!
|
|