Noreplace in Inquisit


Author
Message
student@sydney
student@sydney
Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)
Group: Forum Members
Posts: 5, Visits: 1

Hi, 


I am writing a script for an experiment that involves using spacebar presses that sometimes lead to the delivery of a stimulus through a port box, and sometimes lead to no outcome. I have managed to program most of the experiment, but in the testing phase I need to see how many button presses in 5second intervals are made, especially after the presentation of a stimulus. In doing this I have had to create a looping system, which is working nicely. However, because of this loop, I am finding it near impossible to counterbalance which stimuli are presented in which order. 


For example, currently part of the test phase looks like this (I won't upload the whole script as it would be too much of a headache for anyone to look through, and isn't relevant to the question I am asking): 



29 - 33 =replace (instrEXT_5bin); 34=Pav_testCSA; 35 - 44 =replace (instrEXT_5bin); 45 - 49 =replace (instrEXT_5bin);  50=Pav_testCSB; 51 - 60 =replace (instrEXT_5bin)


Where insrEXT_5bin are just blocks that allow unlimited spacebar presses but timeout after 5seconds, and Pav_testCSA and Pav_testCSB are the two looped blocks that present a stimulus while allowing unlimited spacebar presses. 


Ideally I would say something like 34 = noreplace (Pav_testCSA, Pav_test CSB) and do the same for block 50 (and for the next two sequences to come), but I know that noreplace resets after each block, so that I couldn't guarantee that between 34, 50 and the next two sequences, I would have seen Pav_testCSA and Pav_test CSB twice each. 


I was wondering if there was something in the subject number that defines which block will be selected during a noreplace, so that I can pre-determine which subject numbers to use to sort of pseudo-counterbalance myself. I know I can do this a long way by creating different versions of the experiment with CSA and CSB counterbalanced, but due to some other shortcuts I've used along the way this would result in 16different experiments being created. 


Thanks in advance for any suggestions anyone has! 





Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

29 - 33 =replace (instrEXT_5bin); 34, 50=noreplace(Pav_testCSA, Pay_testCSB); 35 - 44 =replace
(instrEXT_5bin); 45 - 49 =replace (instrEXT_5bin); 51 -
60 =replace (instrEXT_5bin)


student@sydney
student@sydney
Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)
Group: Forum Members
Posts: 5, Visits: 1

Hi Dave, 


Thank you so much for that it was very helpful. 


I was also wondering if you knew if there's a way to present two trials/ blocks simultaneously? During this part of the experiment I need a tone to play, as well as the participant still being able to press the spacebar (and each time they press the button a circle pops up). The way I had programmed this at first the spacebar was ending the trial automatically (as it has to be 'correct' in order to cause the circle), and so I looped it around so that it would allow multiple space bar presses. This means that the tone sounds disjointed though, as each trial 'ending' causes the tone to momentarily switch off. Let me know if this doesn't make sense without the code though! 


Thanks again! 


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

I was also wondering if you knew if there's a way to present two trials/ blocks simultaneously?


No, there is no way to run trials or blocks simultaneously.


You'll want to display your tone via the <block>'s /bgstim not via the <trial>'s /stimulusframes or /stimulustimes.


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search