Dear Jamovi Experts,
I'm trying to perform a linear mixed model with the subject ID as a random factor and reaction times, type of object, and rating as fixed factors. When I try to perform the post-hoc test on the interaction "object * rating" I get this error message "missing value where TRUE/FALSE needed." I attached the model and the event file.
Thanks!
Francesca
linear mixed model error: "missing value where TRUE/FALSE needed"
linear mixed model error: "missing value where TRUE/FALSE needed"
- Attachments
-
- MixedModel_REML_interaction_contrasts.omv
- (333.2 KiB) Downloaded 563 times
-
- event_file.csv
- (21.95 KiB) Downloaded 700 times
- mcfanda@gmail.com
- Posts: 549
- Joined: Thu Mar 23, 2017 9:24 pm
Re: linear mixed model error: "missing value where TRUE/FALSE needed"
If you do a `Contingency table' between `Familiarity_rating` and `Object_material`, you see that some cells are empty. Because of that, the model you planned cannot be estimated, and so are the post-hoc. The model needs to have data (several data points) in every cell defined by the interaction.
You may want to consider `Familiarity_rating` as a continuous variable. That will save many degrees of freedom and hopefully the model may work.
You may want to consider `Familiarity_rating` as a continuous variable. That will save many degrees of freedom and hopefully the model may work.
Re: linear mixed model error: "missing value where TRUE/FALSE needed"
Hi, thanks a lot for the reply! I tried to replace the missing values with some numbers, but I got the same error. I also tried to change the type of scale of the ratings from ordinal to continuous, as you suggested, but then this variable becomes a "covariate" instead of a "factor," and the post-hoc contrasts cannot be performed... Any other suggestion that I can try?
Thank you,
Francesca
Thank you,
Francesca