We are trying to run 3dLME but are stopped by a model test error. We suspect “Inappropriate model specification” but do not see why.
Any insights or obvious issues?
***** End of data structure information *****
++++++++++++++++++++++++++++++++++++++++++++++++++++
Reading input files now...
Reading input files: Done!
If the program hangs here for more than, for example, half an hour,
kill the process because the model specification or the GLT coding
is likely inappropriate.
~~~~~~~~~~~~~~~~~~~ Model test failed ~~~~~~~~~~~~~~~~~~~
Possible reasons:
0) Make sure that R packages nlme and phia have been installed. See the 3dLME
help documentation for more details.
1) Inappropriate model specification with options -model, or -qVars.
2) In correct specifications in general linear test coding with -gltCode.
3) Mistakes in data table. Check the data structure shown above, and verify
whether there are any inconsistencies.
4) Inconsistent variable names which are case sensitive. For example, factor
named Group in model specification and then listed as group in the table hader
would cause grief for 3dLME.
** Error:
Quitting due to model test failure...
ageatvisit, ext_t, meanmotion are all quantitative (qvars) between subjects variables
reward, correct are categorical within subjects variables
We are trying to use 3dlme because we want to eventually include “visit”. This is a sequential cohort /accelerated longitudinal design and there are high missing values for certain visits
do you really want the interaction between Ext_t and ageatvisit? Such an interaction can be modeled, but it would be a little tricky to set it up. I would start with a simpler model:
Also, do those three quantitative variables (ageatvisit, ext_t, meanmotion) differ substantially across the levels of those two within-subject factors?
To debug, we collapsed correct by contrasting the two values (errorCorrect-correct): ‘Ext_t*ageatvisit+reward+meanmotion’ as well as trying the suggested ‘reward+Ext_t+ageatvisit+meanmotion’ with MVM .
But both still fail the model test.
Warning messages:
1: In process.MVM.opts(lop, verb = lop$verb) : NAs introduced by coercion
2: In process.MVM.opts(lop, verb = lop$verb) : NAs introduced by coercion
…
Possible reasons:
....
** Error:
Quitting due to model test failure...
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.