Terminate the slide only when the subject press a key after a random time

Cognitology mspape at cognitology.eu
Fri Mar 22 13:11:36 UTC 2013


Hi Valerio,

 

So, you want the subject to see the slide for another 1340 ms if they have
pressed the button after 1000 ms. So, instead of

If Slide.RT < T then 

Accuracy = 0

Slide.Duration = T – Slide.RT

Goto LabelX

End if

 

Would that work? Now, the duration is adjusted based on the RT. This works,
I think, sort of, unless if T = say, 2500. The subject presses the button
after 2000 ms (and thus has 500 ms left to see the screen), but now presses
the button after 400 ms – oops, now they will see the screen for 2100 ms
again. In order to cope, you could add a bit more code above, or reduce T by
RT. You could also use an attribute for Slide.Duration to make it something
like [T_not_yet_seen], which is first

c.setAttrib “T_not_yet_seen”, c.GetAttrib(“T”)

and in the IF statement above,

c.SetAttrib “T_not_yet_seen”, c.GetAttrib(“T_not_yet_seen”) – Slide.RT

 

Best,

Michiel  

 

From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf
Of Valerio Biscione
Sent: 22. March 2013 14:08
To: e-prime at googlegroups.com
Subject: Re: Terminate the slide only when the subject press a key after a
random time

 

Hi Michael and thank you for your reply.
The problem is that when I go back to the labelX the time that the subject
"passes" on the slide1 starts again from 0. But when the subject presses the
key (before the reward is available), I would be able to stay on the same
slide, so the timer will keep counting the time. 
I will explain myself better: 

imagine that the random number is 2.34seconds. Now the subject press the key
after 1 seconds. I would like to be able to have the subject to continue to
see the same slide. So the subject waits another 1.5 seconds (and the total
is now 2.5 seconds) before pressing the button. But now, when he/her presses
it, the software goes to the next slide.

In you example the subject will always starts from 0. So using the same
random number as before, if he/her presses the key after 1 seconds, he has
to wait at least 2.34 seconds before pressing the key and getting the reward
(whereas in the previous example, after the first pressing, he/her has to
wait just a minimum of 1.34 seconds).

 


On Friday, 22 March 2013 11:44:22 UTC, Michiel Sovijärvi-Spapé wrote:

Hi,

It’s not really that strange – I find that many people, but cognitive
psychologists in particular, seem unaware of just how very small the world
of their favourite paradigm can be J In fact, I have not heard of this
procedure and I suppose this is because it is more popular with those who’re
more interested in the conditioning side of things, but I could be wrong
there. 

In any case, what’s wrong with 

1.       Inline: Accuracy = -1

2.       LabelX

3.       Slide, set .Duration to -1. 

4.       If Slide.RT < T then 

Accuracy = 0

Goto LabelX

Etc?

Sorry, it’s Friday, difficult to think very straight, but to be honest, I
cannot see what’s wrong with just going back to the moment just before the
slide is presented. 

Best,

Michiel

 

From: e-p... at googlegroups.com <javascript:>  [mailto:e-p... at googlegroups.com
<javascript:> ] On Behalf Of Valerio Biscione
Sent: 22. March 2013 13:21
To: e-p... at googlegroups.com <javascript:> 
Subject: Terminate the slide only when the subject press a key after a
random time

 

I have searched on the group for other topics with this problem, but I
haven't found anything. 
This is actually a normal Variable Interval schedule, so it's strange that
hasn't been treated already.

I want to show a slide to the subject. At the beginning of the slide a
random number is generated. This random number indicates the number of
milliseconds that the subjects has to wait to receive a reward. Let's call
this random number T. The subject can press the key anytime he/she wants,
but only if he presses the time AFTER the time T he will receive a reward
and the software can go to the next slide. If he presses the key before T he
receive a punishment, but can still try to "win" the reward in the slide.

I already solved the problem to record all the RTtime that the subject press
the key during the slide. The problem is to make the software to go further
ONLY if the key is pressed after T. T is recorded in a variable, but won't
be a problem to use an attribute.
Do you have any idea?
Kind Regards
Valerio 

-- 
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+u... at googlegroups.com <javascript:> .
To post to this group, send email to e-p... at googlegroups.com <javascript:> .
To view this discussion on the web visit
https://groups.google.com/d/msg/e-prime/-/xIBEh-dbA3oJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

-- 
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.
To view this discussion on the web visit
https://groups.google.com/d/msg/e-prime/-/Fof8yQk69rkJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

-- 
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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20130322/7221a578/attachment.htm>


More information about the Eprime mailing list