Hi everyone,
I’m currently working on an online experiment where participant dropouts can cause problems because proceeding with a reduced group would be quite inconvenient for the study design.
In the paper presenting Lioness, it’s mentioned that "using JavaScript, experimenters can define programmed responses to replace group members who drop out (e.g., based on previous responses of other participants)." It also says that several example experiments implementing such “robots” are available from the repository (see Sect. 6).
I’ve been looking through the lioness repository but haven’t been able to find these example experiments because they are so many. Does someone happen to have the reference of an experiment that uses this feature, and where it can be found? Or share an example of how this feature is implemented?
Thanks in advance for your help!
Best,
Lou Schubert
Hi Lou,
Thank you for your question. The basic logic is to add a JavaScript element that defines what happens upon dropout. You can add this in a screen where, e.g., results are calculated and shown to participants.
if (currentGroupSize < groupSize) {
// apply the rules for what happens upon dropout
// for example, assuming that there are 3 players in a group, and 1 has dropped out
// the relevant variable is called “contribution”, which can vary between 0 and 10
contributions = getValues(‘contribution’)
// contributions will be an array of length 2
missingValues = groupSize - contributions.length;
for (i=0; i<missingValues; i++){
botContribution = Math.round(Math.random()*10)
contributions.push(botContribution)
}
// now the array with contributions is filled up with bot responses
}
Hope this makes sense!
NB: my Outlook messes with the apostrophes so please make sure they are “straight” and not “curly” when you use this code in LIONESS.
Cheers, Lucas
--
You received this message because you are subscribed to the Google Groups "LIONESS Lab help and discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lioness-lab...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/lioness-lab/98f000ff-24b0-41ba-b1a7-508600c7e6acn%40googlegroups.com.