You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here a minimal example for a bug encountered in uf_add_marginal. Reason for the bug is that cat * continuous interaction terms get the same predictor names in ufresult_avg.param.name for several different event types.
% where...
% somecontinpredictor is a contin. predictor
% somecategoricalpredictor has 3 levels
% model is solved successfully
% however, when calling
results = uf_addmarginal(results);
% uf_addmarginal crashes in line 164:
ufresultavg_ix(end+1) = find(strcmp(pOther{1},{ufresult_avg.param.name}));
% The reason is that the assignment fails because the interaction terms for "Stimulus" and "Response"
have the same name in "ufresult_avg.param.name" (**):
{'(Intercept)' }
{'2_(Intercept)' }
{'somecontinpredictor' }
{'somecategoricalpredictor_5' }
{'somecategoricalpredictor_6' }
{'somecontinpredictor:somecategoricalpredictor_5'} % **
{'somecontinpredictor:somecategoricalpredictor_6'} % **
{'3_(Intercept)' }
{'3_somecontinpredictor' }
{'3_somecategoricalpredictor_5' }
{'3_somecategoricalpredictor_6' }
{'somecontinpredictor:somecategoricalpredictor_5'} % **
{'somecontinpredictor:somecategoricalpredictor_6'} % **``
The text was updated successfully, but these errors were encountered:
Here a minimal example for a bug encountered in uf_add_marginal. Reason for the bug is that cat * continuous interaction terms get the same predictor names in ufresult_avg.param.name for several different event types.
MODEL FORMULA:
The text was updated successfully, but these errors were encountered: