Demographic questions in online distributed experiment
in OpenSesame
Hi all,
How are demographic questions like gender and age integrated in an online distributed experiment?
Inline python script is not supported in JATOS.
And with inline JavaScript you can only:
- You can get and set experimental variables using the
varsobject, which works similarly to thevarobject in Python. - You cannot create
Canvas,Keyboardobjects, etc. - The JavaScript workspace is not persistent. That is, if you define a variable in one script, it will not be accessible in another script. The only exception is the
varsobject, which is persistent.
Thanks in advance!
Zoë
Comments
Just found out about the readymade Form options. https://osdoc.cogsci.nl/3.2/manual/forms/readymade/
But they are also not supported for online distribution via JATOS...
It seems that collecting demographics - or any user input other than keypresses - is not something easily done in Open Sesame, especially not in OSWeb/JATOS. I have decided to send my participants to a Qualtrics survey first, and then uses 'Redirect to URL' at the end to chain to the Open Sesame study on my JATOS server. Of course I will end up with two data files, from different platforms, to join together but I cannot think of a simpler way to do it.
Hi, You can present each individual question on its own sketchpad. For example, "are you male or female? press M for male or F for female. Use a keyboard response and allow M and F as responses.
For age or other questions that require a text input then you need to use a text loop (see here https://forum.cogsci.nl/discussion/4737/text-input-form-for-use-with-jatos and here https://forum.cogsci.nl/discussion/6280/word-fragment-completion-task#latest )
Anyother option is to present a list (for example, collecting age as a nominal category then you present a list, e.g. press 1 if you are 20-29, 2 if you are 30-39 etc. Use a keyboard response and allow 1,2,3,...as responses.
If you go with the qualtrics option, make sure that you can match the data from the 2 platforms. Ask a question at the end of qualtrics and the same question at the start of the jatos experiment. Example, what was your first pets name or what was the name of your first girlfrienf/boyfriend? This would also require a text input on opensesame.
Hope this helps.
Best wishes
Deiniol