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

glmfit_multilevel.m error #31

Open
ezgiarikan opened this issue Jul 23, 2019 · 0 comments
Open

glmfit_multilevel.m error #31

ezgiarikan opened this issue Jul 23, 2019 · 0 comments

Comments

@ezgiarikan
Copy link

Hi,
I have an fMRI dataset that I preprocessed using SPM12. Now, I would like to perform multilevel glm with the 'glmfit_multilevel.m' script. However, when I use the example data (as defined in lines 69-81 of the glmfit_multilevel.m), I receive the following errors:

Undefined operator '*' for input arguments of type 'cell'.

Error in glmfit_general>get_weights_based_on_varcomponents (line 506)
SSW = dfwithin' * s2within; % 1 x nvars, within-subjects sum sq. errors. dfwithin must be row vector

Error in glmfit_general (line 147)
[W, btwn_var_est] = get_weights_based_on_varcomponents(s2within, s2between_ols, dfwithin, verbose);

Error in glmfit_multilevel (line 232)
stats = glmfit_general( ...

Thanks very much in advance.

Ezgi

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

1 participant