Search the Legacy Support Archive (up to v2020)
  1. Read-only archive (2005–2024). Posting is closed. Need help with MediaLab or DirectRT 2027? Email service@empirisoft.com.

    All words · “exact phrase” · -leave out

    Advanced search

Stroop Task Color Randomization

  1. #1

    Stroop Task Color Randomization

    Hi there,

    I am creating a Stroop Task in Direct RT and have figured out how to randomize the different words that will be shown, but can't figure out how to randomize the colors for each word. Any suggestions?

    Thanks,
    Nadia

  2. #2
    Hi Nadia,

    One way to go about completing this task would be to take advantage of the rand() feature. You can find more information about this feature here: http://www.empirisoft.com/directrt/help/directrt_using_random_values.htm

    Within the style column for each trial, you can call upon the rand() feature to use a random style out of the created styles within the experiment's style file.

    For example, rand(1,2,3,4,5,6,7,8,9) or rand(1-9) will randomly call upon a number between 1-9. The number it chooses will identify with an ID in the style file (if placed within the style column).

    Regards,
    Trevor