hddm-devs / hddm

HDDM is a python module that implements Hierarchical Bayesian parameter estimation of Drift Diffusion Models (via PyMC).
http://ski.clps.brown.edu/hddm_docs/
Other
261 stars 117 forks source link

group_only_nodes in HDDMRegressor not applied #82

Open AlexanderFengler opened 2 years ago

AlexanderFengler commented 2 years ago

if reg not in self.group_only_nodes: print('PASSED') reg_family["%s_subj_reg" % param] = reg_family.pop( "%s_bottom" % param_lookup )

Should not check whether reg is in self.group_only_nodes, but rather something like whether the current parameter is.

yanivabir commented 2 years ago

Is there a fix for this? Is there a way to apply group_only_nodes to some coefficients in a parameter's regression formula?

e.g. if v~ x1 + x2

can x1 vary by participant and x2 be a group only node?