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
. 2025 Jun 16;57(7):199.
doi: 10.3758/s13428-025-02720-4.

YEAB: YEAB Ease the analysis of behavior

Affiliations

YEAB: YEAB Ease the analysis of behavior

Emmanuel Alcalá et al. Behav Res Methods. .

Abstract

In recent years, with the advent of open-source programming languages such as R and Python, there has been a resurgence of the DIY spirit in the experimental analysis of behavior and, more broadly, in experimental psychology. This paper introduces YEAB, an R package that streamlines the processing and analysis of data from numerous common behavioral paradigms. Key features include automated extraction of raw data from MED-PC output files, flexible modeling of interresponse times (including mixture-exponential approaches), single-trial analysis for fixed-interval and peak procedures, and model fitting of delay discounting data in intertemporal choice tasks. By consolidating core functions into one accessible package, YEAB empowers researchers to efficiently handle multi-level data structures, promote reproducible workflows, and expand the scope of behavioral experimentation. Collectively, these functionalities facilitate robust, transparent analyses, fostering open-science practices and supporting innovative exploration in EAB and related fields.

Keywords: CRAN; Open Source; R package; YEAB.

PubMed Disclaimer

Conflict of interest statement

Declarations. Ethics approval: Not applicable. Consent to participate: Not applicable. Consent for publication: Not applicable. Conflicts of interest/Competing interests: The authors declare that they have no competing interests in relation to this work.

Similar articles

References

    1. Alcalá, E., & Buriticá, J. (2021). Data and Code for “Increased generalization in a peak procedure after delayed reinforcement” (Version v1). https://doi.org/10.5281/zenodo.5766212
    1. Amlung, M., Marsden, E., Holshausen, K., Morris, V., Patel, H., Vedelago, L., ..., McCabe, R. E. (2019). Delay discounting as a transdiagnostic process in psychiatric disorders: A meta-analysis. JAMA Psychiatry, 76(11), 1176–1186. https://doi.org/10.1001/jamapsychiatry.2019.2102
    1. Amlung, M., Vedelago, L., Acker, J., Balodis, I., & MacKillop, J. (2017). Steep delay discounting and addictive behavior: A meta-analysis of continuous associations. Addiction, 112(1), 51–62. https://doi.org/10.1111/add.13535 - DOI - PubMed
    1. Barrón, E. (2020). Efecto de la inserción de un evento distractor o la interrupción de la señal en un procedimiento de pico sobre la estimación temporal. Retrieved June 12, 2025 from https://riudg.udg.mx/visor/pdfjs/viewer.jsp?in=j&pdf=20.500.12104/83...
    1. Bickel, W. K., Athamneh, L. N., Basso, J. C., Mellis, A. M., DeHart, W. B., Craft, W. H., & Pope, D. (2019). Excessive discounting of delayed reinforcers as a trans-disease process: Update on the state of the science. Current Opinion in Psychology, 30, 59–64. https://doi.org/10.1016/j.copsyc.2019.01.005 - DOI - PubMed - PMC

LinkOut - more resources