The Positive and Negative Affect Schedule (PANAS 10) SCRIPT INFO Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC Date: 11-16-2016 last updated: 05-30-2018 by K.Borchert for Millisecond Software LLC Modified to PANAS 10 item version by Costanza Alessio Last updated by Cindy Ripoll, Jha Lab: 06-27-2022 Script Copyright © 05-30-2018 Millisecond Software BACKGROUND INFO *Purpose* This script implements the The Positive and Negative Affect Schedule (PANAS) by: Watson, D., Clark, L.A. & Tellegen, A. (1988). Development and Validation of Brief Measures of Positive and Negative Affect: The PANAS Scales. Journal of Personality and Social Psychology, 54, 1063-1070. *Task* 10 5-point Likert scale question (5 positive adjectives, 5 negative adjectives) DATA FILE INFORMATION: The default data stored in the data files are: (1) Raw data file: 'panas.iqdat' date, time, group, subject: date and time script was run with the current group/subjectnumber build: the Inquisit build q*_response: response given (in assigned values) q*_latency: how much time (in ms) the participant spent on the surveypage with this particular question (the last time this particular surveypage was visited) (2) Summary data file: 'panas_summary.iqdat' (Inquisit Lab: one data file per participant) script.startdate: date script was run script.starttime: time script was started script.subjectid: subject id number script.groupid: group id number /expGroup: 1 = control group; 2 = youTube video only; 3 = other video only; 4 = youTube video -> other video blockcode, blocknum: the name and number of the current block script.elapsedtime: time it took to run script (in ms) computer.platform: the platform the script was run on /completed: 0 = script was not completed (prematurely aborted); 1 = script was completed (all conditions run) /timePeriod: part of the instructions that mention the time period for feeling a certain way (default: "right now") /PA: positive affect score (totalscore of all 10 P items: 1, 3, 5, 9, 10, 12, 14, 16, 17, 19), Range: 10-50 /NA: negative affect score (totalscore of all 10 N items: 2, 4, 6, 7, 8, 11, 13, 15, 18, 20), range: 10-50 QUESTIONNAIRE SET-UP 10 5-point Likert scale question (5 positive adjectives, 5 negative adjectives) positive (P) items: 3, 5, 7, 8, 9 negative (N) items: 1, 2, 4, 6, 10 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: /timePeriod: part of the instructions that mention the time period for feeling a certain way (default: "right now") ******************************************************************************************************************* ******************************************************************************************************************* EDITABLE PARAMETERS ******************************************************************************************************************* ******************************************************************************************************************* /pageinstructions: the instructions that appear at the top of each surveypage /timePeriod = " Questionnaire This questionnaire consists of ten words that describe different feelings and emotions. Read each word and then select the answer choice from the scale below each word. Indicate to what extent you have felt this way in the PAST MONTH." /feedbackcheck = " It looks like you skipped a question! If you did not intend to skip a question, please click the BACK button to return to the previous page to answer the question. If this question was skipped intentionally, please click the CONTINUE button in order to move on to the next page. " /feedbackdone = " You have completed this questionnaire. Please click the NEXT button in order to move on to the next section of the experiment. " ******************************************************************************************************************* ******************************************************************************************************************* EDITABLE INSTRUCTIONS ******************************************************************************************************************* ******************************************************************************************************************* / fontstyle = ("Arial", 3.00%, false, false, false, false, 5, 1) / txcolor = (black) You have completed this questionnaire. ******************************************************************************************************************* ******************************************************************************************************************* REMAINING CODE: Customize after careful consideration only ******************************************************************************************************************* ******************************************************************************************************************* ******************************************************************************************************************* ******************************************************************************************************************* DEFAULTS: ******************************************************************************************************************* ******************************************************************************************************************* requires Inquisit 5.0.5.0 /minimumversion = "5.0.5.0" /canvasaspectratio = (0,0) / quitcommand = (Ctrl+36) ******************************************************************************************************************* ******************************************************************************************************************* DATA: this section contains data file information ******************************************************************************************************************* ******************************************************************************************************************* ************************************************************************************************************** ************************************************************************************************************** DATA ************************************************************************************************************** ************************************************************************************************************** Note: data file explanations under User Manual Information at the top ******************** Summary data ******************** /columns = (script.startdate, script.starttime, script.subjectid, script.groupid, values.expGroup, script.elapsedtime, computer.platform, values.completed, expressions.PA, expressions.NA, values.PA_Exclusion, values.NA_Exclusion) / separatefiles = true ******************************************************************************************************************* ******************************************************************************************************************* VALUES: automatically updated ******************************************************************************************************************* ******************************************************************************************************************* /completed: 0 = script was not completed (script prematurely aborted); 1 = script was completed (all conditions run) /completed = 0 /expGroup = 0 /feedback_page1 = 0 /feedback_page2 = 0 /feedback_page3 = 0 /feedback_page4 = 0 /feedback_page5 = 0 /PA_Count = 0 /NA_Count = 0 /PA_Exclusion = 0 /NA_Exclusion = 0 ******************************************************************************************************************* ******************************************************************************************************************* EXPRESSIONS ******************************************************************************************************************* ******************************************************************************************************************* /PA = dropdown.q3.response + dropdown.q5.response + dropdown.q7.response + dropdown.q8.response + dropdown.q9.response /NA = dropdown.q1.response + dropdown.q2.response + dropdown.q4.response + dropdown.q6.response + dropdown.q10.response ******************************************************************************************************************* ******************************************************************************************************************* QUESTIONS ******************************************************************************************************************* ******************************************************************************************************************* Note: by default all questions are required to be answered. To change /required = false / caption = "1. Upset" / options = ("1) Very slightly or not at all", "2) A little", "3) Moderately", "4) Quite a bit", "5) Extremely") / required = false / optionvalues = ("1", "2", "3", "4", "5") / caption = "2. Hostile" / options = ("1) Very slightly or not at all", "2) A little", "3) Moderately", "4) Quite a bit", "5) Extremely") / required = false / optionvalues = ("1", "2", "3", "4", "5") / caption = "3. Alert" / options = ("1) Very slightly or not at all", "2) A little", "3) Moderately", "4) Quite a bit", "5) Extremely") / required = false / optionvalues = ("1", "2", "3", "4", "5") / caption = "4. Ashamed" / options = ("1) Very slightly or not at all", "2) A little", "3) Moderately", "4) Quite a bit", "5) Extremely") / required = false / optionvalues = ("1", "2", "3", "4", "5") / caption = "5. Inspired" / options = ("1) Very slightly or not at all", "2) A little", "3) Moderately", "4) Quite a bit", "5) Extremely") / required = false / optionvalues = ("1", "2", "3", "4", "5") / caption = "6. Nervous" / options = ("1) Very slightly or not at all", "2) A little", "3) Moderately", "4) Quite a bit", "5) Extremely") / required = false / optionvalues = ("1", "2", "3", "4", "5") / caption = "7. Determined" / options = ("1) Very slightly or not at all", "2) A little", "3) Moderately", "4) Quite a bit", "5) Extremely") / required = false / optionvalues = ("1", "2", "3", "4", "5") / caption = "8. Attentive" / options = ("1) Very slightly or not at all", "2) A little", "3) Moderately", "4) Quite a bit", "5) Extremely") / required = false / optionvalues = ("1", "2", "3", "4", "5") / caption = "9. Active" / options = ("1) Very slightly or not at all", "2) A little", "3) Moderately", "4) Quite a bit", "5) Extremely") / required = false / optionvalues = ("1", "2", "3", "4", "5") / caption = "10. Afraid" / options = ("1) Very slightly or not at all", "2) A little", "3) Moderately", "4) Quite a bit", "5) Extremely") / required = false / optionvalues = ("1", "2", "3", "4", "5") ******************************************************************************************************************* ******************************************************************************************************************* SURVEYPAGES ******************************************************************************************************************* ******************************************************************************************************************* / caption = "<%parameters.timePeriod%> " / fontstyle = ("Arial", 3%, false, false, false, false, 5, 1) / subcaptionfontstyle = ("Arial", 2.5%, true, true, false, false, 5, 1) / itemfontstyle = ("Arial", 3%, true, false, false, false, 5, 1) / responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1) / txcolor = (0, 0, 0) /questions = [1 = q1, q2] /showpagenumbers = false /showquestionnumbers = false / ontrialend = [ values.feedback_page1 = 0; if (dropdown.q1.response >= 1) values.feedback_page1 += 1; if (dropdown.q2.response >= 1) values.feedback_page1 += 1; ] /caption = "<%parameters.feedbackcheck%>" / fontstyle = ("Arial", 3%, false, false, false, false, 5, 1) / subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1) / itemfontstyle = ("Arial", 3%, true, false, false, false, 5, 1) / responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1) / txcolor = (0, 0, 0) / showpagenumbers = false / showquestionnumbers = false / skip = [ values.feedback_page1 > 1 ] / caption = "<%parameters.timePeriod%> " / fontstyle = ("Arial", 3%, false, false, false, false, 5, 1) / subcaptionfontstyle = ("Arial", 2.5%, true, true, false, false, 5, 1) / itemfontstyle = ("Arial", 3%, true, false, false, false, 5, 1) / responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1) / txcolor = (0, 0, 0) /questions = [1 = q3, q4] /showpagenumbers = false /showquestionnumbers = false / ontrialend = [ values.feedback_page2 = 0; if (dropdown.q3.response >= 1) values.feedback_page2 += 1; if (dropdown.q4.response >= 1) values.feedback_page2 += 1; ] /caption = "<%parameters.feedbackcheck%>" / fontstyle = ("Arial", 3%, false, false, false, false, 5, 1) / subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1) / itemfontstyle = ("Arial", 3%, true, false, false, false, 5, 1) / responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1) / txcolor = (0, 0, 0) / showpagenumbers = false / showquestionnumbers = false / skip = [ values.feedback_page2 > 1 ] / caption = "<%parameters.timePeriod%> " / fontstyle = ("Arial", 3%, false, false, false, false, 5, 1) / subcaptionfontstyle = ("Arial", 2.5%, true, true, false, false, 5, 1) / itemfontstyle = ("Arial", 3%, true, false, false, false, 5, 1) / responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1) / txcolor = (0, 0, 0) /questions = [1 = q5, q6] /showpagenumbers = false /showquestionnumbers = false / ontrialend = [ values.feedback_page3 = 0; if (dropdown.q5.response >= 1) values.feedback_page3 += 1; if (dropdown.q6.response >= 1) values.feedback_page3 += 1; ] /caption = "<%parameters.feedbackcheck%>" / fontstyle = ("Arial", 3%, false, false, false, false, 5, 1) / subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1) / itemfontstyle = ("Arial", 3%, true, false, false, false, 5, 1) / responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1) / txcolor = (0, 0, 0) / showpagenumbers = false / showquestionnumbers = false / skip = [ values.feedback_page3 > 1 ] / caption = "<%parameters.timePeriod%> " / fontstyle = ("Arial", 3%, false, false, false, false, 5, 1) / subcaptionfontstyle = ("Arial", 2.5%, true, true, false, false, 5, 1) / itemfontstyle = ("Arial", 3%, true, false, false, false, 5, 1) / responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1) / txcolor = (0, 0, 0) /questions = [1 = q7, q8] /showpagenumbers = false /showquestionnumbers = false / ontrialend = [ values.feedback_page4 = 0; if (dropdown.q7.response >= 1) values.feedback_page4 += 1; if (dropdown.q8.response >= 1) values.feedback_page4 += 1; ] /caption = "<%parameters.feedbackcheck%>" / fontstyle = ("Arial", 3%, false, false, false, false, 5, 1) / subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1) / itemfontstyle = ("Arial", 3%, true, false, false, false, 5, 1) / responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1) / txcolor = (0, 0, 0) / showpagenumbers = false / showquestionnumbers = false / skip = [ values.feedback_page4 > 1 ] / caption = "<%parameters.timePeriod%> " / fontstyle = ("Arial", 3%, false, false, false, false, 5, 1) / subcaptionfontstyle = ("Arial", 2.5%, true, true, false, false, 5, 1) / itemfontstyle = ("Arial", 3%, true, false, false, false, 5, 1) / responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1) / txcolor = (0, 0, 0) /questions = [1 = q9, q10] /showpagenumbers = false /showquestionnumbers = false / ontrialend = [ values.feedback_page5 = 0; if (dropdown.q9.response >= 1) values.feedback_page5 += 1; if (dropdown.q10.response >= 1) values.feedback_page5 += 1; ] /caption = "<%parameters.feedbackcheck%>" / fontstyle = ("Arial", 3%, false, false, false, false, 5, 1) / subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1) / itemfontstyle = ("Arial", 3%, true, false, false, false, 5, 1) / responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1) / txcolor = (0, 0, 0) / showpagenumbers = false / showquestionnumbers = false / skip = [ values.feedback_page5 > 1 ] /caption = "<%parameters.feedbackdone%>" / fontstyle = ("Arial", 3%, false, false, false, false, 5, 1) / subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1) / itemfontstyle = ("Arial", 3%, true, false, false, false, 5, 1) / responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1) / txcolor = (0, 0, 0) / showpagenumbers = false / showquestionnumbers = false / ontrialend = [ if (dropdown.q1.response >= 1) values.na_count += 1; if (dropdown.q2.response >= 1) values.na_count += 1; if (dropdown.q3.response >= 1) values.pa_count += 1; if (dropdown.q4.response >= 1) values.na_count += 1; if (dropdown.q5.response >= 1) values.pa_count += 1; if (dropdown.q6.response >= 1) values.na_count += 1; if (dropdown.q7.response >= 1) values.pa_count += 1; if (dropdown.q8.response >= 1) values.pa_count += 1; if (dropdown.q9.response >= 1) values.pa_count += 1; if (dropdown.q10.response >= 1) values.na_count += 1; if (values.PA_Count > 4) values.PA_Exclusion = 0; if (values.NA_Count > 4) values.NA_Exclusion = 0; ] ******************************************************************************************************************* ******************************************************************************************************************* SURVEY ******************************************************************************************************************* ******************************************************************************************************************* Notes: - presents the surveypages - to take pictures of each screen set /screencapture = true /pages = [ 1 = page1; 2 = skipped_question1; 3 = page2; 4 = skipped_question2; 5 = page3; 6 = skipped_question3; 7 = page4; 8 = skipped_question4; 9 = page5; 10 = skipped_question5; 11 = done; ] /screencapture = false / navigationbuttonfontstyle = ("Arial", 3%, false, false, false, false, 5, 1) / navigationbuttonsize = (15%, 5%) / backbuttonposition = (20%, 90%) / nextbuttonposition = (70%, 90%) / finishlabel = "NEXT" / onblockend = [ values.completed = 1; ] ******************************************************************************************************************* End of File *******************************************************************************************************************