Millisecond Forums

present stimuli provided by subjects on different timepoints

https://forums.millisecond.com/Topic10201.aspx

By Martine - 4/4/2013

Hi,


The experiment I am planning to run consists of three tasks: the first in the lab at time1, the second task is conducted online in the week following time1 and the third task will take place in the lab again (time3). 


During the first task, participants are asked to choose 5 items from a predetermined list, which will be used in the rest of the experiment. So far, I managed to incorporate this in the first task, but my question is whether these specified stimuli at time1 can be linked to the online task and third task; without having them to choose again (this is what I aim for), or whether they will have to provide their choices again at time2 and time3.


In other words: is there a way to link the responses from one experiment to other experiment?


Hopefully someone can help me out :)


Thanks in advance,


Martine 

By Dave - 4/4/2013

In other words: is there a way to link the responses from one experiment to other experiment?


No, there isn't, I'm afraid.

By Martine - 4/4/2013

Okay, thanks for your response!

By Dave - 4/4/2013

To elaborate on this a little more, there is a way to do this semi-automatically.


After the 1st session, you'd have to sit down and prepare a file for each participant which contains the items the respective participant has chosen in the 1st session.


Then, in your scripts for the 2nd and 3rd session, import the correct file via conditional <include> elements based on the subject id provided by the participant.


Whether that approach is practical will largely depend on the number of participants you are shooting for. Probably okay for a few dozens, for hundreds or more, not so much I would assume.

By Martine - 4/20/2013

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

By Martine - 4/20/2013

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

By Dave - 4/20/2013

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.

By Martine - 4/23/2013

Hi Dave,


Thank you for your answer! I will use this approach when my participants come to the lab for the second time. 

By Martine - 4/23/2013

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

By Dave - 4/23/2013

Yes, that's strange. Can you post the link to your launch page, please?

By Martine - 4/23/2013

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

By Dave - 4/23/2013

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.

By Martine - 4/23/2013

Ah that explains a lot, thanks. Is there another way to implement some sort of inclusion criteria in Inquisit 3? 

By Dave - 4/23/2013

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.