Skip to content
Prev 4227 / 5636 Next

[R-meta] phylogenetic information in both moderator and random part of rma.mv?

Sounds reasonable.

One additional thing: I don't know what your data structure actually looks like. Is each row a different study? Or is each row a different species? If not, then I would strongly suggest to include '~ 1 | id' where

Final.data$id <- 1:nrow(Final.data)

as a random effect (in both mod1 and mod2). Otherwise you would be assuming homogeneity of true outcomes within studies/species, which is a strong assumption.

Best,
Wolfgang