Hi Michael,
To your various questions:
Whether it is meaningful to estimate a starting point bias depends on what the two decision boundaries are reflecting. If they reflect the two response options (e.g., response A vs. B), then it is meaningful to estimate a starting point bias “z”. If the two decision boundaries reflect “correct responses” and “incorrect responses”, respectively, then it is not meaningful to estimate a starting point bias (z). In this latter case, the starting point should be equidistant to the two boundaries (because it seems unjustified to assume that a person develops a response bias towards correct responses if that person has not yet seen the stimulus).
Regarding what link function to use for z: in the past, it has been suggested to use an inverse logit but that is now already incorporated in the prior. Therefore, one should instead just use the linear link function (lambda x:x - this just means that the sampler will directly estimate z instead of a transform of it). See this thread. For v, the link function usually is identity / linear also because it is not constrained.
Regarding the question whether one can have a single regression with all parameters varying at once:
This is possible in general but one needs to consider the complexity of such a model which often leads to all sorts of problems (e.g., some parameters might trade-off with each other; it might also lead to more uncertainty in the posteriors; problems with parameter recovery; longer estimation time). As pointed out earlier, it is often better to have a specific theory/hypothesis about parameters and then compare these hypotheses via separate models.
Regarding your question about regression syntax:
You provided this example:
{"a ~ BOLDest:group",
"v ~ BOLDest:group",
"t ~ BOLDest:group"}
{"v_reg = {'model': 'v ~ 1 + C(group)', 'link_func': lambda x: x}".
See the purple highlighted equations: it seems to me that two different definitions for drift rate are tried to be integrated into the same model. If the first code is working, then that is fine. You would not want to include both a v_reg AND the v ~ BOLD:group syntax as that would be redundant and may cause errors. Here is the link to a recent tutorial paper that has some good examples of regressors: https://hddm.readthedocs.io/en/latest/lan_tutorial.html#section-5-regressors
Regarding your question about mixed-model applications which would not be for HDDMRegressor in older HDDM versions:
There is an issue with trying to estimate *both* between and within subject effects in the same model which should be updated in later versions. For now, we recommend to use separate models for the between subjects and then comparing the posteriors on the within subject effects estimated in those two models using the extracted traces. See for an example: here
Best,
Nadja
Nadja R. Ging-Jehli, PhD
Postdoctoral Research Associate in Computational Psychiatry & Cognitive Neuroscience
Brown University
Department of Cognitive, Linguistic & Psychological Sciences
190 Thayer St, Providence, RI 02912
Lab website: https://www.lnccbrown.com/home/
--
You received this message because you are subscribed to the Google Groups "hddm-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hddm-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hddm-users/f33d617c-7d4d-46e5-891d-7298c19fb9ean%40googlegroups.com.