﻿<?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 4  » Script for Corrected Errors</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 04 Aug 2026 14:55:58 GMT</lastBuildDate><ttl>20</ttl><item><title>Script for Corrected Errors</title><link>https://forums.millisecond.com/Topic14938.aspx</link><description>I'm working on a simple program in which a stimulus number is presented and participants must enter that number in an open-ended trial. I'm assessing latency, correct responses, and (hopefully) corrected errors. A corrected error occurs when a submission would have been incorrect if the participant hadn't backspace-d to correct the error. &lt;br/&gt;&lt;br/&gt;However, I can't figure out a script to assess corrected errors. I need something like:&lt;br/&gt;&lt;br/&gt;&amp;lt;openended&amp;gt;&lt;br/&gt;/ stimulusframes = [1=350]&lt;br/&gt;/ validresponse = (anyresponse)&lt;br/&gt;/ correctresponse = (350)&lt;br/&gt;/ iscorrectederror = [openended.response includes a backspace &amp;amp;&amp;amp; openended.response == 350]&lt;br/&gt;&lt;font color="#3d9186"&gt;\\ obviously, iscorrectederror is a made-up attribute \\&lt;/font&gt;&lt;br/&gt;&amp;lt;/openended&amp;gt;&lt;br/&gt;&lt;br/&gt;In other words, I need a line of script that will give me a data output if the response included a backspace AND was a correct response, because that would be a corrected error.&lt;br/&gt;&lt;br/&gt;Thanks in advance for your collective help!&lt;br/&gt;</description><pubDate>Wed, 12 Nov 2014 18:46:26 GMT</pubDate><dc:creator>ktsp1919</dc:creator></item><item><title>RE: Script for Corrected Errors</title><link>https://forums.millisecond.com/Topic14972.aspx</link><description>That's a really helpful suggestion and would've solved my problem if they were one-digit integers. Unfortunately, they're multi-digit. Thanks for the workaround!&lt;br/&gt;</description><pubDate>Wed, 12 Nov 2014 18:46:26 GMT</pubDate><dc:creator>ktsp1919</dc:creator></item><item><title>RE: Script for Corrected Errors</title><link>https://forums.millisecond.com/Topic14942.aspx</link><description>That's not possible using &amp;lt;openended&amp;gt; elements. The only thing you could do is evaluate the openended's firstcharlatency &amp;amp; lastcharlatency properties. If they are not identical, a correction must have occurred (assuming the input is a single character, such as a simple digit)).&lt;br/&gt;</description><pubDate>Tue, 11 Nov 2014 04:01:33 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>