By shane - 3/8/2018
Using the script below, where the input is a mouse click on one of two stimuli/photos, there appears to be no data to indicate which photo was clicked, which is my main DV. Of course, I could indicate that one of the two images in the "correct" choice, but that's not actually the case here. I could use that as a proxy for inferring the photo they clicked on, but I'd have to recode that line-by-line so it seems rather inefficient. A second issue is that I'd like to link specific instruction pages to the beginning of specific blocks, but the script below doesn't seem to do that. Your help is appreciated.
defaults > / screencolor = (255, 255, 255) </defaults>
<instruct> / windowsize = (1000px, 800px) / nextkey = (" ") / prevkey = ("5") / fontstyle = ("Arial", 2.05%, false, false, false, false, 5, 0) / wait = 1000 </instruct> ********************************************************* ************ALL INSTRUCTIONS******************** **********************************************************
<page introinstr1>Welcome and thanks for your participation!^^Today you will be viewing a brief description of an act committed by one of two people pictured on the screen^^ You will use the mouse to respond to select which of the two you think was more likely the one who committed the act described. ^^There will be two sets of 50 photos each.^^Feel free to rest after each block if you like. The entire study should last no more than 20 minutes.^^Press the SPACEBAR to continue with more instructions. </page>
<page introinstr2>As just described, you will be shown photos of two men at the same time on the screen, with a description of a behavior performed by one of the two, but NOT by both. ^^Only one of the men depicted behaved in the manner described.^^Your task is to use the mouse to click on the image of the man you think most likely performed the behaviors described. ^^When you are ready, press the spacebar to begin. </page>
<page pause> You have now completed a series of trials; there are two in all.^^Feel free to pause for a moment and rest your eyes.^^When you are ready, press the spacebar to go on to the next set of trials. </page>
<page walletinstruct> Wallet vignette instructions go here. </page>
<page tieinstruct> Tie vignette instructions go here. </page>
<page end> You have now completed the study. Thank you for your participation!^^ Debrief goes here. </page>
<item cfaces> / 1 = "1.jpg" / 2 = "2.jpg" / 3 = "3.jpg" / 4 = "4.jpg" / 5 = "5.jpg" / 6 = "6.jpg" / 7 = "7.jpg" / 8 = "8.jpg" / 9 = "9.jpg" / 10 = "10.jpg" / 11 = "11.jpg" / 12 = "12.jpg" / 13 = "13.jpg" / 14 = "14.jpg" / 15 = "15.jpg" / 16 = "16.jpg" / 17 = "17.jpg" / 18 = "18.jpg" / 19 = "19.jpg" / 20 = "20.jpg" / 21 = "21.jpg" / 22 = "22.jpg" / 23 = "23.jpg" / 24 = "24.jpg" / 25 = "25.jpg" / 26 = "26.jpg" / 27 = "27.jpg" / 28 = "28.jpg" / 29 = "29.jpg" / 30 = "30.jpg" / 31 = "31.jpg" / 32 = "32.jpg" / 33 = "33.jpg" / 34 = "34.jpg" / 35 = "35.jpg" / 36 = "36.jpg" / 37 = "37.jpg" / 38 = "38.jpg" / 39 = "39.jpg" / 40 = "40.jpg" / 41 = "41.jpg" / 42 = "42.jpg" / 43 = "43.jpg" / 44 = "44.jpg" / 45 = "45.jpg" / 46 = "46.jpg" / 47 = "47.jpg" / 48 = "48.jpg" / 49 = "49.jpg" / 50 = "50.jpg" </item>
<item afaces> / 1 = "51.jpg" / 2 = "52.jpg" / 3 = "53.jpg" / 4 = "54.jpg" / 5 = "55.jpg" / 6 = "56.jpg" / 7 = "57.jpg" / 8 = "58.jpg" / 9 = "59.jpg" / 10 = "60.jpg" / 11 = "61.jpg" / 12 = "62.jpg" / 13 = "63.jpg" / 14 = "64.jpg" / 15 = "65.jpg" / 16 = "66.jpg" / 17 = "67.jpg" / 18 = "68.jpg" / 19 = "69.jpg" / 20 = "70.jpg" / 21 = "71.jpg" / 22 = "72.jpg" / 23 = "73.jpg" / 24 = "74.jpg" / 25 = "75.jpg" / 26 = "76.jpg" / 27 = "77.jpg" / 28 = "78.jpg" / 29 = "79.jpg" / 30 = "80.jpg" / 31 = "81.jpg" / 32 = "82.jpg" / 33 = "83.jpg" / 34 = "84.jpg" / 35 = "85.jpg" / 36 = "86.jpg" / 37 = "87.jpg" / 38 = "88.jpg" / 39 = "89.jpg" / 40 = "90.jpg" / 41 = "91.jpg" / 42 = "92.jpg" / 43 = "93.jpg" / 44 = "94.jpg" / 45 = "95.jpg" / 46 = "96.jpg" / 47 = "97.jpg" / 48 = "98.jpg" / 49 = "99.jpg" / 50 = "100.jpg" </item>
<picture cfaces> / items = cfaces / size = (20%, 20%) / resetinterval = 0 / hposition = list.randomhpos.nextvalue / vposition = 50% </picture>
<picture afaces> / items = afaces / size = (20%, 20%) / resetinterval = 0 / hposition = list.randomhpos.nextvalue / vposition = 50% </picture>
<list randomhpos> / items = (35%, 65%) / selectionrate = always </list>
<trial vig1> / stimulusframes = [1=wallet, afaces, cfaces] / inputdevice = mouse / validresponse = (afaces, cfaces) / recorddata = true </trial>
<trial vig2> / stimulusframes = [1=tie, afaces, cfaces] / inputdevice = mouse / validresponse = (afaces, cfaces) / recorddata = true </trial>
<text wallet> / items = ("Vignette 1 goes here") / position = (50, 70) </text>
<text tie> / items = ("Vignette 2 goes here") / position = (50, 70) </text>
<radiobuttons gender> / caption = "Gender" / options = ( "Female", "Male", "Prefer to self-describe") </radiobuttons>
<radiobuttons race> / caption = "Race" / options = ( "American Indian/Alaska Native", "East Asian", "South Asian", "Native Hawaian or other Pacific Islander", "Black or African American", "White", "More than one race - Black/White") / other = "Other" </radiobuttons>
<textbox age> / caption = "Age" / mask = positiveinteger / range = (15, 70) </textbox>
<block introinstr> / preinstructions = (introinstr1, introinstr2) </block>
<block vig1> / trials = [1-50=vig1] / postinstructions = (pause, walletinstruct) </block>
<block vig2> / trials = [1-50=vig2] / postinstructions = (pause, tieinstruct) </block>
<block blockpause> / preinstructions = (pause) </block>
<surveypage demographics1> / caption = "Please answer the following demographic questions" / fontstyle = ("Verdana", -16, true, false, false, false, 5, 0) / questions = [1=gender; 2=race; 3=age] </surveypage>
<survey demographics> / pages = [1=demographics1] / recorddata = true / responsefontstyle = ("Verdana", -12, false, false, false, false, 5, 0) / itemfontstyle = ("Verdana", -13, false, false, false, false, 5, 0) / itemspacing = 2% / showpagenumbers = false </survey>
<expt> / blocks = [1=introinstr; 2-3=noreplace(vig1, vig2); 4=demographics] / postinstructions = (end) </expt>
|
By Dave - 3/8/2018
+xUsing the script below, where the input is a mouse click on one of two stimuli/photos, there appears to be no data to indicate which photo was clicked, which is my main DV. Of course, I could indicate that one of the two images in the "correct" choice, but that's not actually the case here. I could use that as a proxy for inferring the photo they clicked on, but I'd have to recode that line-by-line so it seems rather inefficient. A second issue is that I'd like to link specific instruction pages to the beginning of specific blocks, but the script below doesn't seem to do that. Your help is appreciated. defaults > / screencolor = (255, 255, 255) </defaults> <instruct> / windowsize = (1000px, 800px) / nextkey = (" ") / prevkey = ("5") / fontstyle = ("Arial", 2.05%, false, false, false, false, 5, 0) / wait = 1000 </instruct> ********************************************************* ************ALL INSTRUCTIONS******************** ********************************************************** <page introinstr1>Welcome and thanks for your participation!^^Today you will be viewing a brief description of an act committed by one of two people pictured on the screen^^ You will use the mouse to respond to select which of the two you think was more likely the one who committed the act described. ^^There will be two sets of 50 photos each.^^Feel free to rest after each block if you like. The entire study should last no more than 20 minutes.^^Press the SPACEBAR to continue with more instructions. </page> <page introinstr2>As just described, you will be shown photos of two men at the same time on the screen, with a description of a behavior performed by one of the two, but NOT by both. ^^Only one of the men depicted behaved in the manner described.^^Your task is to use the mouse to click on the image of the man you think most likely performed the behaviors described. ^^When you are ready, press the spacebar to begin. </page> <page pause> You have now completed a series of trials; there are two in all.^^Feel free to pause for a moment and rest your eyes.^^When you are ready, press the spacebar to go on to the next set of trials. </page> <page walletinstruct> Wallet vignette instructions go here. </page> <page tieinstruct> Tie vignette instructions go here. </page> <page end> You have now completed the study. Thank you for your participation!^^ Debrief goes here. </page> <item cfaces> / 1 = "1.jpg" / 2 = "2.jpg" / 3 = "3.jpg" / 4 = "4.jpg" / 5 = "5.jpg" / 6 = "6.jpg" / 7 = "7.jpg" / 8 = "8.jpg" / 9 = "9.jpg" / 10 = "10.jpg" / 11 = "11.jpg" / 12 = "12.jpg" / 13 = "13.jpg" / 14 = "14.jpg" / 15 = "15.jpg" / 16 = "16.jpg" / 17 = "17.jpg" / 18 = "18.jpg" / 19 = "19.jpg" / 20 = "20.jpg" / 21 = "21.jpg" / 22 = "22.jpg" / 23 = "23.jpg" / 24 = "24.jpg" / 25 = "25.jpg" / 26 = "26.jpg" / 27 = "27.jpg" / 28 = "28.jpg" / 29 = "29.jpg" / 30 = "30.jpg" / 31 = "31.jpg" / 32 = "32.jpg" / 33 = "33.jpg" / 34 = "34.jpg" / 35 = "35.jpg" / 36 = "36.jpg" / 37 = "37.jpg" / 38 = "38.jpg" / 39 = "39.jpg" / 40 = "40.jpg" / 41 = "41.jpg" / 42 = "42.jpg" / 43 = "43.jpg" / 44 = "44.jpg" / 45 = "45.jpg" / 46 = "46.jpg" / 47 = "47.jpg" / 48 = "48.jpg" / 49 = "49.jpg" / 50 = "50.jpg" </item> <item afaces> / 1 = "51.jpg" / 2 = "52.jpg" / 3 = "53.jpg" / 4 = "54.jpg" / 5 = "55.jpg" / 6 = "56.jpg" / 7 = "57.jpg" / 8 = "58.jpg" / 9 = "59.jpg" / 10 = "60.jpg" / 11 = "61.jpg" / 12 = "62.jpg" / 13 = "63.jpg" / 14 = "64.jpg" / 15 = "65.jpg" / 16 = "66.jpg" / 17 = "67.jpg" / 18 = "68.jpg" / 19 = "69.jpg" / 20 = "70.jpg" / 21 = "71.jpg" / 22 = "72.jpg" / 23 = "73.jpg" / 24 = "74.jpg" / 25 = "75.jpg" / 26 = "76.jpg" / 27 = "77.jpg" / 28 = "78.jpg" / 29 = "79.jpg" / 30 = "80.jpg" / 31 = "81.jpg" / 32 = "82.jpg" / 33 = "83.jpg" / 34 = "84.jpg" / 35 = "85.jpg" / 36 = "86.jpg" / 37 = "87.jpg" / 38 = "88.jpg" / 39 = "89.jpg" / 40 = "90.jpg" / 41 = "91.jpg" / 42 = "92.jpg" / 43 = "93.jpg" / 44 = "94.jpg" / 45 = "95.jpg" / 46 = "96.jpg" / 47 = "97.jpg" / 48 = "98.jpg" / 49 = "99.jpg" / 50 = "100.jpg" </item> <picture cfaces> / items = cfaces / size = (20%, 20%) / resetinterval = 0 / hposition = list.randomhpos.nextvalue / vposition = 50% </picture> <picture afaces> / items = afaces / size = (20%, 20%) / resetinterval = 0 / hposition = list.randomhpos.nextvalue / vposition = 50% </picture> <list randomhpos> / items = (35%, 65%) / selectionrate = always </list> <trial vig1> / stimulusframes = [1=wallet, afaces, cfaces] / inputdevice = mouse / validresponse = (afaces, cfaces) / recorddata = true </trial> <trial vig2> / stimulusframes = [1=tie, afaces, cfaces] / inputdevice = mouse / validresponse = (afaces, cfaces) / recorddata = true </trial> <text wallet> / items = ("Vignette 1 goes here") / position = (50, 70) </text> <text tie> / items = ("Vignette 2 goes here") / position = (50, 70) </text> <radiobuttons gender> / caption = "Gender" / options = ( "Female", "Male", "Prefer to self-describe") </radiobuttons> <radiobuttons race> / caption = "Race" / options = ( "American Indian/Alaska Native", "East Asian", "South Asian", "Native Hawaian or other Pacific Islander", "Black or African American", "White", "More than one race - Black/White") / other = "Other" </radiobuttons> <textbox age> / caption = "Age" / mask = positiveinteger / range = (15, 70) </textbox> <block introinstr> / preinstructions = (introinstr1, introinstr2) </block> <block vig1> / trials = [1-50=vig1] / postinstructions = (pause, walletinstruct) </block> <block vig2> / trials = [1-50=vig2] / postinstructions = (pause, tieinstruct) </block> <block blockpause> / preinstructions = (pause) </block> <surveypage demographics1> / caption = "Please answer the following demographic questions" / fontstyle = ("Verdana", -16, true, false, false, false, 5, 0) / questions = [1=gender; 2=race; 3=age] </surveypage> <survey demographics> / pages = [1=demographics1] / recorddata = true / responsefontstyle = ("Verdana", -12, false, false, false, false, 5, 0) / itemfontstyle = ("Verdana", -13, false, false, false, false, 5, 0) / itemspacing = 2% / showpagenumbers = false </survey> <expt> / blocks = [1=introinstr; 2-3=noreplace(vig1, vig2); 4=demographics] / postinstructions = (end) </expt> The object that was clicked is recorded in the response column. If you click on "afaces", the response column for that trial will read afaces. If you click the other object, cfaces, the response will read cfaces.
As for the instruction pages, you specify which page or pages to display via a given <block>'s /pre- and /postinstructions attributes. /preinstructions are displayed _before_ the block's trials, /postinstructions are displayed _after_ the block's trials.
|
By shane - 3/9/2018
+x+xUsing the script below, where the input is a mouse click on one of two stimuli/photos, there appears to be no data to indicate which photo was clicked, which is my main DV. Of course, I could indicate that one of the two images in the "correct" choice, but that's not actually the case here. I could use that as a proxy for inferring the photo they clicked on, but I'd have to recode that line-by-line so it seems rather inefficient. A second issue is that I'd like to link specific instruction pages to the beginning of specific blocks, but the script below doesn't seem to do that. Your help is appreciated. defaults > / screencolor = (255, 255, 255) </defaults> <instruct> / windowsize = (1000px, 800px) / nextkey = (" ") / prevkey = ("5") / fontstyle = ("Arial", 2.05%, false, false, false, false, 5, 0) / wait = 1000 </instruct> ********************************************************* ************ALL INSTRUCTIONS******************** ********************************************************** <page introinstr1>Welcome and thanks for your participation!^^Today you will be viewing a brief description of an act committed by one of two people pictured on the screen^^ You will use the mouse to respond to select which of the two you think was more likely the one who committed the act described. ^^There will be two sets of 50 photos each.^^Feel free to rest after each block if you like. The entire study should last no more than 20 minutes.^^Press the SPACEBAR to continue with more instructions. </page> <page introinstr2>As just described, you will be shown photos of two men at the same time on the screen, with a description of a behavior performed by one of the two, but NOT by both. ^^Only one of the men depicted behaved in the manner described.^^Your task is to use the mouse to click on the image of the man you think most likely performed the behaviors described. ^^When you are ready, press the spacebar to begin. </page> <page pause> You have now completed a series of trials; there are two in all.^^Feel free to pause for a moment and rest your eyes.^^When you are ready, press the spacebar to go on to the next set of trials. </page> <page walletinstruct> Wallet vignette instructions go here. </page> <page tieinstruct> Tie vignette instructions go here. </page> <page end> You have now completed the study. Thank you for your participation!^^ Debrief goes here. </page> <item cfaces> / 1 = "1.jpg" / 2 = "2.jpg" / 3 = "3.jpg" / 4 = "4.jpg" / 5 = "5.jpg" / 6 = "6.jpg" / 7 = "7.jpg" / 8 = "8.jpg" / 9 = "9.jpg" / 10 = "10.jpg" / 11 = "11.jpg" / 12 = "12.jpg" / 13 = "13.jpg" / 14 = "14.jpg" / 15 = "15.jpg" / 16 = "16.jpg" / 17 = "17.jpg" / 18 = "18.jpg" / 19 = "19.jpg" / 20 = "20.jpg" / 21 = "21.jpg" / 22 = "22.jpg" / 23 = "23.jpg" / 24 = "24.jpg" / 25 = "25.jpg" / 26 = "26.jpg" / 27 = "27.jpg" / 28 = "28.jpg" / 29 = "29.jpg" / 30 = "30.jpg" / 31 = "31.jpg" / 32 = "32.jpg" / 33 = "33.jpg" / 34 = "34.jpg" / 35 = "35.jpg" / 36 = "36.jpg" / 37 = "37.jpg" / 38 = "38.jpg" / 39 = "39.jpg" / 40 = "40.jpg" / 41 = "41.jpg" / 42 = "42.jpg" / 43 = "43.jpg" / 44 = "44.jpg" / 45 = "45.jpg" / 46 = "46.jpg" / 47 = "47.jpg" / 48 = "48.jpg" / 49 = "49.jpg" / 50 = "50.jpg" </item> <item afaces> / 1 = "51.jpg" / 2 = "52.jpg" / 3 = "53.jpg" / 4 = "54.jpg" / 5 = "55.jpg" / 6 = "56.jpg" / 7 = "57.jpg" / 8 = "58.jpg" / 9 = "59.jpg" / 10 = "60.jpg" / 11 = "61.jpg" / 12 = "62.jpg" / 13 = "63.jpg" / 14 = "64.jpg" / 15 = "65.jpg" / 16 = "66.jpg" / 17 = "67.jpg" / 18 = "68.jpg" / 19 = "69.jpg" / 20 = "70.jpg" / 21 = "71.jpg" / 22 = "72.jpg" / 23 = "73.jpg" / 24 = "74.jpg" / 25 = "75.jpg" / 26 = "76.jpg" / 27 = "77.jpg" / 28 = "78.jpg" / 29 = "79.jpg" / 30 = "80.jpg" / 31 = "81.jpg" / 32 = "82.jpg" / 33 = "83.jpg" / 34 = "84.jpg" / 35 = "85.jpg" / 36 = "86.jpg" / 37 = "87.jpg" / 38 = "88.jpg" / 39 = "89.jpg" / 40 = "90.jpg" / 41 = "91.jpg" / 42 = "92.jpg" / 43 = "93.jpg" / 44 = "94.jpg" / 45 = "95.jpg" / 46 = "96.jpg" / 47 = "97.jpg" / 48 = "98.jpg" / 49 = "99.jpg" / 50 = "100.jpg" </item> <picture cfaces> / items = cfaces / size = (20%, 20%) / resetinterval = 0 / hposition = list.randomhpos.nextvalue / vposition = 50% </picture> <picture afaces> / items = afaces / size = (20%, 20%) / resetinterval = 0 / hposition = list.randomhpos.nextvalue / vposition = 50% </picture> <list randomhpos> / items = (35%, 65%) / selectionrate = always </list> <trial vig1> / stimulusframes = [1=wallet, afaces, cfaces] / inputdevice = mouse / validresponse = (afaces, cfaces) / recorddata = true </trial> <trial vig2> / stimulusframes = [1=tie, afaces, cfaces] / inputdevice = mouse / validresponse = (afaces, cfaces) / recorddata = true </trial> <text wallet> / items = ("Vignette 1 goes here") / position = (50, 70) </text> <text tie> / items = ("Vignette 2 goes here") / position = (50, 70) </text> <radiobuttons gender> / caption = "Gender" / options = ( "Female", "Male", "Prefer to self-describe") </radiobuttons> <radiobuttons race> / caption = "Race" / options = ( "American Indian/Alaska Native", "East Asian", "South Asian", "Native Hawaian or other Pacific Islander", "Black or African American", "White", "More than one race - Black/White") / other = "Other" </radiobuttons> <textbox age> / caption = "Age" / mask = positiveinteger / range = (15, 70) </textbox> <block introinstr> / preinstructions = (introinstr1, introinstr2) </block> <block vig1> / trials = [1-50=vig1] / postinstructions = (pause, walletinstruct) </block> <block vig2> / trials = [1-50=vig2] / postinstructions = (pause, tieinstruct) </block> <block blockpause> / preinstructions = (pause) </block> <surveypage demographics1> / caption = "Please answer the following demographic questions" / fontstyle = ("Verdana", -16, true, false, false, false, 5, 0) / questions = [1=gender; 2=race; 3=age] </surveypage> <survey demographics> / pages = [1=demographics1] / recorddata = true / responsefontstyle = ("Verdana", -12, false, false, false, false, 5, 0) / itemfontstyle = ("Verdana", -13, false, false, false, false, 5, 0) / itemspacing = 2% / showpagenumbers = false </survey> <expt> / blocks = [1=introinstr; 2-3=noreplace(vig1, vig2); 4=demographics] / postinstructions = (end) </expt> The object that was clicked is recorded in the response column. If you click on "afaces", the response column for that trial will read afaces. If you click the other object, cfaces, the response will read cfaces. As for the instruction pages, you specify which page or pages to display via a given <block>'s /pre- and /postinstructions attributes. /preinstructions are displayed _before_ the block's trials, /postinstructions are displayed _after_ the block's trials. Thanks!
|
|