Helper functions for estimating the SSRT (stop signal reaction
time) in a Stop-Signal Task based on Verbruggen et al. (2019)
SSRTs can either be calculated:
Since the 2nd approach uses an integrative procedure that estimates the SSRT from the RT distribution using p(response | signal); in cases where p(response | signal) == 50%, both estimates should produce identical results.
(see Verbruggen et al. 2019)
The Stop Signal Delay can be calculated as either the mean Value of all SSDs, or, more robustly, using the mid-run estimates method which is more suited to Staircase paradigms. This method computes the mean value by averaging the midpoints of every second run (see Levitt, 1970).
pak::pak("sonntasa/sstFun")