﻿<?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 for responses</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 05 Apr 2026 21:52:39 GMT</lastBuildDate><ttl>20</ttl><item><title>Summary Data for responses</title><link>https://forums.millisecond.com/Topic22650.aspx</link><description>Hi all,&lt;br/&gt;&lt;br/&gt;I was wondering if you could help with a small thing: my task is finished now and as a finaltouch I'd like to add a summary data value which counts the number of times each response is given during the probetrials. The valid responses are "S", "N", "B", and "H".&amp;nbsp;&lt;br/&gt;&lt;br/&gt;There are 8 probes (requesting only one answer), so no answer can be given more than 8 times, but instead of fishing through the raw data to see the response for each trial it would be nice to have some kind of counter, as a summary for each participant.&lt;br/&gt;&lt;br/&gt;Let me know!&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;Jack</description><pubDate>Mon, 09 Oct 2017 10:26:02 GMT</pubDate><dc:creator>jacklee-w</dc:creator></item><item><title>RE: Summary Data for responses</title><link>https://forums.millisecond.com/Topic22653.aspx</link><description>&lt;div data-id="22652" class="if-quote-wrapper" unselectable="on" data-guid="1507569924967"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="22652" 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="22652" 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="22652" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, October 9, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-22652"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="22650" class="if-quote-wrapper" unselectable="on" data-guid="1507569924967"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="22650" 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="22650" 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="22650" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;jacklee-w - Monday, October 9, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-22650"&gt;&lt;div class="if-quote-message-margin"&gt;Hi all,&lt;br/&gt;&lt;br/&gt;I was wondering if you could help with a small thing: my task is finished now and as a finaltouch I'd like to add a summary data value which counts the number of times each response is given during the probetrials. The valid responses are "S", "N", "B", and "H".&amp;nbsp;&lt;br/&gt;&lt;br/&gt;There are 8 probes (requesting only one answer), so no answer can be given more than 8 times, but instead of fishing through the raw data to see the response for each trial it would be nice to have some kind of counter, as a summary for each participant.&lt;br/&gt;&lt;br/&gt;Let me know!&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;Jack&lt;a class="if-quote-goto quote-link" href="#" data-id="22650"&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;You need to create &amp;lt;values&amp;gt; for each response &lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ S_count = 0&lt;br/&gt;/ N_count = 0&lt;br/&gt;/ B_count = 0&lt;br/&gt;/ H_count = 0&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;and then increment the respective count in your &amp;lt;trial&amp;gt;s /ontrialend&lt;br/&gt;&lt;br/&gt;//S = scancode 31&lt;br/&gt;//N = scancode 49&lt;br/&gt;//B = scancode 48&lt;br/&gt;//H = scancode 35&lt;br/&gt;&amp;lt;trial example&amp;gt;&lt;br/&gt;...&lt;br/&gt;/ validresponse = ("S", "N" "B", "H")&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (trial.example.response == 31) values.S_count += 1;&lt;br/&gt;]&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (trial.example.response == 49) values.N_count += 1;&lt;br/&gt;]&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (trial.example.response == 48) values.B_count += 1;&lt;br/&gt;]&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (trial.example.response == 35) values.H_count += 1;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;Finally, log those values to the summary file&lt;br/&gt;&lt;br/&gt;&amp;lt;summarydata&amp;gt;&lt;br/&gt;/ columns = [..., values.S_count, values.N_count, values.B_count, values.H_count, ...]&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="22652"&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;&lt;span style="font-size: 13.3333px;"&gt;Works a treat!&amp;nbsp;&lt;/span&gt;Thanks, Dave.&amp;nbsp;</description><pubDate>Mon, 09 Oct 2017 10:26:02 GMT</pubDate><dc:creator>jacklee-w</dc:creator></item><item><title>RE: Summary Data for responses</title><link>https://forums.millisecond.com/Topic22652.aspx</link><description>&lt;div data-id="22650" class="if-quote-wrapper" unselectable="on" data-guid="1507565965792"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="22650" 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="22650" 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="22650" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;jacklee-w - Monday, October 9, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-22650"&gt;&lt;div class="if-quote-message-margin"&gt;Hi all,&lt;br/&gt;&lt;br/&gt;I was wondering if you could help with a small thing: my task is finished now and as a finaltouch I'd like to add a summary data value which counts the number of times each response is given during the probetrials. The valid responses are "S", "N", "B", and "H".&amp;nbsp;&lt;br/&gt;&lt;br/&gt;There are 8 probes (requesting only one answer), so no answer can be given more than 8 times, but instead of fishing through the raw data to see the response for each trial it would be nice to have some kind of counter, as a summary for each participant.&lt;br/&gt;&lt;br/&gt;Let me know!&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;Jack&lt;a class="if-quote-goto quote-link" href="#" data-id="22650"&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;You need to create &amp;lt;values&amp;gt; for each response &lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ S_count = 0&lt;br/&gt;/ N_count = 0&lt;br/&gt;/ B_count = 0&lt;br/&gt;/ H_count = 0&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;and then increment the respective count in your &amp;lt;trial&amp;gt;s /ontrialend&lt;br/&gt;&lt;br/&gt;//S = scancode 31&lt;br/&gt;//N = scancode 49&lt;br/&gt;//B = scancode 48&lt;br/&gt;//H = scancode 35&lt;br/&gt;&amp;lt;trial example&amp;gt;&lt;br/&gt;...&lt;br/&gt;/ validresponse = ("S", "N" "B", "H")&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (trial.example.response == 31) values.S_count += 1;&lt;br/&gt;]&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (trial.example.response == 49) values.N_count += 1;&lt;br/&gt;]&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (trial.example.response == 48) values.B_count += 1;&lt;br/&gt;]&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (trial.example.response == 35) values.H_count += 1;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;Finally, log those values to the summary file&lt;br/&gt;&lt;br/&gt;&amp;lt;summarydata&amp;gt;&lt;br/&gt;/ columns = [..., values.S_count, values.N_count, values.B_count, values.H_count, ...]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/summarydata&amp;gt;&lt;br/&gt;</description><pubDate>Mon, 09 Oct 2017 09:26:45 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>