[open] Record random presentation in sequential order in the log file
Hi all,
I am a new user of Opensesame I am really gratefull to the developpers for providing such a tool!!!
I'm having some trouble with the log file, because for my experiment i want the stimuli to be presented in random order, but then I would like that in the log file the results from all the participants will appear all in the same order not in the order that they were presented to the participants.
In this way will be easy for me to copy the logs file of the participants all in the same dataframe to run statistical analysis.
I hope I could explain my self, it is possible to do something like that? (by the way I don't know the pyton language)
Thanks a lot!!
Comments
Hi Mauro,
There's no way to alter the order of the rows of the logfile itself, but you could use something like the following trick. Add a new variable to your
looptable, saysort_id, and simply give it incremental values, starting from 1, like so:Then, during the analysis, you can use this variable to sort your dataframe in R, Excel, or whatever analysis package you may be using.
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!