Is it possible that parameter in the drift rate also be used for other parameter estimation like boundary or noise #110
-
|
Dear Pyddm developer, Thanks for making this wonderful tool. I am trying to use the decision field theory from Dai & Busemeyer, 2014 in pyddm. In this model, drift rate is defined as: d = w*(u(v_l)-u(v_s)) - (1-w)(p_(t_l)-p(t_s)). v_l, v_s, t_l and t_s are the experiment variable. w and the parameter in the utility function u(x) and p(x) are free parameters. In this model, the noise of evidence accumulation is noise = \sqrt{w(u(v_l)-u(v_s)))^2 + (1-w) *(p_(t_l)-p(t_s))^2 - d^2 }. Parameter in the drift rate are also used in the noise parameter. Is it possible to build this DFT model in pyddm? Thanks a lot. Best, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
From what you've written here, yes, it sounds possible! |
Beta Was this translation helpful? Give feedback.
In the model you posted, the
v_1 * condwill indeed modulate both drift rate and bound. However this model will probably cause errors because the bound can be negative (sinceb_0andb_1can be negative). If you constrainb_0andb_1to be greater than 0, or else setbound=lambda b_0,b_1,v_0, v_1, cond: np.maximum(.1, b_0 +b_1 * np.abs(v_1 * cond))to ensure the bound is strictly positive, then it should work! (Though also, you don't need bound to be a function ofv_0since you don't use that anywhere in the bound equation.)