Firstly, I am not an expert in using multi-level modelling (MLM), and I have read this and this questions, however, my question is slightly different in the sense that method 2 below is not mentioned.
Since multi-level modelling is rather complex, I want to justify the need for it in the first place. In that regard, I know of two methods:
1) Assessing whether there is enough and significant variation across items (aka. contexts):
This method is mentioned in the book Discovering Statistics Using R, section 19.6.6. It implies comparing a baseline intercept-only generalized least squares fit by maximum likelihood to another linear mixed-effects model fit by maximum likelihood where intercepts are allowed to vary across items. If the fit significantly improves, this warrants using MLM.
My example of the two models where R
is the response/outcome variable:
M1 = nlme::gls(R ~ 1, data = univariate_data, method = "ML")
M2 = nlme::lme(R ~ 1, data = univariate_data, method = "ML", random = ~1|item_id)
The ANOVA comparison:
## Model df AIC BIC logLik Test L.Ratio p-value
## M1 1 2 9181.778 9191.491 -4588.889
## M2 2 3 9170.908 9185.477 -4582.454 1 vs 2 12.87025 3e-04
From the tests, we see that after addressing the variability in our items/contexts, there is a significant improvement in the log-likelihood by 12.87 at the expense of 1 degree of freedom, so: $\chi^2(1) = 12.87, p = .0003$. This necessitates using MLM.
2) Comparing Unconditional LME Models:
I read this online but I don't recall where. The two unconditional LME models are compared to each other, and if allowing the intercepts to vary across items (contexts) does significantly improve the fit, then using MLM is asserted.
My example of the two models where R
is the response/outcome variable:
MN1 = lmer(R ~ 1 + (1 | subject_id), data = univariate_data, REML = FALSE,
control = lmerControl(optimizer ='optimx', optCtrl=list(method='nlminb')))
MN2 = lmer(R ~ 1 + (1 | subject_id) + (1 | item_id), data = univariate_data, REML = FALSE,
control = lmerControl(optimizer ='optimx', optCtrl=list(method='nlminb')))
The ANOVA comparison:
## npar AIC BIC logLik deviance Chisq Df Pr(>Chisq)
## MN1 3 7096.9 7110.7 -3545.5 7090.9
## MN2 4 7096.7 7115.1 -3544.4 7088.7 2.1966 1 0.1383
The fit, as you see, is not significantly different between the two LME models.
My conundrum arises from having inconsistent results: method 1 justified MLM but method 2 doesn't. How can we interpret this discrepancy? and what method is more robust in order to study the feasibility of MLM?
Note: in a previous question I came to know that visual inspection alone is a weak approach for studying the feasibility of MLM.