Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2012 Dec;44(4):1157-74.
doi: 10.3758/s13428-012-0207-z.

Estimating discrimination performance in two-alternative forced choice tasks: routines for MATLAB and R

Affiliations

Estimating discrimination performance in two-alternative forced choice tasks: routines for MATLAB and R

Karin M Bausenhart et al. Behav Res Methods. 2012 Dec.

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.

PubMed Disclaimer

Publication types

LinkOut - more resources