Dave
|
|
Group: Administrators
Posts: 13K,
Visits: 108K
|
The only way I can think of: - have all items for all subjects in a single file - compute the correct item numbers for each subject based on the entered id and use that in /select.
|
|
|
Martine
|
|
Group: Forum Members
Posts: 9,
Visits: 1
|
Ah that explains a lot, thanks. Is there another way to implement some sort of inclusion criteria in Inquisit 3?
|
|
|
Dave
|
|
Group: Administrators
Posts: 13K,
Visits: 108K
|
It's quite simple actually: Your launch page / web experiment runs on Inquisit *3* Web. However, conditional <include>s have only been introduced with Inquisit *4*. They are not available in Inquisit 3.
|
|
|
Martine
|
|
Group: Forum Members
Posts: 9,
Visits: 1
|
Hi Dave, This is the link: http://research.millisecond.com/schubert/Onlinecomplete.web I hope you can see what's wrong with it. I pasted the script here: http://pastebin.com/44T6b8in maybe that can help you. Thanks again
|
|
|
Dave
|
|
Group: Administrators
Posts: 13K,
Visits: 108K
|
Yes, that's strange. Can you post the link to your launch page, please?
|
|
|
Martine
|
|
Group: Forum Members
Posts: 9,
Visits: 1
|
Good evening Dave, When I use your approach it works correctly from my desktop, but when I run it from the internet, inquisit seems to always pick the first <include element> in line, independent of subjectid, which is strange, because the <expt> version is also dependent on subjectid, and this does work. So when I enter subjectnr '4', it does run the right experiment, but it includes the items that belong to subjectnr 1, strange, isn't it? This only happens online and not from the desktop.. Hope you can help me out! Martine
|
|
|
Martine
|
|
Group: Forum Members
Posts: 9,
Visits: 1
|
Hi Dave, Thank you for your answer! I will use this approach when my participants come to the lab for the second time.
|
|
|
Dave
|
|
Group: Administrators
Posts: 13K,
Visits: 108K
|
Unfortunately I do not understand how to make this option conditional, in a way that the included file depends on the subjectid number that each participant has to provide at the start of the experiment See the documentation for the <include> element's /precondition attribute. <include> / precondition = [script.subjectid==1] / file = "subject1.iqx" </include>
<include> / precondition = [script.subjectid==2] / file = "subject2.iqx" </include>
...
<include> / precondition = [script.subjectid==20] / file = "subject20.iqx" </include> Is it possible that the included file depends on the provided subjected by the participant online? Yes. Of course you need to set up your launch page for participant-entered ids.
|
|
|
Martine
|
|
Group: Forum Members
Posts: 9,
Visits: 1
|
Hello again Dave, Okay so I managed to include an <include> element that specifies which file to include (an individual file for each participant). However, currently the include element refers to a specific file:
<include snacks> / file = "/Users/martinevanwinckel/Documents/STUDIE/SHP8 Research Training I/Inquisit//subject1.iqx" </include> Unfortunately I do not understand how to make this option conditional, in a way that the included file depends on the subjectid number that each participant has to provide at the start of the experiment. To elaborate on my problem a little more, this is how I planned my experiment: In the lab at time 1, each participant makes some choices, for which I prepare individual files afterwards, like you said before. After that, 2 days later, the participant has to go online and perform another task, which should include the individual file. Is it possible that the included file depends on the provided subjected by the participant online? Since I am not a programming expert, I would be very thankful if you could explain to me how I can solve this question. Many thanks in advance! Martine
|
|
|
Martine
|
|
Group: Forum Members
Posts: 9,
Visits: 1
|
Hello again Dave, Okay so I managed to include an <include> element that specifies which file to include (an individual file for each participant). However, currently the include element refers to a specific file:
<include snacks> / file = "/Users/martinevanwinckel/Documents/STUDIE/SHP8 Research Training I/Inquisit//subject1.iqx" </include> Unfortunately I do not understand how to make this option conditional, in a way that the included file depends on the subjectid number that each participant has to provide at the start of the experiment. To elaborate on my problem a little more, this is how I planned my experiment: In the lab at time 1, each participant makes some choices, for which I prepare individual files afterwards, like you said before. After that, 2 days later, the participant has to go online and perform another task, which should include the individual file. Is it possible that the included file depends on the provided subjected by the participant online? Since I am not a programming expert, I would be very thankful if you could explain to me how I can solve this question. Many thanks in advance! Martine
|
|
|