AUTHOR=Moret-Tatay Carmen , Gamermann Daniel , Navarro-Pardo Esperanza , Fernández de Córdoba Castellá Pedro TITLE=ExGUtils: A Python Package for Statistical Analysis With the ex-Gaussian Probability Density JOURNAL=Frontiers in Psychology VOLUME=9 YEAR=2018 URL=https://www.frontiersin.org/journals/psychology/articles/10.3389/fpsyg.2018.00612 DOI=10.3389/fpsyg.2018.00612 ISSN=1664-1078 ABSTRACT=

The study of reaction times and their underlying cognitive processes is an important field in Psychology. Reaction times are often modeled through the ex-Gaussian distribution, because it provides a good fit to multiple empirical data. The complexity of this distribution makes the use of computational tools an essential element. Therefore, there is a strong need for efficient and versatile computational tools for the research in this area. In this manuscript we discuss some mathematical details of the ex-Gaussian distribution and apply the ExGUtils package, a set of functions and numerical tools, programmed for python, developed for numerical analysis of data involving the ex-Gaussian probability density. In order to validate the package, we present an extensive analysis of fits obtained with it, discuss advantages and differences between the least squares and maximum likelihood methods and quantitatively evaluate the goodness of the obtained fits (which is usually an overlooked point in most literature in the area). The analysis done allows one to identify outliers in the empirical datasets and criteriously determine if there is a need for data trimming and at which points it should be done.