Hi Karl,
You are right about the background variable. In this case it might work to say in the parameters that the experiment has multiple periods (e.g., put that at a very high number), and start a new stage after stage Z. From period 2 onwards, you can check in stage X if in the previous period the proposal was accepted or rejected. If accepted, you can show a button that pushes participants to stage outside of the loop (i.e. they are done bargaining). If rejected, you show a button that leads them to stage Y (i.e. they have to bargain again). This way you do not have to mess with the “wait for others” functionality.
Does this make sense?
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/66a027df-8c50-48e3-9f25-edb79e816523n%40googlegroups.com.
* that should read “start a new *period* after stage Z” so that stage X is the beginning of the loop, and stage Z is the end of the loop.
From: in...@lioness-lab.org <in...@lioness-lab.org>
Sent: dinsdag 4 maart 2025 22:25
To: 'Karl Schuhmacher' <ksch...@gmail.com>; 'LIONESS Lab help and discussion' <lione...@googlegroups.com>
Subject: RE: Bargaining Game
Hi Karl,
You are right about the background variable. In this case it might work to say in the parameters that the experiment has multiple periods (e.g., put that at a very high number), and start a new stage after stage Z. From period 2 onwards, you can check in stage X if in the previous period the proposal was accepted or rejected. If accepted, you can show a button that pushes participants to stage outside of the loop (i.e. they are done bargaining). If rejected, you show a button that leads them to stage Y (i.e. they have to bargain again). This way you do not have to mess with the “wait for others” functionality.
Does this make sense?
Cheers, Lucas
From: lione...@googlegroups.com <lione...@googlegroups.com> On Behalf Of Karl Schuhmacher
Sent: dinsdag 4 maart 2025 21:51
To: LIONESS Lab help and discussion <lione...@googlegroups.com>
Subject: Bargaining Game
Lucas,
--
Hi Karl,
Thanks for clarifying. These variables are not in the documentation as it’s easy to derail the experiment if they are used the wrong way.
I believe that in your case you could try manually setting the internal variable (which is indeed not visible in the control panel or in the documentation).
At the beginning of each stage within your loop, you can use the JS command:
setValue("core", "playerNr="+playerNr, "wait_XXXXXXready", 0)
where the XXXXXX after “wait_” corresponds to the internal identifier of the current stage. You can find this number for each stage by hovering over the stage tab on top of the screen. It’s usually a 6-digit number. So the JS line could read something like:
setValue("core", "playerNr="+playerNr, "wait_439888ready", 0)
I did not test this for your specific setup, but hopefully this points you in the right direction. Should this not solve your issue, please share your experiment ID with me and I can have a look for your specific case.
To view this discussion, visit https://groups.google.com/d/msgid/lioness-lab/4ffe1488-5314-440f-89e0-53c48a8daa2fn%40googlegroups.com.