https://www.mathworks.com/help/stats/linearmixedmodel.compare.html
compare - Compare linear mixed-effects models - MATLAB
This MATLAB function returns the results of a likelihood ratio test that compares the linear mixed-effects models lme and altlme.
linear mixed effects modelscomparematlab