﻿<?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 6  » Response time and average response time</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 13 Sep 2026 07:13:10 GMT</lastBuildDate><ttl>20</ttl><item><title>Response time and average response time</title><link>https://forums.millisecond.com/Topic35959.aspx</link><description>Hello, I need a bit of help on how to find response time and average response time. &lt;br/&gt;&lt;br/&gt;That is, after presenting the stimuli, I would like to know how long time subject took to response and after all stimuli presentations would like know average response time. A small caveat is that if subject do mistakes, I display a message (using /branch) which consumes about 800ms.&lt;br/&gt;To show average response, I would like not to count the time consumed (due to mistake) into my average response time.&lt;br/&gt;&lt;br/&gt;What script I need to add into my trial (may be in /ontrialend?)&lt;br/&gt;&lt;br/&gt;Would appreciate any help.&lt;br/&gt;Thank you in advance.&lt;br/&gt;</description><pubDate>Thu, 08 Feb 2024 10:25:44 GMT</pubDate><dc:creator>wuaham</dc:creator></item><item><title>RE: Response time and average response time</title><link>https://forums.millisecond.com/Topic35963.aspx</link><description>&lt;blockquote data-id="35960" class="if-quote-wrapper" unselectable="on" data-guid="1707387925983" contenteditable="false" id="if_insertedNode_1707387925402"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35960" 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="35960" 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="35960" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 2/7/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35960"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="35959" class="if-quote-wrapper" unselectable="on" data-guid="1707387925983" contenteditable="false" id="if_insertedNode_1707310257586"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35959" 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="35959" 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="35959" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wuaham - 2/7/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35959"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello, I need a bit of help on how to find response time and average response time. &lt;br/&gt;&lt;br/&gt;That is, after presenting the stimuli, I would like to know how long time subject took to response and after all stimuli presentations would like know average response time. A small caveat is that if subject do mistakes, I display a message (using /branch) which consumes about 800ms.&lt;br/&gt;To show average response, I would like not to count the time consumed (due to mistake) into my average response time.&lt;br/&gt;&lt;br/&gt;What script I need to add into my trial (may be in /ontrialend?)&lt;br/&gt;&lt;br/&gt;Would appreciate any help.&lt;br/&gt;Thank you in advance.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35959"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Provide runnable example code that faithfully represents your setup, then your question can be answered. As it is, it is too generic to be answerable.&lt;br/&gt;&lt;br/&gt;As a general matter, the latency property of the trial in which the response occured reflects response time in the current trial. (That you may /branch to some other trial after that does not matter). To calculate average response time, you can add the latency to a &amp;lt;list&amp;gt; /ontrialend and the list's mean property gives you the average of all latencies that were added to it.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35960"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Thank you Dave – that’s a good idea, I have implemented it by adding the latency and after end of block I will display the result to the subject. I will post a question along with the implementation on the script that you supported earlier.&lt;br/&gt;&lt;br/&gt;Have a great day. </description><pubDate>Thu, 08 Feb 2024 10:25:44 GMT</pubDate><dc:creator>wuaham</dc:creator></item><item><title>RE: Response time and average response time</title><link>https://forums.millisecond.com/Topic35960.aspx</link><description>&lt;blockquote data-id="35959" class="if-quote-wrapper" unselectable="on" data-guid="1707310258754" contenteditable="false" id="if_insertedNode_1707310257586"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35959" 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="35959" 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="35959" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wuaham - 2/7/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35959"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello, I need a bit of help on how to find response time and average response time. &lt;br/&gt;&lt;br/&gt;That is, after presenting the stimuli, I would like to know how long time subject took to response and after all stimuli presentations would like know average response time. A small caveat is that if subject do mistakes, I display a message (using /branch) which consumes about 800ms.&lt;br/&gt;To show average response, I would like not to count the time consumed (due to mistake) into my average response time.&lt;br/&gt;&lt;br/&gt;What script I need to add into my trial (may be in /ontrialend?)&lt;br/&gt;&lt;br/&gt;Would appreciate any help.&lt;br/&gt;Thank you in advance.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35959"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Provide runnable example code that faithfully represents your setup, then your question can be answered. As it is, it is too generic to be answerable.&lt;br/&gt;&lt;br/&gt;As a general matter, the latency property of the trial in which the response occured reflects response time in the current trial. (That you may /branch to some other trial after that does not matter). To calculate average response time, you can add the latency to a &amp;lt;list&amp;gt; /ontrialend and the list's mean property gives you the average of all latencies that were added to it.&lt;br/&gt;</description><pubDate>Wed, 07 Feb 2024 12:56:31 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>