1st Department of Psychiatry, Eginition Hospital, National and Kapodistrian University of Athens, 72-74 Vas Sophias Ane, Athens GR-11528, Greece.
1st Department of Psychiatry, Eginition Hospital, National and Kapodistrian University of Athens, 72-74 Vas Sophias Ane, Athens GR-11528, Greece.
Comput Methods Programs Biomed. 2022 Apr;217:106695. doi: 10.1016/j.cmpb.2022.106695. Epub 2022 Feb 19.
Prisoner's dilemma is one of the most popular concepts among scientific literature. In medical literature the majority of prisoner's dilemma experiments with human participants implement computerized means. Despite this, there is no shared validated tool for prisoner's dilemma tasks.
The application is developed in Javascript programming language and makes use of the pixijs library for WebGL rendering. To create a custom trial, a set of variables have to be set. These refer to the linguistics, user controls, available choices, computer strategy, interaction flow (simultaneous or sequential), opponent's choice prediction requirement, noise induction, human opponent behavior simulation, the way resulted data will be handled and more. Results are in JSON format and include time interval data.
We have developed an application which, given the various parameters experimenter can modify, is able to simulate a large number of single player prisoner's dilemma versions. It is open source with no installation requirement, executable by any modern internet browser remotely or locally with the ability to post data results either locally or remotely. Experimenter only has to modify certain starting values in order to create his design of choice. Two examples are included, with initial settings and results, to demonstrate the use and validity of the application.
Our aim is to assist future researchers in their methodological designs. In this scope, our application, has the minimum requirements, can be served either locally or remotely, has a wide range of modifiable parameters and takes care of the resulted data. In the long term, a shared and validated tool would contribute to increasing methodologies' credibility and mitigating cross-validation discrepancies.
囚徒困境是科学文献中最受欢迎的概念之一。在医学文献中,大多数涉及人类参与者的囚徒困境实验都采用计算机化手段。尽管如此,目前还没有用于囚徒困境任务的共享验证工具。
该应用程序是用 JavaScript 编程语言开发的,并利用 pixijs 库进行 WebGL 渲染。要创建自定义试验,必须设置一组变量。这些变量涉及语言学、用户控制、可用选项、计算机策略、交互流程(同时或顺序)、对手选择预测要求、噪声诱导、人类对手行为模拟、处理结果数据的方式等。结果以 JSON 格式呈现,包括时间间隔数据。
我们开发了一个应用程序,根据实验者可以修改的各种参数,它能够模拟大量的单人囚徒困境版本。它是开源的,无需安装,任何现代互联网浏览器都可以远程或本地执行,并且具有在本地或远程发布数据结果的能力。实验者只需修改某些起始值,就可以创建他选择的设计。包含两个示例,带有初始设置和结果,以演示应用程序的使用和有效性。
我们的目标是帮助未来的研究人员进行方法设计。在这个范围内,我们的应用程序具有最低要求,可以在本地或远程使用,具有广泛的可修改参数,并照顾到结果数据。从长远来看,一个共享和验证的工具将有助于提高方法的可信度,并减轻交叉验证差异。