add_residual: Convolute the First Passage Times with the Non-Decision Time...

View source: R/core_solve.R

add_residualR Documentation

Convolute the First Passage Times with the Non-Decision Time Distribution

Description

Calls stats::convolve for the first passage times and the non-decision time distribution to derive the full distribution of response times. Before convolution, I add the robustness parameter.

Usage

add_residual(pdf_nt, pdf_u, pdf_l, dt, nt)

Arguments

pdf_nt

the non-decision time density values

pdf_u, pdf_l

the first passage times

dt, nt

step size and number of steps for the time space (for input checks and scaling)

Value

a list of PDFs for one condition "pdf_u" and "pdf_l"


dRiftDM documentation built on April 3, 2025, 7:48 p.m.