Response accuracy unreliable because {SHIFT} logged as response

David McFarlane mcfarla9 at msu.edu
Tue Apr 23 15:15:18 UTC 2013


I started to post the following...

Ah, yes, that does pose a problem.  In that case, you might rather 
use some inline code to strip out the extraneous {SHIFT} characters 
(and along the way convert everything to the same case, e.g., 
UCase$()), and then use If-Then to score the accuracy in code.  For 
handling key-nomenclature characters, see the "KeyCodeMap" demo at 
http://step.psy.cmu.edu/scripts-plus/ .


But then I thought this through further, especially considering your 
comment, "I use EPrime to develop my experiments because I have no 
experience coding ..., so please keep that in mind when 
responding."  So I came up with a much better, coding-free 
solution.  For Allowable, explicitly list all allowable characters, 
*without* {SHIFT}, e.g., "IVX{-}{+}{=}".  Then for Correct use the 
encoded response, again without {SHIFT}, e.g., "X{=}V{+}I".  If you 
use {ENTER} or whatever as a termination character, then you will 
also have to include that character for both Allowable and 
Correct.  Once you do this, {SHIFT} will continue to work for 
shifting keyboard characters, but will *not* show up in RESP, and 
everything will work as you asked, at least it worked for me when I 
tried it just now.

Good luck, let us know how it works out.

-----
David McFarlane
E-Prime training 
online:  http://psychology.msu.edu/Workshops_Courses/eprime.aspx
Twitter:  @EPrimeMaster (https://twitter.com/EPrimeMaster)


At 4/23/2013 10:38 AM Tuesday, HFAC wrote:
>David, thanks for the response. I thought of this solution as well, 
>but I cannot use caps lock because the + and = would not work 
>properly as they are on the same key.
>
>On Monday, April 15, 2013 2:14:53 PM UTC-4, McFarlane, David wrote:
>If all your letter responses are upper-case, why not just use Caps
>Lock so that subjects do not have to press Shift?
>
>-----
>David McFarlane
>E-Prime training
>online: 
><http://psychology.msu.edu/Workshops_Courses/eprime.aspx>http://psychology.msu.edu/Workshops_Courses/eprime.aspx 
>
>Twitter:  @EPrimeMaster 
>(<https://twitter.com/EPrimeMaster>https://twitter.com/EPrimeMaster)
>
>/----
>Stock reminder:  1) I do not work for PST.  2) PST's trained staff
>take any and all questions at
><http://support.pstnet.com/e%2Dprime/support/login.asp>http://support.pstnet.com/e%2Dprime/support/login.asp 
>, and they
>strive to respond to all requests in 24-48 hours, so make full use of
>it.  3) In addition, PST offers several instructional videos on their
>YouTube channel 
>(<http://www.youtube.com/user/PSTNET>http://www.youtube.com/user/PSTNET 
>).  4) If you do
>get an answer from PST staff, please extend the courtesy of posting
>their reply back here for the sake of others.
>\----
>
>
>At 4/12/2013 02:11 PM Friday, HFAC wrote:
> >Hello all,
> >
> >Thank you for your advice in advance. To introduce myself, I use
> >EPrime to develop my experiments because I have no experience coding
> >(a shame I know), so please keep that in mind when responding. So
> >far, I have only used the built in functions of EPrime.
> >
> >My Experiment: I have developed an experiment where participants see
> >a stimuli and participants are expected to answer using a series of
> >(capital) X, I, V, or -, +, and =. (For example: X=V+I) The
> >participants have 2 minutes to come up with correct answer and they
> >may try as many answers as they would like until they find the
> >correct one. I have set the experiment up where if the participant
> >enters an answer and it is incorrect they cannot continue but if
> >they enter the correct response they will receive feedback that they
> >are correct and can continue to the next puzzle.
> >
> >My Problem: I cannot get Eprime to recognize the correct response
> >(for example: X=V+I) because when participants capitalize their
> >responses EPrime records {SHIFT}. I have tried making the correct
> >response {SHIFT}X{=}{SHIFT}V{+}{SHIFT}I. This method is not reliable
> >because participants hit shift a variable number of times (when
> >making mistakes, etc.) so there is no way for me to predict the
> >number of shifts in their answer.
> >
> >Please let me know if you need additional information in order to help me.

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com.
To post to this group, send email to e-prime at googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



More information about the Eprime mailing list