integration_fixedSSD: Estimate SSRT via the integration method (fixed SSD design)
Description
Identical to integration_adaptiveSSD in computation, but
intended for experiments using a fixed (constant) stop-signal delay. When
multiple fixed SSD values are used, SSRT is computed separately for each
SSD and the results are averaged (Verbruggen et al., 2019, Appendix).
Usage
integration_fixedSSD(
data,
stop_col = "vol",
rt_col = "RT_exp",
acc_col = "correct",
ssd_col = "soa",
min_rt = 50
)
Value
A single numeric value: the estimated SSRT in milliseconds.
Arguments
- data
A data.frame with one row per trial.
- stop_col
Column name for the stop-trial indicator (1 = stop, 0 = go).
Default "vol".
- rt_col
Column name for reaction time in ms. Default "RT_exp".
- acc_col
Column name for accuracy (1 = correct). Default "correct".
- ssd_col
Column name for stop-signal delay in ms. Default "soa".
- min_rt
Minimum valid RT in ms; shorter responses are excluded as
anticipations. Default 50.
References
Verbruggen, F., et al. (2019). A consensus guide to capturing the ability
to inhibit actions and impulses: the stop-signal task. eLife, 8,
e46323. tools:::Rd_expr_doi("10.7554/eLife.46323")
Examples
Run this codedata(fixed)
d <- fixed[fixed$SubjID == 1, ]
integration_fixedSSD(d)
Run the code above in your browser using DataLab