Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

group_only_nodes in HDDMRegressor not applied #82

Open
AlexanderFengler opened this issue Mar 22, 2022 · 1 comment
Open

group_only_nodes in HDDMRegressor not applied #82

AlexanderFengler opened this issue Mar 22, 2022 · 1 comment

Comments

@AlexanderFengler
Copy link
Contributor

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
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants