By mongrel - 3/4/2020
Hey Dave,
you kindly did help me with the following script and I have one more question concerning the data file: Now, the data are saved in long format (see file attached). However, I would like them to be saved like that: Collumns: subject, date, time, A_negpos, A1_negpos ... A_symp, A1_symp ..., values.sequence
How can I do that?
This is the script:
Slider*********************************************************************************
<slider negpos> / labels = ("negativ~n1", "~n2", "~n3", "~n4", "~n5", "~n6", "positiv~n7") / range = (1, 7) / slidersize = (50%, 5%) / showtooltips = false / position = (22%, 50%) / required = true / fontstyle = ("Arial", 26, false) </slider>
<slider symp> / labels = ("unsympathisch~n1", "~n2", "~n3", "~n4", "~n5", "~n6", "sympathisch~n7") / range = (1, 7) / slidersize = (50%, 5%) / showtooltips = false / position = (19.5%, 75%) / required = true / fontstyle = ("Arial", 26, false) </slider>
***************************************************** <image A> / items = ("A.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image>
<image B> / items = ("B.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image>
<image A1> / items = ("A1.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image>
<image A2> / items = ("A2.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image>
<image A3> / items = ("A3.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image>
<image A4> / items = ("A4.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image>
<image B1> / items = ("B1.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image>
<image B2> / items = ("B2.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image>
<image B3> / items = ("B3.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image>
<image B4> / items = ("B4.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image>
<list items> / items = ("A","A1","A2","A3","A4","B","B1","B2","B3","B4") / selectionmode = random / replace = false / selectionrate = trial </list>
<list pages> / items = (surveypage.A,surveypage.A1,surveypage.A2,surveypage.A3,surveypage.A4,surveypage.B,surveypage.B1,surveypage.B2,surveypage.B3,surveypage.B4) / selectionmode = list.items.currentindex / selectionrate = trial </list>
<values> / item = "" / sequence = "" / valid_sequence = false </values>
<trial sequence_generator> / ontrialbegin = [ values.item = list.items.nextvalue; values.sequence = concat(concat(values.sequence, ","), values.item); list.mysequence.appenditem(list.pages.nextvalue); ] / validresponse = (0) / trialduration = 0 / recorddata = false </trial>
<trial sequence_checker> / ontrialbegin = [ if (contains(values.sequence, "A,A1") || contains(values.sequence, "A1,A") || contains(values.sequence, "B,B1") || contains(values.sequence, "B1,B")) { values.valid_sequence = false; } else { values.valid_sequence = true; }; ] / validresponse = (0) / trialduration = 0 / recorddata = false </trial>
<expt> / blocks = [1=generate_sequence; 2=run_sequence] </expt>
<block generate_sequence> / onblockbegin = [ values.item = ""; values.sequence = ""; list.items.reset(): list.pages.reset(); list.mysequence.reset(); ] / trials = [1-10=sequence_generator; 11=sequence_checker] / branch = [ if (!values.valid_sequence) block.generate_sequence; ] </block>
<block run_sequence> / trials = [1-10 = list.mysequence] </block>
<list mysequence> / selectionmode = sequence </list>
<surveypage A> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage>
<surveypage B> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage>
<surveypage A1> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A1; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage>
<surveypage A2> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A2; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage>
<surveypage A3> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A3; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage>
<surveypage A4> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A4; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage>
<surveypage B1> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage>
<surveypage B2> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B1; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage>
<surveypage B3> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B2; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage>
<surveypage B4> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B4; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage>
***************************************************** Blank between pages ***************************************************** <trial blank> /stimulusframes = [1 = blank] /trialduration = 300 </trial>
<item blank> /1 = "blank.png" </item>
<picture blank> / items = blank / position = (37%, 15%) </picture>
***************************************************** ***************************************************** Seitendesign *****************************************************
<defaults> /canvasaspectratio = (4,3) /minimumversion = "5.0.0.0" / fontstyle = ("Arial", 3%, false, false, false, false, 5, 1) / screencolor = white / txbgcolor = white / txcolor = black / halign = center </defaults>
<data> / columns = (date time subject group blocknum blockcode trialnum trialcode response correct latency values.sequence values.valid_sequence) / separatefiles = false </data>
Thank you a lot!!! R.
|
By Dave - 3/4/2020
+xHey Dave, you kindly did help me with the following script and I have one more question concerning the data file: Now, the data are saved in long format (see file attached). However, I would like them to be saved like that: Collumns: subject, date, time, A_negpos, A1_negpos ... A_symp, A1_symp ..., values.sequence How can I do that? This is the script: Slider********************************************************************************* <slider negpos> / labels = ("negativ~n1", "~n2", "~n3", "~n4", "~n5", "~n6", "positiv~n7") / range = (1, 7) / slidersize = (50%, 5%) / showtooltips = false / position = (22%, 50%) / required = true / fontstyle = ("Arial", 26, false) </slider> <slider symp> / labels = ("unsympathisch~n1", "~n2", "~n3", "~n4", "~n5", "~n6", "sympathisch~n7") / range = (1, 7) / slidersize = (50%, 5%) / showtooltips = false / position = (19.5%, 75%) / required = true / fontstyle = ("Arial", 26, false) </slider> ***************************************************** <image A> / items = ("A.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image B> / items = ("B.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image A1> / items = ("A1.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image A2> / items = ("A2.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image A3> / items = ("A3.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image A4> / items = ("A4.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image B1> / items = ("B1.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image B2> / items = ("B2.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image B3> / items = ("B3.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image B4> / items = ("B4.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <list items> / items = ("A","A1","A2","A3","A4","B","B1","B2","B3","B4") / selectionmode = random / replace = false / selectionrate = trial </list> <list pages> / items = (surveypage.A,surveypage.A1,surveypage.A2,surveypage.A3,surveypage.A4,surveypage.B,surveypage.B1,surveypage.B2,surveypage.B3,surveypage.B4) / selectionmode = list.items.currentindex / selectionrate = trial </list> <values> / item = "" / sequence = "" / valid_sequence = false </values> <trial sequence_generator> / ontrialbegin = [ values.item = list.items.nextvalue; values.sequence = concat(concat(values.sequence, ","), values.item); list.mysequence.appenditem(list.pages.nextvalue); ] / validresponse = (0) / trialduration = 0 / recorddata = false </trial> <trial sequence_checker> / ontrialbegin = [ if (contains(values.sequence, "A,A1") || contains(values.sequence, "A1,A") || contains(values.sequence, "B,B1") || contains(values.sequence, "B1,B")) { values.valid_sequence = false; } else { values.valid_sequence = true; }; ] / validresponse = (0) / trialduration = 0 / recorddata = false </trial> <expt> / blocks = [1=generate_sequence; 2=run_sequence] </expt> <block generate_sequence> / onblockbegin = [ values.item = ""; values.sequence = ""; list.items.reset(): list.pages.reset(); list.mysequence.reset(); ] / trials = [1-10=sequence_generator; 11=sequence_checker] / branch = [ if (!values.valid_sequence) block.generate_sequence; ] </block> <block run_sequence> / trials = [1-10 = list.mysequence] </block> <list mysequence> / selectionmode = sequence </list> <surveypage A> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage B> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage A1> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A1; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage A2> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A2; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage A3> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A3; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage A4> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A4; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage B1> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage B2> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B1; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage B3> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B2; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage B4> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B4; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> ***************************************************** Blank between pages ***************************************************** <trial blank> /stimulusframes = [1 = blank] /trialduration = 300 </trial> <item blank> /1 = "blank.png" </item> <picture blank> / items = blank / position = (37%, 15%) </picture> ***************************************************** ***************************************************** Seitendesign ***************************************************** <defaults> /canvasaspectratio = (4,3) /minimumversion = "5.0.0.0" / fontstyle = ("Arial", 3%, false, false, false, false, 5, 1) / screencolor = white / txbgcolor = white / txcolor = black / halign = center </defaults> <data> / columns = (date time subject group blocknum blockcode trialnum trialcode response correct latency values.sequence values.valid_sequence) / separatefiles = false </data> Thank you a lot!!! R. You can create variables (i.e. <values>) capturing the data of interest and then write out a single-line (wide format) file via <summarydata>.
|
By w.cao@uu.nl - 3/4/2020
+x+xHey Dave, you kindly did help me with the following script and I have one more question concerning the data file: Now, the data are saved in long format (see file attached). However, I would like them to be saved like that: Collumns: subject, date, time, A_negpos, A1_negpos ... A_symp, A1_symp ..., values.sequence How can I do that? This is the script: Slider********************************************************************************* <slider negpos> / labels = ("negativ~n1", "~n2", "~n3", "~n4", "~n5", "~n6", "positiv~n7") / range = (1, 7) / slidersize = (50%, 5%) / showtooltips = false / position = (22%, 50%) / required = true / fontstyle = ("Arial", 26, false) </slider> <slider symp> / labels = ("unsympathisch~n1", "~n2", "~n3", "~n4", "~n5", "~n6", "sympathisch~n7") / range = (1, 7) / slidersize = (50%, 5%) / showtooltips = false / position = (19.5%, 75%) / required = true / fontstyle = ("Arial", 26, false) </slider> ***************************************************** <image A> / items = ("A.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image B> / items = ("B.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image A1> / items = ("A1.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image A2> / items = ("A2.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image A3> / items = ("A3.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image A4> / items = ("A4.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image B1> / items = ("B1.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image B2> / items = ("B2.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image B3> / items = ("B3.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image B4> / items = ("B4.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <list items> / items = ("A","A1","A2","A3","A4","B","B1","B2","B3","B4") / selectionmode = random / replace = false / selectionrate = trial </list> <list pages> / items = (surveypage.A,surveypage.A1,surveypage.A2,surveypage.A3,surveypage.A4,surveypage.B,surveypage.B1,surveypage.B2,surveypage.B3,surveypage.B4) / selectionmode = list.items.currentindex / selectionrate = trial </list> <values> / item = "" / sequence = "" / valid_sequence = false </values> <trial sequence_generator> / ontrialbegin = [ values.item = list.items.nextvalue; values.sequence = concat(concat(values.sequence, ","), values.item); list.mysequence.appenditem(list.pages.nextvalue); ] / validresponse = (0) / trialduration = 0 / recorddata = false </trial> <trial sequence_checker> / ontrialbegin = [ if (contains(values.sequence, "A,A1") || contains(values.sequence, "A1,A") || contains(values.sequence, "B,B1") || contains(values.sequence, "B1,B")) { values.valid_sequence = false; } else { values.valid_sequence = true; }; ] / validresponse = (0) / trialduration = 0 / recorddata = false </trial> <expt> / blocks = [1=generate_sequence; 2=run_sequence] </expt> <block generate_sequence> / onblockbegin = [ values.item = ""; values.sequence = ""; list.items.reset(): list.pages.reset(); list.mysequence.reset(); ] / trials = [1-10=sequence_generator; 11=sequence_checker] / branch = [ if (!values.valid_sequence) block.generate_sequence; ] </block> <block run_sequence> / trials = [1-10 = list.mysequence] </block> <list mysequence> / selectionmode = sequence </list> <surveypage A> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage B> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage A1> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A1; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage A2> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A2; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage A3> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A3; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage A4> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A4; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage B1> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage B2> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B1; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage B3> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B2; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage B4> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B4; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> ***************************************************** Blank between pages ***************************************************** <trial blank> /stimulusframes = [1 = blank] /trialduration = 300 </trial> <item blank> /1 = "blank.png" </item> <picture blank> / items = blank / position = (37%, 15%) </picture> ***************************************************** ***************************************************** Seitendesign ***************************************************** <defaults> /canvasaspectratio = (4,3) /minimumversion = "5.0.0.0" / fontstyle = ("Arial", 3%, false, false, false, false, 5, 1) / screencolor = white / txbgcolor = white / txcolor = black / halign = center </defaults> <data> / columns = (date time subject group blocknum blockcode trialnum trialcode response correct latency values.sequence values.valid_sequence) / separatefiles = false </data> Thank you a lot!!! R. You can create variables (i.e. <values>) capturing the data of interest and then write out a single-line (wide format) file via <summarydata>. I will have a try, thank you very much!
|
By Dave - 3/4/2020
+x+x+xHey Dave, you kindly did help me with the following script and I have one more question concerning the data file: Now, the data are saved in long format (see file attached). However, I would like them to be saved like that: Collumns: subject, date, time, A_negpos, A1_negpos ... A_symp, A1_symp ..., values.sequence How can I do that? This is the script: Slider********************************************************************************* <slider negpos> / labels = ("negativ~n1", "~n2", "~n3", "~n4", "~n5", "~n6", "positiv~n7") / range = (1, 7) / slidersize = (50%, 5%) / showtooltips = false / position = (22%, 50%) / required = true / fontstyle = ("Arial", 26, false) </slider> <slider symp> / labels = ("unsympathisch~n1", "~n2", "~n3", "~n4", "~n5", "~n6", "sympathisch~n7") / range = (1, 7) / slidersize = (50%, 5%) / showtooltips = false / position = (19.5%, 75%) / required = true / fontstyle = ("Arial", 26, false) </slider> ***************************************************** <image A> / items = ("A.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image B> / items = ("B.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image A1> / items = ("A1.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image A2> / items = ("A2.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image A3> / items = ("A3.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image A4> / items = ("A4.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image B1> / items = ("B1.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image B2> / items = ("B2.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image B3> / items = ("B3.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <image B4> / items = ("B4.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image> <list items> / items = ("A","A1","A2","A3","A4","B","B1","B2","B3","B4") / selectionmode = random / replace = false / selectionrate = trial </list> <list pages> / items = (surveypage.A,surveypage.A1,surveypage.A2,surveypage.A3,surveypage.A4,surveypage.B,surveypage.B1,surveypage.B2,surveypage.B3,surveypage.B4) / selectionmode = list.items.currentindex / selectionrate = trial </list> <values> / item = "" / sequence = "" / valid_sequence = false </values> <trial sequence_generator> / ontrialbegin = [ values.item = list.items.nextvalue; values.sequence = concat(concat(values.sequence, ","), values.item); list.mysequence.appenditem(list.pages.nextvalue); ] / validresponse = (0) / trialduration = 0 / recorddata = false </trial> <trial sequence_checker> / ontrialbegin = [ if (contains(values.sequence, "A,A1") || contains(values.sequence, "A1,A") || contains(values.sequence, "B,B1") || contains(values.sequence, "B1,B")) { values.valid_sequence = false; } else { values.valid_sequence = true; }; ] / validresponse = (0) / trialduration = 0 / recorddata = false </trial> <expt> / blocks = [1=generate_sequence; 2=run_sequence] </expt> <block generate_sequence> / onblockbegin = [ values.item = ""; values.sequence = ""; list.items.reset(): list.pages.reset(); list.mysequence.reset(); ] / trials = [1-10=sequence_generator; 11=sequence_checker] / branch = [ if (!values.valid_sequence) block.generate_sequence; ] </block> <block run_sequence> / trials = [1-10 = list.mysequence] </block> <list mysequence> / selectionmode = sequence </list> <surveypage A> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage B> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage A1> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A1; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage A2> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A2; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage A3> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A3; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage A4> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A4; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage B1> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage B2> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B1; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage B3> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B2; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> <surveypage B4> / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B4; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage> ***************************************************** Blank between pages ***************************************************** <trial blank> /stimulusframes = [1 = blank] /trialduration = 300 </trial> <item blank> /1 = "blank.png" </item> <picture blank> / items = blank / position = (37%, 15%) </picture> ***************************************************** ***************************************************** Seitendesign ***************************************************** <defaults> /canvasaspectratio = (4,3) /minimumversion = "5.0.0.0" / fontstyle = ("Arial", 3%, false, false, false, false, 5, 1) / screencolor = white / txbgcolor = white / txcolor = black / halign = center </defaults> <data> / columns = (date time subject group blocknum blockcode trialnum trialcode response correct latency values.sequence values.valid_sequence) / separatefiles = false </data> Thank you a lot!!! R. You can create variables (i.e. <values>) capturing the data of interest and then write out a single-line (wide format) file via <summarydata>. I will have a try, thank you very much! In essence:
Slider*********************************************************************************
<slider negpos> / labels = ("negativ~n1", "~n2", "~n3", "~n4", "~n5", "~n6", "positiv~n7") / range = (1, 7) / slidersize = (50%, 5%) / showtooltips = false / position = (22%, 50%) / required = true / fontstyle = ("Arial", 26, false) </slider>
<slider symp> / labels = ("unsympathisch~n1", "~n2", "~n3", "~n4", "~n5", "~n6", "sympathisch~n7") / range = (1, 7) / slidersize = (50%, 5%) / showtooltips = false / position = (19.5%, 75%) / required = true / fontstyle = ("Arial", 26, false) </slider>
***************************************************** <image A> / items = ("A.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image>
<image B> / items = ("B.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image>
<image A1> / items = ("A1.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image>
<image A2> / items = ("A2.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image>
<image A3> / items = ("A3.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image>
<image A4> / items = ("A4.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image>
<image B1> / items = ("B1.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image>
<image B2> / items = ("B2.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image>
<image B3> / items = ("B3.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image>
<image B4> / items = ("B4.jpg") / position = (37%, 15%) / imagesize = (33%,33%) </image>
<list items> / items = ("A","A1","A2","A3","A4","B","B1","B2","B3","B4") / selectionmode = random / replace = false / selectionrate = trial </list>
<list pages> / items = (surveypage.A,surveypage.A1,surveypage.A2,surveypage.A3,surveypage.A4,surveypage.B,surveypage.B1,surveypage.B2,surveypage.B3,surveypage.B4) / selectionmode = list.items.currentindex / selectionrate = trial </list>
<values> / item = "" / sequence = "" / valid_sequence = false </values>
<trial sequence_generator> / ontrialbegin = [ values.item = list.items.nextvalue; values.sequence = concat(concat(values.sequence, ","), values.item); list.mysequence.appenditem(list.pages.nextvalue); ] / validresponse = (0) / trialduration = 0 / recorddata = false </trial>
<trial sequence_checker> / ontrialbegin = [ if (contains(values.sequence, "A,A1") || contains(values.sequence, "A1,A") || contains(values.sequence, "B,B1") || contains(values.sequence, "B1,B")) { values.valid_sequence = false; } else { values.valid_sequence = true; }; ] / validresponse = (0) / trialduration = 0 / recorddata = false </trial>
<expt> / blocks = [1=generate_sequence; 2=run_sequence] </expt>
<block generate_sequence> / onblockbegin = [ values.item = ""; values.sequence = ""; list.items.reset(): list.pages.reset(); list.mysequence.reset(); ] / trials = [1-10=sequence_generator; 11=sequence_checker] / branch = [ if (!values.valid_sequence) block.generate_sequence; ] </block>
<block run_sequence> / trials = [1-10 = list.mysequence] </block>
<list mysequence> / selectionmode = sequence </list>
<surveypage A> / ontrialend = [ values.A_negpos = slider.negpos.response; values.A_symp = slider.symp.response; ] / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage>
<surveypage B> / ontrialend = [ values.B_negpos = slider.negpos.response; values.B_symp = slider.symp.response; ] / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage>
<surveypage A1> / ontrialend = [ values.A1_negpos = slider.negpos.response; values.A1_symp = slider.symp.response; ] / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A1; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage>
<surveypage A2> / ontrialend = [ values.A2_negpos = slider.negpos.response; values.A2_symp = slider.symp.response; ] / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A2; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage>
<surveypage A3> / ontrialend = [ values.A3_negpos = slider.negpos.response; values.A3_symp = slider.symp.response; ] / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A3; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage>
<surveypage A4> / ontrialend = [ values.A4_negpos = slider.negpos.response; values.A4_symp = slider.symp.response; ] / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=A4; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage>
<surveypage B1> / ontrialend = [ values.B1_negpos = slider.negpos.response; values.B1_symp = slider.symp.response; ] / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage>
<surveypage B2> / ontrialend = [ values.B2_negpos = slider.negpos.response; values.B2_symp = slider.symp.response; ] / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B1; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage>
<surveypage B3> / ontrialend = [ values.B3_negpos = slider.negpos.response; values.B3_symp = slider.symp.response; ] / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B2; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage>
<surveypage B4> / ontrialend = [ values.B4_negpos = slider.negpos.response; values.B4_symp = slider.symp.response; ] / subcaption = "Wie wirkt diese Person auf Sie?" / subcaptionfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0) / showquestionnumbers = false / questions = [1=B4; 2=negpos; 3=symp] / finishlabel = "Weiter" / nextbuttonposition = (47, 95) / showbackbutton=false / showpagenumbers = false / branch = [trial.blank] </surveypage>
***************************************************** Blank between pages ***************************************************** <trial blank> /stimulusframes = [1 = blank] /trialduration = 300 </trial>
<item blank> /1 = "blank.png" </item>
<picture blank> / items = blank / position = (37%, 15%) </picture>
***************************************************** ***************************************************** Seitendesign *****************************************************
<defaults> /canvasaspectratio = (4,3) /minimumversion = "5.0.0.0" / fontstyle = ("Arial", 3%, false, false, false, false, 5, 1) / screencolor = white / txbgcolor = white / txcolor = black / halign = center </defaults>
<data> / columns = (date time subject group blocknum blockcode trialnum trialcode response correct latency values.sequence values.valid_sequence) / separatefiles = false </data>
<values> / A_negpos = "" / A1_negpos = "" / A2_negpos = "" / A3_negpos = "" / A4_negpos = "" / B_negpos = "" / B1_negpos = "" / B2_negpos = "" / B3_negpos = "" / B4_negpos = ""
/ A_symp = "" / A1_symp = "" / A2_symp = "" / A3_symp = "" / A4_symp = "" / B_symp = "" / B1_symp = "" / B2_symp = "" / B3_symp = "" / B4_symp = "" </values>
<summarydata> / columns = (script.subjectid script.startdate script.starttime values.A_negpos values.A1_negpos values.A2_negpos values.A3_negpos values.A4_negpos values.B_negpos values.B1_negpos values.B2_negpos values.B3_negpos values.B4_negpos values.A_symp values.A1_symp values.A2_symp values.A3_symp values.A4_symp values.B_symp values.B1_symp values.B2_symp values.B3_symp values.B4_symp values.sequence) / separatefiles = true </summarydata>
|
By mongrel - 3/5/2020
Ay...should have known...thank you a lot! I will try it out today!
|
By mongrel - 3/5/2020
+xAy...should have known...thank you a lot! I will try it out today!
It worked! Thank you, Dave!
|
By mongrel - 3/9/2020
Hey Dave, I have a similar proplem with my evaluative priming task. I am posting this here because I think it fits. I have the same stimuli as above (A, A1 - A4 and B, B1-B4). For now, in the summary data file only summarized values for Apos, Aneg, Bpos, and Bneg are saved. I wanted to implement what you posted above (in each trial for example: / ontrialend = [values.A4_neg = slider.negpos.response; values.A4_symp = slider.symp.response; ])
|
By mongrel - 3/9/2020
+xHey Dave,
I have a similar proplem with my evaluative priming task. I am posting this here because I think it fits. I have the same stimuli as above (A, A1 - A4 and B, B1-B4). For now, in the summary data file only summarized values for Apos, Aneg, Bpos, and Bneg are saved. I wanted to implement what you posted above (in each trial for example: / ontrialend = [values.A4_neg = A4neg; latency]). However, there are no single trial descriptions for each stimulus, because items are pulled from a list. How can I create a summary file that gives latency and correct values for each stimulus in positive and negative conditions? (file is attached)
Thank you very much in advance! R.
|
By Dave - 3/9/2020
+x+xHey Dave,
I have a similar proplem with my evaluative priming task. I am posting this here because I think it fits. I have the same stimuli as above (A, A1 - A4 and B, B1-B4). For now, in the summary data file only summarized values for Apos, Aneg, Bpos, and Bneg are saved. I wanted to implement what you posted above (in each trial for example: / ontrialend = [values.A4_neg = A4neg; latency]). However, there are no single trial descriptions for each stimulus, because items are pulled from a list. How can I create a summary file that gives latency and correct values for each stimulus in positive and negative conditions? (file is attached)
Thank you very much in advance! R.
I don't understand what you want the summary file to look like.
|
By mongrel - 3/9/2020
Hi Dave,
sorry, OK: Is it possible that Inquisit saves the data in a wide format with which we would not have to transpone anymore? Meaning: First, Inquisit should sort according to prime. Then according to target and then sort columns like that (the number indicates the trial):
subject time date values.prime1 values.target1 values.targetcategory1 response1 correct1 latency1 values.prime2 values.target2 values.targetcategory2 response2 correct2 latency2 values.prime3 values.target3 values.targetcategory3 response3 correct3 latency3 ......values.prime200 values.target200 values.targetcategory200 response200 correct200 latency200
Thank you very much!!! R.
|
By Dave - 3/9/2020
+xHi Dave, sorry, OK: Is it possible that Inquisit saves the data in a wide format with which we would not have to transpone anymore? Meaning: First, Inquisit should sort according to prime. Then according to target and then sort columns like that (the number indicates the trial): subject time date values.prime1 values.target1 values.targetcategory1 response1 correct1 latency1 values.prime2 values.target2 values.targetcategory2 response2 correct2 latency2 values.prime3 values.target3 values.targetcategory3 response3 correct3 latency3 ......values.prime200 values.target200 values.targetcategory200 response200 correct200 latency200 Thank you very much!!! R. > Is it possible that Inquisit saves the data in a wide format with which we would not have to transpone anymore?
No, not really. The only thing you can do is create values, populate them as needed and have the summary data file write them out as discussed previously. Obviously, given the amount of stimuli involved here, that would be extremely tedious, and you're better off transposing the raw data file using your preferred data analysis application.
I'm also struggling to see for what kind of analysis that would be a desirable or suitable data format, to be perfectly honest.
|
By mongrel - 3/10/2020
+x+xHi Dave, sorry, OK: Is it possible that Inquisit saves the data in a wide format with which we would not have to transpone anymore? Meaning: First, Inquisit should sort according to prime. Then according to target and then sort columns like that (the number indicates the trial): subject time date values.prime1 values.target1 values.targetcategory1 response1 correct1 latency1 values.prime2 values.target2 values.targetcategory2 response2 correct2 latency2 values.prime3 values.target3 values.targetcategory3 response3 correct3 latency3 ......values.prime200 values.target200 values.targetcategory200 response200 correct200 latency200 Thank you very much!!! R. > Is it possible that Inquisit saves the data in a wide format with which we would not have to transpone anymore? No, not really. The only thing you can do is create values, populate them as needed and have the summary data file write them out as discussed previously. Obviously, given the amount of stimuli involved here, that would be extremely tedious, and you're better off transposing the raw data file using your preferred data analysis application. I'm also struggling to see for what kind of analysis that would be a desirable or suitable data format, to be perfectly honest. Hi Dave,
thanks for your answer! We did transpose everything ourselves in previous studies (with the AMP for example) and I found it quite laborious. As for your last remark: I understand that it seems a bit weird to want such a format. In the end, we simply need the facilitation scores for each of the 10 stimuli after dealing with too long latencies and filtering for erroneous trials. Therefore, we need this incredibly long raw file (we are working with SPSS). I hope that was understanble.
Thank you again for your help and thoughts! R.
|
By Dave - 3/10/2020
+x+x+xHi Dave, sorry, OK: Is it possible that Inquisit saves the data in a wide format with which we would not have to transpone anymore? Meaning: First, Inquisit should sort according to prime. Then according to target and then sort columns like that (the number indicates the trial): subject time date values.prime1 values.target1 values.targetcategory1 response1 correct1 latency1 values.prime2 values.target2 values.targetcategory2 response2 correct2 latency2 values.prime3 values.target3 values.targetcategory3 response3 correct3 latency3 ......values.prime200 values.target200 values.targetcategory200 response200 correct200 latency200 Thank you very much!!! R. > Is it possible that Inquisit saves the data in a wide format with which we would not have to transpone anymore? No, not really. The only thing you can do is create values, populate them as needed and have the summary data file write them out as discussed previously. Obviously, given the amount of stimuli involved here, that would be extremely tedious, and you're better off transposing the raw data file using your preferred data analysis application. I'm also struggling to see for what kind of analysis that would be a desirable or suitable data format, to be perfectly honest. Hi Dave, thanks for your answer! We did transpose everything ourselves in previous studies (with the AMP for example) and I found it quite laborious. As for your last remark: I understand that it seems a bit weird to want such a format. In the end, we simply need the facilitation scores for each of the 10 stimuli after dealing with too long latencies and filtering for erroneous trials. Therefore, we need this incredibly long raw file (we are working with SPSS). I hope that was understanble. Thank you again for your help and thoughts! R. Perhaps it would be easier to have Inquisit calculate the facilitation scores directly, but to say whether that's possible, you'd have to describe in detail how you want to compute those.
|
|