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

Different coordinates for some parameters in the inference data #498

Open
hyang336 opened this issue Jul 18, 2024 · 1 comment
Open

Different coordinates for some parameters in the inference data #498

hyang336 opened this issue Jul 18, 2024 · 1 comment
Labels
bug Something isn't working upstream Related to upstream packages

Comments

@hyang336
Copy link

Describe the bug
I am not sure if this is an oversight or a conscious design choice. When fitting a DDM model with random intercepts on a, v, and z, the random effect on v has a different coordinate in the returned arviz InferenceData. As far as I can tell the "subj_idx__factor_dim" coord is the same as the "v_1|subj_idx__factor_dim" coord. This may make sub-setting the InferenceData more error-prone.

HSSM version
0.2.2

Screenshots
Data variables:
a_1|subj_idx (chain, draw, subj_idx__factor_dim) float64 10MB ...
a_1|subj_idx_sigma (chain, draw) float64 320kB ...
a_Intercept (chain, draw) float64 320kB ...
t (chain, draw) float64 320kB ...
v_1|subj_idx (chain, draw, v_1|subj_idx__factor_dim) float64 10MB ...
v_1|subj_idx_sigma (chain, draw) float64 320kB ...
v_Intercept (chain, draw) float64 320kB ...
z_1|subj_idx (chain, draw, subj_idx__factor_dim) float64 10MB ...
z_1|subj_idx_sigma (chain, draw) float64 320kB ...
z_Intercept (chain, draw) float64 320kB ...
v (chain, draw, rt,response_obs) float64 861MB ...
a (chain, draw, rt,response_obs) float64 861MB ...
z (chain, draw, rt,response_obs) float64 861MB ...

@digicosmos86
Copy link
Collaborator

Hi @hyang336,

Thanks for reporting this. This seems to be a bug in Bambi. We have reported this to the bambi devs here. Should be fixed in HSSM once this is fixed in Bambi.

@digicosmos86 digicosmos86 added bug Something isn't working upstream Related to upstream packages labels Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream Related to upstream packages
Projects
None yet
Development

No branches or pull requests

2 participants