Skip to content

[R-meta] R-sig-meta-analysis Digest, Vol 78, Issue 20

1 message · Lukasz Stasielowicz

#
Dear Tori,


1. predlim expects values corresponding to the moderator variable. The 
moderator variable is usually displayed on the x-axis. However, predlim 
is aligned with the y-axis rather than the x-axis in your code. Try 
changing
xlim=c(1980, 2022), ylim= c(-0.75, 0.75), predlim=c(-0.75,0.75)
to
xlim=c(1980, 2022), ylim= c(-0.75, 0.75), predlim=c(1980, 2022)
or something similar.


2. The tau values can be seen in the model output.
summary(m_3)

In the upper part of the output, two lines correspond to the different 
levels of the model.

sigma^2.1 - STUDY.ID (heterogeneity between samples)
sigma^2.2 - STUDY.ID/EFFECT_SIZE_ID (heterogeneity within samples)
The estim column contains tau-squared values.
The sqrt column contains tau values.


Best,
Lukasz