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.zip(r-4.5)fddm_1.0-2.zip(r-4.4)fddm_1.0-2.zip(r-4.3)
fddm_1.0-2.tgz(r-4.4-x86_64)fddm_1.0-2.tgz(r-4.4-arm64)fddm_1.0-2.tgz(r-4.3-x86_64)fddm_1.0-2.tgz(r-4.3-arm64)
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

# Install 'fddm' in R:
install.packages('fddm', repos = c('https://rtdists.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:

On CRAN:

6.32 score 14 stars 4 scripts 284 downloads 15 exports 3 dependencies

Last updated 4 months agofrom:7780857f2e. Checks:OK: 1 ERROR: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 19 2024
R-4.5-win-x86_64ERRORNov 19 2024
R-4.5-linux-x86_64ERRORNov 19 2024
R-4.4-win-x86_64ERRORNov 19 2024
R-4.4-mac-x86_64ERRORNov 19 2024
R-4.4-mac-aarch64ERRORNov 19 2024
R-4.3-win-x86_64ERRORNov 19 2024
R-4.3-mac-x86_64ERRORNov 19 2024
R-4.3-mac-aarch64ERRORNov 19 2024

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 Nov 19 2024.

Last update: 2024-07-04
Started: 2020-06-01

Description of Methods in pfddm

Rendered frompfddm.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2024-06-25
Started: 2021-07-27

Fitting Examples Using fddm

Rendered fromexample.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2024-06-25
Started: 2020-06-01

Mathematical Description of Methods in dfddm

Rendered frommath.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2024-06-25
Started: 2020-05-04

Validity of Methods in dfddm

Rendered fromvalidity.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2024-06-25
Started: 2020-05-04

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