Skip to content
Prev 4433 / 5636 Next

[R-meta] residuals in lmer versus rma.mv

As always, please respond to the mailing list, not just to me.

I reran the code again (with random = list(~ 1|Paper/PubID, ~ 1|ID)) and I get the same results also using the devel version as described:
re$`Paper`$intrcpt[match(dat$`Paper`, row.names(re$Paper))] +
  re$`Paper/PubID`$intrcpt[match(dat$`Paper/PubID`, row.names(re$`Paper/PubID`))])
1           2           3           4           5           6
 0.20558777  0.03305894 -0.12163497 -0.30482782  0.10283645  0.35307630
1           2           3           4           5           6
 0.20558777  0.03305894 -0.12163497 -0.30482782  0.10283645  0.35307630

So not sure what the issue is.

As for 2) That goes a bit beyond what I can offer here.

Best,
Wolfgang