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 - Error with basic example given in help section of code #32

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

Comments

@rennis250
Copy link

Hello there,

I was recently trying a glmfit. I tested the example given in the help for the function (glmfit_multilevel) and I get the following error. It seems that the error is rather deep in the code and I am not good enough with statistics to determine how to fix this. Has something changed since the example was written and tested?

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( ...

Many thanks,
Rob

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