___________________________________________________________________________________________________________________ CONSTANT SUM DEMO ___________________________________________________________________________________________________________________ Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC Date: 06-18-2014 last updated: 10-25-2023 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC Script Copyright © 10-25-2023 Millisecond Software ___________________________________________________________________________________________________________________ BACKGROUND INFO ___________________________________________________________________________________________________________________ This script runs code to run a simple Constant Sum Demo ___________________________________________________________________________________________________________________ TASK ___________________________________________________________________________________________________________________ Participants are asked to allocate 100 points to 3 attributes of product X. If the numbers don't add up to 100 after 'submitting' a warning is flashed onto the screen that alerts participant to the fact that numbers don't add up (and gives them the current actual sum). Participants can then correct the allocations. If you have any questions, please don't hesitate to contact Millisecond Software. ___________________________________________________________________________________________________________________ DATA ___________________________________________________________________________________________________________________ 1) raw data: constantsum_demo.iqdat.iqdat date, time, subject: date and time script was run with the current subjectnumber blockCode, blockNum: the name and number of the current block trialCode, trialNum: the name and number of the currently recorded trial (Note: not all trials that are run might record data) response: the participant's response latency: the response latency /productX: sets the label for productX (default: "ProductX") /attribute1: set the label for attribute1 (default: "Attribute1") /number_attribute1: stores the number allocated to attribute1 /attribute2: set the label for attribute2 (default: "Attribute2") /number_attribute2: stores the number allocated to attribute2 /attribute3: set the label for attribute3 (default: "Attribute3") /number_attribute3: stores the number allocated to attribute3 /remainder: stores the current remainder sum 2) summary data script.startDate: date script was run script.startTime: time script was started script.subjectId: subject id number script.groupId: group id number script.elapsedTime: time it took to run script (in ms) /completed: 0 = script was not completed; 1 = script was completed (all conditions run) /productX: sets the label for productX (default: "ProductX") /attribute1: set the label for attribute1 (default: "Attribute1") /number_attribute1: stores the number allocated to attribute1 /attribute2: set the label for attribute2 (default: "Attribute2") /number_attribute2: stores the number allocated to attribute2 /attribute3: set the label for attribute3 (default: "Attribute3") /number_attribute3: stores the number allocated to attribute3 /remainder: stores the current remainder sum /counts_attempts: counts how often participant had to correct her responses as they did not add up to 100 EDITABLE PARAMETERS /productX: sets the label for productX (default: "ProductX") /attribute1: sets the label for attribute1 (default: "Attribute1") /attribute2: sets the label for attribute2 (default: "Attribute2") /attribute3: sets the label for attribute3 (default: "Attribute3")