Skip to content

[R-meta] One-Sided Note

1 message · Viechtbauer Wolfgang (STAT)

#
Hi Dan,

You do not seem to be signed up for the list (at least not under that address). Usually, posts my non-members are held as pending until one of the admins take action, but sometimes they might get rejected outright. Anyway, if you want to post, please sign up. I am cc-ing the list, since this is where you wanted this to go in the first place.

Admittedly, this is a bit of a headscratcher, but let me see if I can get this right. For a fixed effect, we want to test:

H0: beta = 0 vs H1: beta != 0

So, we compare the likelihood under H0 versus the maximized likelihood under the alternative. The MLE of beta may be negative or positive and will lead to an improvement in the likelihood (unless the MLE happens to be exactly 0). The LRT chi-square value reflects the amount of improvement in the likelihood and is in that sense one-sided (0 = no improvement at all, corresponding to an MLE of 0 versus > 0 = some improvement, corresponding to an MLE != 0). If the improvement is large enough, that is, the LRT chi-square value is larger than 3.84, we reject H0 (so, for determining the p-value of the LRT, we only look in the upper tail of the chi-square distribution). But in terms of beta, we are conducting a two-sided test. The same applies to the Wald-type chi-square test that you got with anova(res2,btt=2).

For a variance component, we want to test:

H0: sigma^2 = 0 vs H1: sigma^2 > 0.

Again, we compare the likelihood under H0 versus the maximized likelihood under the alternative. Again, the p-value of the LRT is determined based on the upper tail of the chi-square distribution. But here, the MLE of sigma^2 can only be >= 0. So, in terms of sigma^2, we are conducting a one-sided test. That is why I wrote that p-values for LRTs of variance components provided by anova() are not two-sided.

Best,
Wolfgang