cgshield
|
|
Group: Forum Members
Posts: 27,
Visits: 41
|
Fabulous! It is working perfectly!
Now time for a few test runs (with my undergraduate minions) before it goes out on the field.
|
|
|
Dave
|
|
Group: Administrators
Posts: 12K,
Visits: 99K
|
> WOW, I'm making this too hard.
Yes ;-)
> Jeez, give me STATA or SAS and I can write "code" just fine...but put me into Inquisit and I'm lost!
It's not hard once you get the basic hang of it. And if you are already able to write decent SAS syntax and macros, you should be golden in no time!
|
|
|
cgshield
|
|
Group: Forum Members
Posts: 27,
Visits: 41
|
WOW, I'm making this too hard. I was trying to match the race script format.
Jeez, give me STATA or SAS and I can write "code" just fine...but put me into Inquisit and I'm lost!
I'll look for those tutorials for our future uses of Inquisit.
|
|
|
Dave
|
|
Group: Administrators
Posts: 12K,
Visits: 99K
|
No. It's simply
<variables> / group = (1 of 2) (block2=targetcompatiblepractice; block3=compatiblepractice; block4=compatibletestinstructions; block5=compatibletest; block6=targetincompatiblepractice; block7=incompatiblepractice; block8=incompatibletestinstructions; block9=incompatibletest) / group = (2 of 2) (block2=targetincompatiblepractice; block3=incompatiblepractice; block4=incompatibletestinstructions; block5=incompatibletest; block6=targetcompatiblepractice; block7=compatiblepractice; block8=compatibletestinstructions; block9=compatibletest) / groupassignment = groupnumber
</variables>
|
|
|
cgshield
|
|
Group: Forum Members
Posts: 27,
Visits: 41
|
I will look for those tutorials. I don't think I noticed they existed.
I thought I had tried this first before copying and pasting the other aspects from the race script:
It is JUST adding the / groupassignment = groupnumber unless I need to delete the / group = (1 of 2) part?
I'll try running it again this way.
<variables>
/ group = (1 of 2) / groupassignment = groupnumber (block2=targetcompatiblepractice; block3=compatiblepractice; block4=compatibletestinstructions; block5=compatibletest; block6=targetincompatiblepractice; block7=incompatiblepractice; block8=incompatibletestinstructions; block9=incompatibletest)
/ group = (2 of 2) / groupassignment = groupnumber (block2=targetincompatiblepractice; block3=incompatiblepractice; block4=incompatibletestinstructions; block5=incompatibletest; block6=targetcompatiblepractice; block7=compatiblepractice; block8=compatibletestinstructions; block9=compatibletest)
</variables>
|
|
|
Dave
|
|
Group: Administrators
Posts: 12K,
Visits: 99K
|
All you need to do is add
/ groupassignment = groupnumber
to the <variables> element. No other changes required. Trying to make the scripts look the same by wildly copy-pasting between them will only break stuff. Don't do it unless you know what you are doing.
If you find the time, I would encourage you to complete the tutorials contained in the documentation to learn more about the basics of Inquisit syntax.
|
|
|
cgshield
|
|
Group: Forum Members
Posts: 27,
Visits: 41
|
Ok, so I'm looking at both scripts and trying to make them look the same, but they are different anyways. The race one does not even have the <variables> section only the </expt> section.
So basically I just need to add the line / groupassignment = groupnumber into my pain script?
I tried copying and pasting the whole </expt> section from the race iat into the pain iat and still no good. I also tried just adding the line above in the <variables> section of my pain script and it still didn't work.
I'm just not sure when and where the changes are supposed to occur based on comparing the two scripts:
<defaults> / screencolor = (0,0,0) / txbgcolor = (0,0,0)/ txcolor = (255, 255, 255)/ fontstyle = ("Arial", 5%)/ minimumversion = "2.0.60809.0"
</defaults> <expt> / blocks = [1=attributepractice; 2=block2; 3=block3;4=block4; 5=block5; 6=block6; 7=block7; 8=block8; 9=block9] / postinstructions = (summary) </expt> <variables> / group = (1 of 2) / groupassignment = groupnumber (block2=targetcompatiblepractice;block3=compatiblepractice; block4=compatibletestinstructions;block5=compatibletest; block6=targetincompatiblepractice;block7=incompatiblepractice; block8=incompatibletestinstructions;block9=incompatibletest) / group = (2 of 2) / groupassignment = groupnumber(block2=targetincompatiblepractice; block3=incompatiblepractice; block4=incompatibletestinstructions;block5=incompatibletest; block6=targetcompatiblepractice;block7=compatiblepractice; block8=compatibletestinstructions;block9=compatibletest) </variables> <data> / columns = [date time subject blockcode blocknum trialcodetrialnum response correct latency stimulusnumber stimulusitem stimulusnumberstimulusitem] </data>
Any help would be appreciated. I'm sorry so many questions- I am not a script writer, and the documentation PDF is practically another language.
|
|
|
Dave
|
|
Group: Administrators
Posts: 12K,
Visits: 99K
|
Yes, this section. See your other (working) IAT script for comparision purposes. It uses
/ groupassignment = groupnumber
for condition assignment, as opposed to
/ groupassignment = subjectnumber
which is the default (i.e. the mode Inquisit expects if you don't explicitly specify otherwise).
|
|
|
cgshield
|
|
Group: Forum Members
Posts: 27,
Visits: 41
|
This section?:
<variables> / group = (1 of 2) (block2=targetcompatiblepractice; block3=compatiblepractice; block4=compatibletestinstructions; block5=compatibletest; block6=targetincompatiblepractice; block7=incompatiblepractice; block8=incompatibletestinstructions; block9=incompatibletest) / group = (2 of 2) (block2=targetincompatiblepractice; block3=incompatiblepractice; block4=incompatibletestinstructions; block5=incompatibletest; block6=targetcompatiblepractice; block7=compatiblepractice; block8=compatibletestinstructions; block9=compatibletest) </variables>
I would need to add something to the script within that area to tell it to accept the alphanumerical ID?
|
|
|
Dave
|
|
Group: Administrators
Posts: 12K,
Visits: 99K
|
Your pain_iat_short script is misconfigured. It expects a *numerical subject id* to do condition assignment and hence cannot run using the *alphanumerical subject id* you give it (via the query parameter). Accordingly, you need to specify a proper /groupassignment mode in the script's <variables> element.
|
|
|