E-Prime Tutorial #6: The FeedbackDisplay Object and an Introduction to Slide States


Overview

In some experiments, you may want the subject to know how he did immediately after a trial. For example, if he was too slow to respond, he should receive feedback telling him so and encouraging him to respond faster on the next trial. Likewise, you may want to give him feedback about whether his response was correct or incorrect so that he is using the right response mappings.

This feedback can be given with a FeedbackDisplay object, which you can find in the toolbox on the left sidebar. Click and drag one of these objects onto the StroopProc timeline after the StroopSlide object, and rename it “StroopFeedback”. When you double-click on the object, you will notice that the window is similar to that of a Slide object. The main difference is that it already contains text, and that there are several tabs at the bottom of the window labeled Correct, Incorrect, NoResponse, and Pending.

../../_images/06_StroopFeedback.png

These tabs are technically called Slide States, which we will review in more detail in the next chapter. For now, you need to know that they are “activated”, or presented to the subject, based on which response is made on a previous slide.

This slide is indicated by clicking on the FeedbackDisplay’s Property button, and then clicking on the “General” tab. The Input Object Name dropdown menu includes a list of all of the objects on the procedural timeline before the current FeedbackDisplay object. In this case, we are interested in the reaction time and accuracy of the StroopSlide object; select it, leave all of the default boxes checked, and then click OK.

../../_images/06_StroopFeedback_SlideSelect.png

The Duration and Input of the FeedbackSlide object can be changed, just like any other Slide object. However, since we usually aren’t interested in collecting responses during the Feedback state, leave the defaults as they are. You can increase or decrease the Duration of the Slide if you want.

Changing the Presentation of the FeedbackDisplay Object

As with other Slide objects, the FeedbackDisplay object can contain several sub-objects in the workspace window. The default is three text objects: One saying “Correct!”, one displaying the reaction time in seconds, and one displaying the overall accuracy. You can change the color of the text, as well as the color of the background.

Since the subjects are already focusing on color for this experiment, perhaps it’s best to standardize the color scheme of the FeedbackDisplay object and make it as uniform as possible. For each text object on each slide state (i.e., tab), change the color of the text to white, and change the background color to black:

../../_images/06_StroopFeedback_Color.png

Now run the experiment and see how the feedback slide states are triggered based on your performance. If everything is programmed correctly, you should get correct feedback displays when a correct response is made, incorrect displays when you press the wrong key, and a “No Response” slide if you don’t make a response. Try to trigger all three states, and see how your accuracy changes as the experiment progresses.

Exercises

  1. To keep the subject fixated on the center of the screen in preparation for the next trial, align the text to be in the center of the FeedbackDisplay object.

  2. At the bottom of this E-Prime help page (https://tinyurl.com/rvepnqc), you will see variables with an “@” symbol preceding them. These are called macros, which are shorthand pieces of code that represent a longer, more sophisticated piece of code. The macro @RT, for example, calculates the subject’s reaction time for the current trial, and is used in the display for the Correct slide state of the StroopFeedback object. Try inserting other macros into either the Correct or Incorrect slide states, such as @CorrectRT.MEAN or @IncorrectRT.MEAN. Which would be more useful for the subject to see in which slide state?


Video

For a video demonstration of the FeedbackDisplay object, click here.