Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 4 of 4

Thread: Random content in jump trials

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2006
    Posts
    10

    Possible solution

    I think I might have figured out how to do what I was looking to do. It's not perfect, but it seems to work....

    In this example, participants are shown 2-digit numbers and asked whether they are 'good' or 'bad' numbers (by pressing the 'G' or 'B' keys respectively). They get feedback telling them whether their responses are correct or incorrect. They learn to distinguish good from bad numbers across trials. Let's say I want to reinforce participants 80% of the time they give a correct response, and punish participants 20% of the time they give an incorrect response (i.e., participants will learn via reinforcement rather than punishment). I make trials 980-989 the feedback I will give for correct responses. 8 or these will say something like "GOOD JOB!". 2 of them will be blank. I make trials 990-999 the feedback I will give for incorrect responses. 8 of them will be blank and 2 will say something like "AWFUL!". For each experimental trial, I set the time field to randomly select one of either the 10 reinforcing feedbacks or 10 punishing feedbacks.

    Like this:
    rt:34<rand(980,981,982,983,984,985,986,987,988,989 ),48<rand(990,991,992,993,994,995,996,997,998,999)

    Say a 'good' number was shown in this trial. Direct RT will randomly select one of the 10 reinforcing feedbacks (8 say GOOD JOB and 2 are blank) if participants press the G key (coded as 34). Direct RT will randomly select one of the 10 punishing feedbacks (8 are blank and 2 say AWFUL) if participants press the B key (coded as 48). Because each experimental trial is unique, it should make a new random selection of feedback each trial.

    I can't 100% verify that this works, but based on my own testing, it seems to be doing the job. Any obvious problems with this?

  2. #2
    Join Date
    Nov 2005
    Posts
    3,328
    Clearly the work of a clever bunny.

    I would deduct points only for your efficiency in choosing the random numbers, no? i.e., as opposed to:
    Code:
     rt:34<rand(980-989),48<rand(990-999)

Similar Threads

  1. Skipping when trials are randomized?
    By jarvis24 in forum DirectRT Older Versions: How Do I...
    Replies: 4
    Last Post: 10-28-2011, 11:21 AM
  2. error message based on content, not reaction time
    By ohrbach in forum DirectRT Older Versions: How Do I...
    Replies: 1
    Last Post: 04-24-2006, 09:02 AM
  3. Logging trials that do not require a response
    By jarvis24 in forum DirectRT Older Versions: Troubleshooting
    Replies: 1
    Last Post: 02-14-2006, 11:59 AM
  4. Flashing between trials with an IAT
    By jarvis24 in forum DirectRT Older Versions: Troubleshooting
    Replies: 1
    Last Post: 11-17-2005, 01:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •