Rao Kaidi, Drikvandi Reza, Saville Benjamin
Statistics Section, Department of Mathematics, Imperial College London, London, UK.
Department of Computing and Mathematics, Manchester Metropolitan University, Manchester, UK.
Stat Med. 2019 Nov 10;38(25):5034-5047. doi: 10.1002/sim.8350. Epub 2019 Aug 28.
In many applications of linear mixed-effects models to longitudinal and multilevel data especially from medical studies, it is of interest to test for the need of random effects in the model. It is known that classical tests such as the likelihood ratio, Wald, and score tests are not suitable for testing random effects because they suffer from testing on the boundary of the parameter space. Instead, permutation and bootstrap tests as well as Bayesian tests, which do not rely on the asymptotic distributions, avoid issues with the boundary of the parameter space. In this paper, we first develop a permutation test based on the likelihood ratio test statistic, which can be easily used for testing multiple random effects and any subset of them in linear mixed-effects models. The proposed permutation test would be an extension to two existing permutation tests. We then aim to compare permutation tests and Bayesian tests for random effects to find out which test is more powerful under which situation. Nothing is known about this in the literature, although this is an important practical problem due to the usefulness of both methods in tackling the challenges with testing random effects. For this, we consider a Bayesian test developed using Bayes factors, where we also propose a new alternative computation for this Bayesian test to avoid some computational issue it encounters in testing multiple random effects. Extensive simulations and a real data analysis are used for evaluation of the proposed permutation test and its comparison with the Bayesian test. We find that both tests perform well, albeit the permutation test with the likelihood ratio statistic tends to provide a relatively higher power when testing multiple random effects.
在将线性混合效应模型应用于纵向数据和多级数据(尤其是医学研究数据)的许多情况中,检验模型中随机效应的必要性是很有意义的。众所周知,诸如似然比检验、Wald检验和得分检验等经典检验不适用于检验随机效应,因为它们在参数空间的边界上进行检验时会出现问题。相反,不依赖渐近分布的置换检验、自助法检验以及贝叶斯检验可以避免参数空间边界的问题。在本文中,我们首先基于似然比检验统计量开发了一种置换检验,该检验可轻松用于检验线性混合效应模型中的多个随机效应及其任何子集。所提出的置换检验将是对现有的两种置换检验的扩展。然后,我们旨在比较用于检验随机效应的置换检验和贝叶斯检验,以找出在何种情况下哪种检验更具功效。尽管这两种方法对于应对检验随机效应的挑战都很有用,是一个重要的实际问题,但在文献中对此尚无定论。为此,我们考虑一种使用贝叶斯因子开发的贝叶斯检验,在此我们还为这种贝叶斯检验提出了一种新的替代计算方法,以避免其在检验多个随机效应时遇到的一些计算问题。我们使用广泛的模拟和实际数据分析来评估所提出的置换检验,并将其与贝叶斯检验进行比较。我们发现这两种检验都表现良好,尽管在检验多个随机效应时,基于似然比统计量的置换检验往往具有相对更高的功效。