Given the limited number of sites (only two), estimating cross-site variability becomes impractical. I recommend updating the model specification for a more robust analysis. Instead of the current specification:
-model 'Drug*Time+Age+Sex+(1|Subj)+(1|Site)' \
Consider using either of the following alternatives:
Checking dataTable file:
model_variables_nacc.txt
++Good: Table is regular and rectangular.
Dimensions:
rows: 80 | columns: 10
Data summary:
Variable Detected_Type Details
Subj Subjects Num Subjects=40
Dummy Categorical Counts: Test=80
Dummy.1 Categorical Counts: Test=80
Time Categorical Counts: Post=40 | Pre=40
Sex Categorical Counts: Female=38 | Male=42
Age Quantitative Min=21 | Max=63
Drug Categorical Counts: Ezogabine=38 | Placebo=42
SHAPS Quantitative Min=14 | Max=56 | Num outliers=3
Site Categorical Counts: Baylor=40 | Sinai=40
InputFile Data Number of InputFiles=80
++ Good: All InputFiles exist.
++ Good: All InputFiles have exactly 1 volume.
++ Good: All InputFiles are on the same grid.
++++++++++++++++++++++++++++++++++++++++++++++++++++
***** Summary information of data structure *****
80 response values
1 levels for factor Dummy : Test
2 levels for factor Time : Post Pre
2 levels for factor Sex : Female Male
80 centered values for numeric variable Age : 12.7 12.7 -7.3 -7.3 12.7 12.7 -13.3 -13.3 -13.3 -13.3 -7.3 -7.3 -8.3 -8.3 -8.3 -8.3 -4.3 -4.3 15.7 15.7 2.7 2.7 15.7 15.7 3.7 3.7 -13.3 -13.3 20.7 20.7 -18.3 -18.3 -3.3 -3.3 22.7 22.7 -15.3 -15.3 -16.3 -16.3 6.7 6.7 13.7 13.7 -19.3 -19.3 7.7 7.7 5.7 5.7 9.7 9.7 -19.3 -19.3 -14.3 -14.3 -17.3 -17.3 -13.3 -13.3 -3.3 -3.3 -5.3 -5.3 -7.3 -7.3 -6.3 -6.3 20.7 20.7 16.7 16.7 19.7 19.7 14.7 14.7 -10.3 -10.3 22.7 22.7
2 levels for factor Drug : Ezogabine Placebo
31 levels for factor SHAPS : 14 19 20 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 43 44 45 46 47 52 53 54 56
2 levels for factor Site : Baylor Sinai
Contingency tables of subject distributions among the categorical variables:
***** End of data structure information *****
++++++++++++++++++++++++++++++++++++++++++++++++++++
Reading input files now...
Reading input files for effect estimates: Done!
Range of input data: [-0.968, 1.707]
If the program hangs here for more than, for example, half an hour,
kill the process because the model specification or something else
is likely inappropriate.
Package phia loaded successfully!
~~~~~~~~~~~~~~~~~~~ Model test failed ~~~~~~~~~~~~~~~~~~~
Possible reasons:
0) Make sure that R package lmerTest has been installed. See the 3dLME
help documentation for more details.
1) Inappropriate model specification with options -model, or -qVars.
2) In correct specifications for random effect with -ranEff.
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 Scanner in model specification and then listed as scanner in the table hader
would cause grief for 3dLMEr.
Also, 3dlmer does not produce contingency table output (like 3dlme) for some reason. In the summary section, Subj is not shown as a variable that is identified. Is this intended?
I assume that between the two population-level variables, Drug is a between-individual factor, while Time is a within-individual factor. In this scenario, including (1|Time:Subj) in your model specification is redundant, as it corresponds to the residuals. Explicitly incorporating it introduces a collinearity issue. For a more in-depth discussion on model specification in 3dLMEr, refer to this blog post.
Gang Chen
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.