﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 5  » summary data - trial number, trial object, trial response</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 08 Mar 2026 11:00:29 GMT</lastBuildDate><ttl>20</ttl><item><title>summary data - trial number, trial object, trial response</title><link>https://forums.millisecond.com/Topic20038.aspx</link><description>Hey,&amp;nbsp;&lt;br/&gt;in my experiment I have 30 objects, which are shown to each participant in random order. They have to react to it either with a right click or left click.&lt;br/&gt;My code for each trial is:&lt;br/&gt;&amp;lt;trial trialxy&amp;gt; &lt;br/&gt;/ pretrialpause = 300&lt;br/&gt;/ validresponse = ("J", "L")&lt;br/&gt;/ stimulustimes = [0=objecttarget]&lt;br/&gt;/ posttrialpause = 100&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;My code for the block is:&lt;br/&gt;&amp;lt;block playground&amp;gt;&lt;br/&gt;/ bgstim = (reminder1, reminder2, reminder3)&lt;br/&gt;/ trials = [1-30 = noreplace(trialxy)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;So far I have for summary data:&lt;br/&gt;&amp;lt;summarydata&amp;gt;&lt;br/&gt;/columns = [script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, &lt;br/&gt;trial.trialxy.typename,&amp;nbsp;values.completed]&lt;br/&gt;/ separatefiles = false&lt;br/&gt;&amp;lt;/summarydata&amp;gt;&lt;br/&gt;&lt;br/&gt;The experiment works perfectly, the only thing that gives me a headache is the report of the data. I would like to have a summarydatafile, where i can see for each participant:&lt;br/&gt;subjectid; group number; object given in trial #1 (can be number or name of object); response of participant (right or left click); latency for this trial; object given in trial #2, response, latency, object trial #3 and so on.&lt;br/&gt;&lt;br/&gt;I tried all possible codes that I can come up with (e.g. trial.trialxy.response1, but so far none of them did the trick :).&lt;br/&gt;Does anyone have an idea what to request for the summary data?&lt;br/&gt;&lt;br/&gt;Thanks in advance!&lt;div&gt;LoPu&lt;/div&gt;</description><pubDate>Mon, 07 Nov 2016 08:38:56 GMT</pubDate><dc:creator>LoPu</dc:creator></item><item><title>RE: summary data - trial number, trial object, trial response</title><link>https://forums.millisecond.com/Topic20058.aspx</link><description>&lt;div data-id="20046" class="if-quote-wrapper" unselectable="on" data-guid="1478536678914"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20046" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20046" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20046" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Thursday, November 03, 2016&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20046"&gt;&lt;div class="if-quote-message-margin"&gt;Your original question suggests you wanted a summary file in the form of&lt;br/&gt;&lt;br/&gt;subjectid, ... ,stimulus_in_1st_trial, response_in_1st_trial, latency_in_1st_trial, stimulus_in_2nd_trial, response_in_2nd_trial, latency_in_2nd_trial, ..., stimulus_in_30th_trial, response_in_30th_trial, latency_in_30th_trial&lt;br/&gt;&lt;br/&gt;i.e., a single row and &amp;gt;90 columns: 3 pieces of info (stimulus, response, latency) * 30 trials.&lt;br/&gt;&lt;br/&gt;You would set up three empty &amp;lt;item&amp;gt; elements.&lt;br/&gt;&lt;br/&gt;&amp;lt;item stimulus&amp;gt;&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item response&amp;gt;&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item latency&amp;gt;&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;You'd then append a given trial's stimulus #, response &amp;amp; latency to the respective &amp;lt;item&amp;gt; elements at runtime /ontrialend.&lt;br/&gt;&lt;br/&gt;&amp;lt;trial trialxy&amp;gt; &lt;br/&gt;/ ontrialend = [item.stimulus.appenditem(picture.objecttarget.currentitemnumber); &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; item.response.appenditem(trial.trialxy.response);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; item.latency.appenditem(trial.trialxy.latency);]&lt;br/&gt;/ pretrialpause = 300&lt;br/&gt;/ validresponse = ("J", "L")&lt;br/&gt;/ stimulustimes = [0=objecttarget]&lt;br/&gt;/ posttrialpause = 100&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;You'd then log the respective items to the summary file:&lt;br/&gt;&lt;br/&gt;&amp;lt;summarydata&amp;gt;&lt;br/&gt;/ columns = [..., item.stimulus.item.1, item.response.item.1, item.latency.item.1, ..., item.stimulus.item.30, item.response.item.30, item.latency.item.30]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/summarydata&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20046"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;Yay, I tried in on a small scale and it worked!!&lt;br/&gt;Thanks so much! I definitely feel a little less stupid and helpless in front of all these numbers and codes.&lt;br/&gt;Thanks.&lt;br/&gt;&lt;br/&gt;</description><pubDate>Mon, 07 Nov 2016 08:38:56 GMT</pubDate><dc:creator>LoPu</dc:creator></item><item><title>RE: summary data - trial number, trial object, trial response</title><link>https://forums.millisecond.com/Topic20046.aspx</link><description>Your original question suggests you wanted a summary file in the form of&lt;br/&gt;&lt;br/&gt;subjectid, ... ,stimulus_in_1st_trial, response_in_1st_trial, latency_in_1st_trial, stimulus_in_2nd_trial, response_in_2nd_trial, latency_in_2nd_trial, ..., stimulus_in_30th_trial, response_in_30th_trial, latency_in_30th_trial&lt;br/&gt;&lt;br/&gt;i.e., a single row and &amp;gt;90 columns: 3 pieces of info (stimulus, response, latency) * 30 trials.&lt;br/&gt;&lt;br/&gt;You would set up three empty &amp;lt;item&amp;gt; elements.&lt;br/&gt;&lt;br/&gt;&amp;lt;item stimulus&amp;gt;&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item response&amp;gt;&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item latency&amp;gt;&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;You'd then append a given trial's stimulus #, response &amp;amp; latency to the respective &amp;lt;item&amp;gt; elements at runtime /ontrialend.&lt;br/&gt;&lt;br/&gt;&amp;lt;trial trialxy&amp;gt; &lt;br/&gt;/ ontrialend = [item.stimulus.appenditem(picture.objecttarget.currentitemnumber); &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; item.response.appenditem(trial.trialxy.response);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; item.latency.appenditem(trial.trialxy.latency);]&lt;br/&gt;/ pretrialpause = 300&lt;br/&gt;/ validresponse = ("J", "L")&lt;br/&gt;/ stimulustimes = [0=objecttarget]&lt;br/&gt;/ posttrialpause = 100&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;You'd then log the respective items to the summary file:&lt;br/&gt;&lt;br/&gt;&amp;lt;summarydata&amp;gt;&lt;br/&gt;/ columns = [..., item.stimulus.item.1, item.response.item.1, item.latency.item.1, ..., item.stimulus.item.30, item.response.item.30, item.latency.item.30]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/summarydata&amp;gt;&lt;br/&gt;</description><pubDate>Thu, 03 Nov 2016 15:48:43 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: summary data - trial number, trial object, trial response</title><link>https://forums.millisecond.com/Topic20045.aspx</link><description>Hey,&lt;br/&gt;yes that's a neat option and that's exactly how I designed my experiment so far = running the survey pages as a trial. It creates different datafiles for each survey, but that's fine. Interestingly, for the surveys I had no problem&amp;nbsp;&lt;br/&gt;including them in the summary data over commands like radiobutton.xy.response, textbox.abc.response, dropdown.name.response and so on.&lt;br/&gt;&lt;br/&gt;I believe you that getting a command for the different trials to be in the summary data as one line would be very cumbersome, especially for 30 trials... so for now, I am fine with just having one file with all surveys (that's the summary data file) and one file with the experimental data. Then I will just have to spend some time later to reorganize them into my format, as SPSS seems to work so much easier with one line per participant...&lt;br/&gt;either way will be cumbersome.&lt;br/&gt;&lt;br/&gt;Without going too much into detail:&lt;br/&gt;How would the commands for putting specific trials in the summary data look like? Would it work with the "values" command, determined and specified at the end of each trial?&lt;br/&gt;Not that I would want to program it, but after wondering and searching for a solution so long, I am kind of curious about the solution - even if I decide not to pursue it :).&amp;nbsp;&lt;br/&gt;At least it would make me feel like I cracked the code...&lt;br/&gt;&lt;br/&gt;Thanks&lt;br/&gt;LoPu&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Thu, 03 Nov 2016 13:40:51 GMT</pubDate><dc:creator>LoPu</dc:creator></item><item><title>RE: summary data - trial number, trial object, trial response</title><link>https://forums.millisecond.com/Topic20043.aspx</link><description>If you want the data from your survey to end up in the same data file as the rest (&amp;lt;block&amp;gt;s, &amp;lt;trial&amp;gt;s), the way to do that is to run your &amp;lt;surveypage&amp;gt;s via a &amp;lt;block&amp;gt;'s /trials attribute instead of using a &amp;lt;survey&amp;gt; element.&lt;br/&gt;&lt;br/&gt;As for the summary format you outlined, it is possible to obtain, but it would be (a) very cumbersome and (b) usually that kind of format would not be particularly useful for data analysis.&lt;br/&gt;&lt;br/&gt;Hope this helps.&lt;br/&gt;</description><pubDate>Thu, 03 Nov 2016 09:14:41 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: summary data - trial number, trial object, trial response</title><link>https://forums.millisecond.com/Topic20040.aspx</link><description>Hey,&lt;br/&gt;thanks for the response and yes,&amp;nbsp;I see that this information is in the raw-data file.&amp;nbsp;&lt;br/&gt;It's just that after the trials, there is a survey and then trials again, so I would love to have one summary file where all parts of the experiment kind of go together - including the trials...&lt;br/&gt;&lt;br/&gt;Is there a way to do that? Or does your answer basically mean that there is no code for that?!&lt;br/&gt;Thanks&lt;br/&gt;LoPu&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Thu, 03 Nov 2016 05:00:30 GMT</pubDate><dc:creator>LoPu</dc:creator></item><item><title>RE: summary data - trial number, trial object, trial response</title><link>https://forums.millisecond.com/Topic20039.aspx</link><description>This information is in the *raw* "long-format" data file. It provides a trial-by-trial record of the stimulus show, the response submitted, the response's latency, etc.&lt;br/&gt;&lt;br/&gt;The summary data file is solely for recording a single-line of *summary* statistics per subject, e.g. if you wanted to record the mean latency of certain trials, or the overall percentage of correct responses, etc.&lt;br/&gt;</description><pubDate>Wed, 02 Nov 2016 18:07:00 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>