fddm: Fast Implementation of the Diffusion Decision Model

Kendal B. Foster · 2020

Provides the probability density function (PDF), cumulative distribution function (CDF), the first-order and second-order partial derivatives of the PDF, and a fitting function for the diffusion decision model (DDM; e.g., Ratcliff & McKoon, 2008, ) with across-trial variability in the drift rate. Because the PDF, its partial derivatives, and the CDF of the DDM both contain an infinite sum, they need to be approximated. 'fddm' implements all published approximations (Navarro & Fuss, 2009, ; Gondan, Blurton, & Kesselmeier, 2014, ; Blurton, Kesselmeier, & Gondan, 2017, ; Hartmann & Klauer, 2021, ) plus new approximations. All approximations are implemented purely in 'C++' providing faster speed than existing packages.

Read the paper · More papers on PaperTik