Package: fddm 1.0-2

Henrik Singmann

fddm:Fast Implementation of the Diffusion Decision Model

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, <doi:10.1162/neco.2008.12-06-420>) 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, <doi:10.1016/j.jmp.2009.02.003>; Gondan, Blurton, & Kesselmeier, 2014, <doi:10.1016/j.jmp.2014.05.002>; Blurton, Kesselmeier, & Gondan, 2017, <doi:10.1016/j.jmp.2016.11.003>; Hartmann & Klauer, 2021, <doi:10.1016/j.jmp.2021.102550>) plus new approximations. All approximations are implemented purely in 'C++' providing faster speed than existing packages.

Authors:Kendal B. Foster [aut], Henrik Singmann [ctb, cre], Achim Zeileis [ctb]

fddm_1.0-2.tar.gz
fddm_1.0-2.tar.gz(r-4.5-noble)fddm_1.0-2.tar.gz(r-4.4-noble)
fddm_1.0-2.tgz(r-4.4-emscripten)fddm_1.0-2.tgz(r-4.3-emscripten)
fddm.pdf |fddm.html
fddm/json (API)
NEWS

# Installfddm in R:
install.packages('fddm',repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/rtdists/fddm/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

15 exports 0.23 score 3 dependencies 359 downloads

Last updated 3 days agofrom:70b4e2b47d

Exports:da_dfddmda2_dfddmddmdfddmdsv_dfddmdsv2_dfddmdt_dfddmdt0_dfddmdt02_dfddmdt2_dfddmdv_dfddmdv2_dfddmdw_dfddmdw2_dfddmpfddm

Dependencies:FormulaRcppRcppEigen

Benchmark Testing for the DDM Density Function

Rendered frombenchmark.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-07-03
Started: 2020-07-10

Description of Methods in pfddm

Rendered frompfddm.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-06-27
Started: 2021-08-06

Fitting Examples Using fddm

Rendered fromexample.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-06-27
Started: 2020-07-10

Mathematical Description of Methods in dfddm

Rendered frommath.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-06-27
Started: 2020-07-10

Validity of Methods in dfddm

Rendered fromvalidity.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-06-27
Started: 2020-07-10

Readme and manuals

Help Manual

Help pageTopics
Partial Derivative of 5-parameter DDM PDF with respect to a (threshold separation)da_dfddm
Second-Order Partial Derivative of 5-parameter DDM PDF with respect to a (threshold separation)da2_dfddm
Estimation of 5-Parameter DDMddm
Methods for ddm objectscoef.ddm ddm-methods emm_basis.ddm logLik.ddm model.frame.ddm model.matrix.ddm print.ddm print.summary.ddm recover_data.ddm summary.ddm terms.ddm update.ddm vcov.ddm
Density of Ratcliff Diffusion Decision Modeldfddm
Partial Derivative of 5-parameter DDM PDF with respect to sv (inter-trial variability in the drift rate)dsv_dfddm
Second-Order Partial Derivative of 5-parameter DDM PDF with respect to sv (inter-trial variability in the drift rate)dsv2_dfddm
Partial Derivative of 5-parameter DDM PDF with respect to t (response time)dt_dfddm
Partial Derivative of 5-parameter DDM PDF with respect to t0 (non-decision time)dt0_dfddm
Second-Order Partial Derivative of 5-parameter DDM PDF with respect to t0 (non-decision time)dt02_dfddm
Second-Order Partial Derivative of 5-parameter DDM PDF with respect to t (response time)dt2_dfddm
Partial Derivative of 5-parameter DDM PDF with respect to v (drift rate)dv_dfddm
Second-Order Partial Derivative of 5-parameter DDM PDF with respect to v (drift rate)dv2_dfddm
Partial Derivative of 5-parameter DDM PDF with respect to w (initial bias)dw_dfddm
Second-Order Partial Derivative of 5-parameter DDM PDF with respect to w (initial bias)dw2_dfddm
Medicial decision datamed_dec
Distribution of Ratcliff Diffusion Decision Modelpfddm