Hi everyone,
I currently have this script running in Inquisit, which I would like to adapt to Qualtrics. Do you know how to do this?
If it cannot be adapted here is the design: I am looking for a qulatrics design where a picture is shown filled with dots for 3 seconds, then it disappears and the participant is asked how many dots there was. This is round 1 and is done for 30 pictures with dots.
Then in round 2 the same 30 pictures are shown one after one for 3 seconds (as in round 1). The difference is now that after the 3 seconds showing the old picture the participant is told that "other participants" have estimated the number of dots to be *number of dots the participant him/her self said + 15 %*. And once again the participant puts in the number of dots they now think were there.
Any help is appreciated! Thank you in advance!
MY CURRENT HTML INQUISIT SCRIPT:
___________________________________________________________________________________________________________________
Dot Estimation Task
___________________________________________________________________________________________________________________
last updated: 02-22-2022 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC
Script Copyright 02-22-2022 Millisecond Software
___________________________________________________________________________________________________________________
BACKGROUND INFO
___________________________________________________________________________________________________________________
This script implements a Dot Estimation Task, a quick task to manipulate 'Group Membership' by arbitrarily assigning
participants to one of two groups seemingly based on their performance on this task.
Reference:
Mussweiler, T., Gabriel, S., & Bodenhausen, G.V. (2000). Shifting Social Identities as a Strategy for Deflecting
Threatening Social Comparisons. Journal of Personality and Social Psychology, 79, 398-409.
___________________________________________________________________________________________________________________
TASK DESCRIPTION
___________________________________________________________________________________________________________________
Participants view several slides that contain a varying number of dots for 1000s (not enough time to count all the dots)
and are subsequently asked to estimate the number of dots.
Based on their preassigned groups, they are told at the end that they are either "underestimators" or "overestimators"
regardless of their actual estimation performance.
___________________________________________________________________________________________________________________
DURATION
___________________________________________________________________________________________________________________
the default set-up of the script takes appr. 1.5 minutes to complete
___________________________________________________________________________________________________________________
DATA FILE INFORMATION
___________________________________________________________________________________________________________________
The default data stored in the data files are:
(1) Raw data file: 'dotestimationtask_raw*.iqdat' (a separate file for each participant)
build: The specific Inquisit version used (the 'build') that was run
computer.platform: the platform the script was run on (win/mac/ios/android)
date, time: date and time script was run
subject, group: with the current subject/groupnumber
session: with the current session id
blockcode, blocknum: the name and number of the current block (built-in Inquisit variable)
trialcode, trialnum: the name and number of the currently recorded trial (built-in Inquisit variable)
Note: trialnum is a built-in Inquisit variable; it counts all trials run; even those
that do not store data to the data file.
estimatortype: between group condition "Underestimator"/"Overestimator"
stimulusitem: the presented Dot image
response: the participant's response
latency: the response latency (in ms)
(2) Summary data file: 'dotestimationtask_summary*.iqdat' (a separate file for each participant)
inquisit.version: Inquisit version run
computer.platform: the platform the script was run on (win/mac/ios/android)
startdate: date script was run
starttime: time script was started
subjectid: assigned subject id number
groupid: assigned group id number
sessionid: assigned session id number
elapsedtime: time it took to run script (in ms); measured from onset to offset of script
completed: 0 = script was not completed (prematurely aborted);
1 = script was completed (all conditions run)
estimatortype: between group condition "Underestimator"/"Overestimator"
___________________________________________________________________________________________________________________
EXPERIMENTAL SET-UP
___________________________________________________________________________________________________________________
* assigns participants to "overestimator" and "underestimator" condition via groupnumber
(odd -> underestimator; even -> overestimator)
* presents 11 slides of dots in sequence for 1000ms (default)
* presents feedback at the end according to assigned group independent of actual estimation
___________________________________________________________________________________________________________________
STIMULI
___________________________________________________________________________________________________________________
see section Editable Stimuli
___________________________________________________________________________________________________________________
INSTRUCTIONS
___________________________________________________________________________________________________________________
see section Editable Instructions
___________________________________________________________________________________________________________________
EDITABLE CODE
___________________________________________________________________________________________________________________
check below for (relatively) easily editable parameters, stimuli, instructions etc.
Keep in mind that you can use this script as a template and therefore always "mess" with the entire code
to further customize your experiment.
The parameters you can change are:
pretrialpause: Adjustable delay in milliseconds. Change as needed.
dotduration: Display duration for the dot patterns in milliseconds.
**************************************************************************************************************
**************************************************************************************************************
EDITABLE PARAMETERS: change editable parameters here
**************************************************************************************************************
**************************************************************************************************************
/ pretrialpause = 200
/ dotduration = 1000
**************************************************************************************************************
**************************************************************************************************************
EDITABLE STIMULI: change editable stimuli here
**************************************************************************************************************
**************************************************************************************************************
/ 1 = "dots01.jpg"
/ 2 = "dots02.jpg"
/ 3 = "dots03.jpg"
/ 4 = "dots04.jpg"
/ 5 = "dots05.jpg"
/ 6 = "dots06.jpg"
/ 7 = "dots07.jpg"
/ 8 = "dots08.jpg"
/ 9 = "dots09.jpg"
/ 10 = "dots10.jpg"
/ 11 = "dots11.jpg"
/ 12 = "dots12.jpg"
/ 13 = "dots13.jpg"
/ 14 = "dots14.jpg"
/ 15 = "dots15.jpg"
/ 16 = "dots16.jpg"
/ 17 = "dots17.jpg"
/ 18 = "dots18.jpg"
/ 19 = "dots19.jpg"
/ 20 = "dots20.jpg"
/ 21 = "dots21.jpg"
/ 22 = "dots22.jpg"
/ 23 = "dots23.jpg"
/ 24 = "dots24.jpg"
/ 25 = "dots25.jpg"
/ 26 = "dots26.jpg"
/ 27 = "dots27.jpg"
/ 28 = "dots28.jpg"
/ 29 = "dots29.jpg"
/ 30 = "dots30.jpg"
/ 31 = "dots31.jpg"
/ 32 = "dots32.jpg"
/ 33 = "dots33.jpg"
/ 34 = "dots34.jpg"
/ 35 = "dots35.jpg"
/ 36 = "dots36.jpg"
/ 37 = "dots37.jpg"
/ 38 = "dots38.jpg"
/ 39 = "dots39.jpg"
/ 40 = "dots40.jpg"
/ 41 = "dots41.jpg"
/ 42 = "dots42.jpg"
/ 43 = "dots43.jpg"
/ 44 = "dots44.jpg"
/ 45 = "dots45.jpg"
/ 46 = "dots46.jpg"
/ 47 = "dots47.jpg"
/ 48 = "dots48.jpg"
/ 49 = "dots49.jpg"
/ 50 = "dots50.jpg"
/ 51 = "dots51.jpg"
/ 52 = "dots52.jpg"
/ 53 = "dots53.jpg"
/ 54 = "dots54.jpg"
/ 55 = "dots55.jpg"
/ 56 = "dots56.jpg"
/ 57 = "dots57.jpg"
/ 58 = "dots58.jpg"
/ 59 = "dots59.jpg"
/ 60 = "dots60.jpg"
/ poolsize = 60
/ items = (0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
/ items = (1.10, 1.15, 1.20, 1.25, 1.30)
/ poolsize = 60
/ replace = false
**************************************************************************************************************
**************************************************************************************************************
EDITABLE INSTRUCTIONS: change instructions here
**************************************************************************************************************
**************************************************************************************************************
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ navigationbuttonfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ screencolor = (0, 0, 153)
/ txcolor = whiteVelkommen til Dot Estimation Task!
Du vil se et tilfældigt mønster af prikker på skærmen i et tidsrum på 3 sekunder.
Efter hvert mønster vil vi bede dig vurdere, hvor mange prikker du lige har set på skærmen.
Prøv at estimere antallet af prikker så nøjagtigt som muligt.
Forsøg ikke at tælle prikkerne, da de vil forsvinde hurtigere end du kan nå at tælle dem.
Der vil i alt være 60 runder efterfulgt at en pause på 10 minutter og derefter 60 runder igen.
Du har nået slutningen af denne opgave.Tak for hjælpen!
Pause i 10 minutter.
**************************************************************************************************************
!!!REMAINING CODE: Customize after careful consideration only!!!
**************************************************************************************************************
**************************************************************************************************************
**************************************************************************************************************
Default Screen & Input Settings
**************************************************************************************************************
**************************************************************************************************************
requires Inquisit 6.5.2.0 or higher
/ canvasaspectratio = (4,3)
/minimumversion = "6.5.2.0"
/ inputdevice = mouse
/ fontstyle = ("Arial", 2.5%, false)
/ screencolor = (0, 0, 153)
/ txcolor = white
/ txbgcolor = (0, 0, 153)
************************************************************************************************************
************************************************************************************************************
Data
************************************************************************************************************
************************************************************************************************************
*********************
raw data
*********************
/ columns = (build, computer.platform, date, time, subject, group, session, blockcode, blocknum,
trialcode, trialnum, values.estimatortype,
stimulusitem, response, latency,
values.dotitem, values.participantestimate, values.multiplier, values.otherestimate)
*********************
summary data
*********************
/ columns = (inquisit.version, computer.platform, script.startdate, script.starttime,
script.subjectid, script.groupid, script.sessionid, script.elapsedtime,
script.completed,
values.estimatortype)
**************************************************************************************************************
**************************************************************************************************************
Values
**************************************************************************************************************
**************************************************************************************************************
/ estimatortype: condition "Underestimator"/"Overestimator"
/ estimatortype = "none"
/ dotitem = 1
/ otherestimate = 0
/ participantestimate = 0
/ multiplier = 1
*************************************************************************************************************
**************************************************************************************************************
Experiment Definition
**************************************************************************************************************
**************************************************************************************************************
Note: Participants are assigned to the Underestimator / Overestimator conditions by their
group number. Odd-numbered groups are assigned to 'underestimator', even-numbered
groups are assigned to 'overestimator'.
**************************************************************************************************************
**************************************************************************************************************
Underestimator Condition
**************************************************************************************************************
**************************************************************************************************************
/ blocks = e1=DotEstimationTask; 2=otherestimation]
/ onexptbegin = *
values.estimatortype="Underestimator";
]
/ preinstructions = (welcome)
/ postinstructions = (end)
/ groups = (1 of 2)
**************************************************************************************************************
**************************************************************************************************************
Overestimator Condition
**************************************************************************************************************
**************************************************************************************************************
/ blocks = f1=DotEstimationTask; 2=otherestimation]
/ onexptbegin = *
values.estimatortype="Overestimator";
]
/ preinstructions = (welcome)
/ postinstructions = (end)
/ groups = (2 of 2)
**************************************************************************************************************
**************************************************************************************************************
Block Elements
**************************************************************************************************************
**************************************************************************************************************
/ trials = s1-60=sequence(dot, estimate); ]
/ preinstructions = (otherintro)
/ trials = *1-60 = sequence(dot, otherestimate); ]
**************************************************************************************************************
**************************************************************************************************************
Trial Elements
**************************************************************************************************************
**************************************************************************************************************
Trial Displaying Dot Pattern
**************************************************************************************************************
**************************************************************************************************************
/ ontrialbegin = *
values.dotitem = list.dotitems.nextindex;
]
/ stimulusframes = *1=dot]
/ validresponse = (noresponse)
/ trialduration = parameters.dotduration + parameters.pretrialpause
**************************************************************************************************************
**************************************************************************************************************
Trial Collecting Subjects' Estimates 1st round
**************************************************************************************************************
**************************************************************************************************************
/ ontrialend = <
list.estimates.setitem(openended.estimate.response, values.dotitem);
]
/ stimulusframes = *1=estimate]
/ validresponse = (anyresponse)
/ mask = positiveinteger
/ charlimit = 4
/ required = true
/ size = (10%, 5%)
**************************************************************************************************************
**************************************************************************************************************
Trial Collecting Subjects' Estimates 2nd round
**************************************************************************************************************
**************************************************************************************************************
/ ontrialbegin = >
values.multiplier = list.multipliers.nextvalue;
values.participantestimate = list.estimates.item(values.dotitem);
values.otherestimate = ipart(round(values.multiplier*values.participantestimate));
]
/ stimulusframes = l1=otherestimate]
/ validresponse = (anyresponse)
/ mask = positiveinteger
/ charlimit = 4
/ required = true
/ size = (10%, 5%)
/ items = ("Andre deltagere estimerede antallet af prikker i billedet til at være <%values.otherestimate%>.
Vær venlig at indtaste det antal prikker du estimerer at have set.
Næste billede vil blive vist efter der trykkes på knappen 'continue'.")
/ position = (50%, 25%)
**************************************************************************************************************
**************************************************************************************************************
Trial Providing (Bogus) Underestimator / Overestimator Feedback
**************************************************************************************************************
**************************************************************************************************************
/ stimulustimes = *1=wait, computing; 2500=estimatorfeedback]
/ validresponse = (lbuttondown)
/ responsetime = 2500
**************************************************************************************************************
**************************************************************************************************************
Stimulus Elements
**************************************************************************************************************
**************************************************************************************************************
/ items = ("Vær venlig at indtaste det antal prikker du estimerer at have set.
Næste billede vil blive vist efter du trykker 'continue'.")
/ position = (50%, 30%)
/ size = (54%, 5%)
/ items = ("Vær venlig at vente mens computeren noterer din indtastning...")
/ position = (50%, 25%)
/ size = (60%, 5%)
**************************************************************************************************************
**************************************************************************************************************
Overestimator / Underestimator Feedback Text
**************************************************************************************************************
**************************************************************************************************************
/ items = ("~r~rDot Estimation Task Results:
~rYour score on the dot estimation task indicates that you are an <%values.estimatortype%>.
~rIf you would like more information about what it means to be an <%values.estimatortype%>
you may obtain that information from your task administrator at the end of the session.
~r~rClick your left mouse button to continue.")
/ hjustify = left
/ txcolor = black
/ txbgcolor = white
/ position = (50%, 50%)
/ size = (70%, 70%)
**************************************************************************************************************
**************************************************************************************************************
Random Dot Patterns
**************************************************************************************************************
**************************************************************************************************************
**************************************************************************************************************
**************************************************************************************************************
End of File
**************************************************************************************************************
**************************************************************************************************************
Be the first to reply!
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.