UGM {ream} | R Documentation |
Urgency Gating Model
Description
The Urgency Gating Model (UGM) is a decision-making model which proposes that stimulus information is first low pass filtered, then used to update the decision state through a time varying gain function (Cisek et al., 2009). Though not initially formulated as an EAM, following the procedure of (Trueblood et al., 2021) it can be written as one. Doing so modifies the drift rate to
v(x,t) = E_0*(1 + k*t) + (k/(1+k*t) - L)*x.
Usage
dUGM(rt, resp, phi, x_res = "default", t_res = "default")
pUGM(rt, resp, phi, x_res = "default", t_res = "default")
rUGM(n, phi, dt = 1e-05)
Arguments
rt |
vector of response times |
resp |
vector of responses ("upper" and "lower") |
phi |
parameter vector in the following order:
|
x_res |
spatial/evidence resolution |
t_res |
time resolution |
n |
number of samples |
dt |
step size of time. We recommend 0.00001 (1e-5) |
Value
For the density a list of PDF values, log-PDF values, and the sum of the log-PDFs, for the distribution function a list of of CDF values, log-CDF values, and the sum of the log-CDFs, and for the random sampler a list of response times (rt) and response thresholds (resp).
Author(s)
Raphael Hartmann & Matthew Murrow
References
Cisek, P., Puskas, G. A., & El-Murr, S. (2009). Decisions in changing conditions: the urgency-gating model. Journal of Neuroscience, 29(37), 11560-11571.
Trueblood, J. S., Heathcote, A., Evans, N. J., & Holmes, W. R. (2021). Urgency, leakage, and the relative nature of information processing in decision-making.
Examples
# Probability density function
dUGM(rt = c(1.2, 0.6, 0.4), resp = c("upper", "lower", "lower"),
phi = c(0.3, 0.5, 1.0, 0.5, 0.5, 1.0, 1.5, 0.0, 0.0, 1.0))
# Cumulative distribution function
pUGM(rt = c(1.2, 0.6, 0.4), resp = c("upper", "lower", "lower"),
phi = c(0.3, 0.5, 1.0, 0.5, 0.5, 1.0, 1.5, 0.0, 0.0, 1.0))
# Random sampling
rUGM(n = 100, phi = c(0.3, 0.5, 1.0, 0.5, 0.5, 1.0, 1.5, 0.0, 0.0, 1.0))