Help regarding PrP Paradigm


Author
Message
Leafeon
Leafeon
Associate Member (84 reputation)Associate Member (84 reputation)Associate Member (84 reputation)Associate Member (84 reputation)Associate Member (84 reputation)Associate Member (84 reputation)Associate Member (84 reputation)Associate Member (84 reputation)Associate Member (84 reputation)
Group: Forum Members
Posts: 1, Visits: 17
Hello everyone!

So I am completely new to Inquisit and programming and I am stuck right now. I use an existing Inquisit script for the PRP paradigm. In the original script there are two tasks. Task 1 is a go-nogo task where participants need to press a certain button when they see an x vs. do nothing when they see the number 1. On the second task participants hear a low or high tone and need to decide if the tone was high or low (with two different buttons). Now the thing is, these two tasks happen almost at the same time (with differing onset asynchronies) and participants need to answer to task1 first and then to task 2. The trail ends when response to task 2 was given. Now my problem is the following: for my purpose I want to switch task 1 and task 2 (task one being the tones). I managed to switch them in the trials element and it works fine when I run it (the tone appears first, the x or 1 second). But Inquisit records my answers to task 1 (high or low tone, originally task 2) as task 2 responses AND as incorrect meaning there also seems to be a problem with the answering keys that I programmed. So here is what I did:

- I created new response keys (<paramters>) and replaced these with the former ones in the trials elements ( I also added a second one for the go-nogo task as I want to replace that task with another one in the end) --> 4 response keys
- in the trials section I switched the elements for sounds and text, so that the sounds appear first
- in the trials section I changed 
/iscorrectresponse = [values.firsttaskresponse == "" && values.secondtaskresponse == parameters.highkey] 
to
/iscorrectresponse = [values.firsttaskresponse == parameters.lowkey && values.secondtaskresponse == parameters.hotkey] so that the first task response is given with the low/high keys I programmed

But I guess I did something wrong or left something out because whenever I try to give my answers for high or low I get a wrong feedback and when I look at the recorded data I have no first task responses recorded, only second task one which are all incorrect. I hope you understand my problem and that someone can help me :)
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: 105K
Leafeon - Saturday, July 1, 2017
Hello everyone!

So I am completely new to Inquisit and programming and I am stuck right now. I use an existing Inquisit script for the PRP paradigm. In the original script there are two tasks. Task 1 is a go-nogo task where participants need to press a certain button when they see an x vs. do nothing when they see the number 1. On the second task participants hear a low or high tone and need to decide if the tone was high or low (with two different buttons). Now the thing is, these two tasks happen almost at the same time (with differing onset asynchronies) and participants need to answer to task1 first and then to task 2. The trail ends when response to task 2 was given. Now my problem is the following: for my purpose I want to switch task 1 and task 2 (task one being the tones). I managed to switch them in the trials element and it works fine when I run it (the tone appears first, the x or 1 second). But Inquisit records my answers to task 1 (high or low tone, originally task 2) as task 2 responses AND as incorrect meaning there also seems to be a problem with the answering keys that I programmed. So here is what I did:

- I created new response keys (<paramters>) and replaced these with the former ones in the trials elements ( I also added a second one for the go-nogo task as I want to replace that task with another one in the end) --> 4 response keys
- in the trials section I switched the elements for sounds and text, so that the sounds appear first
- in the trials section I changed 
/iscorrectresponse = [values.firsttaskresponse == "" && values.secondtaskresponse == parameters.highkey] 
to
/iscorrectresponse = [values.firsttaskresponse == parameters.lowkey && values.secondtaskresponse == parameters.hotkey] so that the first task response is given with the low/high keys I programmed

But I guess I did something wrong or left something out because whenever I try to give my answers for high or low I get a wrong feedback and when I look at the recorded data I have no first task responses recorded, only second task one which are all incorrect. I hope you understand my problem and that someone can help me :)

I can't really say much given only the incomplete / very high-level description of the changes you made. But, since you don't mention it anywhere, it would seem to me that you left out some crucial adjustments, namely revamping the various <trial> elements' /isvalidresponse logic to account for the changed order of tasks.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search