Related Experiment Video
Updated: May 20, 2026

A Two-interval Forced-choice Task for Multisensory Comparisons
Published on: November 9, 2018
Estimating discrimination performance in two-alternative forced choice tasks: routines for MATLAB and R
Karin M Bausenhart1, Oliver Dyjas, Dirk Vorberg
1Department of Psychology, University of Tübingen, Schleichstrasse 4, 72076, Tübingen, Germany. karin.bausenhart@uni-tuebingen.de
Abstract:
Ulrich and Vorberg (Attention, Perception, & Psychophysics 71: 1219-1227, 2009) introduced a novel approach for estimating discrimination performance in two-alternative forced choice (2AFC) tasks. This approach avoids pitfalls that are inherent when the order of the standard and the comparison is neglected in estimating the difference limen (DL), as in traditional approaches. The present article provides MATLAB and R routines that implement this novel procedure for estimating DLs. These routines also allow to account for processing failures such as lapses or finger errors and can be applied to experimental designs in which the standard and comparison differ only along the task-relevant dimension, as well as to designs in which the stimuli differ in more than one dimension. In addition, Monte Carlo simulations were conducted to check the quality of our routines.

