correct response counter by stimulus?
Michiel Spape
Michiel.Spape at nottingham.ac.uk
Thu Jul 15 16:55:58 UTC 2010
Hiya,
Where do you get stuck, exactly? I mean, since you seem to be able to do the counting and repeating for one 'general' type of trial, what exactly is the difficulty with using many? Of course, you could do this in various ingenious ways using nice arrays and whatnot, but a ton of if-then algorithms should suffice, I'd think.
So, different counters for different stimuli:
- Instead of declaring and counting one counter, have many. Say, we want our subject to do each of two stimulustypes 6 times:
Userscript:
Dim CounterStimulusType1 as integer
Dim CounterStimulusType2 as integer
Trial:
If c.getAttrib ("myStimulusType") = 1 then CounterStimulusType1 = CounterStimulusType1 + 1
If c.getAttrib ("myStimulusType") = 2 then CounterStimulusType2 = CounterStimulusType2 + 1
... etc
If (CounterStimulusType1 >= 6) AND (CounterStimulusType2 >= 6) then 'if either one hasn't reached 6
Don't do repetition code
Else
Do repetition code
End if
Or am I missing something?
Best,
Mich
Michiel Spapé
Research Fellow
Perception & Action group
University of Nottingham
School of Psychology
-----Original Message-----
From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Teresa
Sent: 15 July 2010 17:01
To: E-Prime
Subject: correct response counter by stimulus?
Hello all,
My experiment involves learning a block of stimuli to a criterion (6
correct responses in a row) before advancing to the next block. I
know how to put in an inline with an overall correct response counter
and set it to repeat the block or advance to the next one, but don't
know how tie the counter to each stimulus-- what I really need is a
counter for each individual stimulus and then to tie them together
such that you only advance to the next block when the counter for
stimulus 1 has reached criterion AND the counter for stimulus 2 has
reached criterion AND ...etc. Let me know if that's unclear at all,
and thank you for any ideas!
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.
More information about the Eprime
mailing list