Skip to content

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

3 messages · Martineau, Roger, Wolfgang Viechtbauer

#
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
#
Dear Wolfgang,

As written, is this a 3- or a 2-level meta-regression model ?

Best regards,

Roger ?

-----Original Message-----
From: Viechtbauer, Wolfgang (NP) <wolfgang.viechtbauer at maastrichtuniversity.nl> 
Sent: Thursday, March 2, 2023 9:49 AM
To: R Special Interest Group for Meta-Analysis <r-sig-meta-analysis at r-project.org>
Cc: Martineau, Roger (AAFC/AAC) <roger.martineau at AGR.GC.CA>
Subject: RE: residuals in lmer versus rma.mv

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
ATTENTION: Ce courriel provient de l?ext?rieur de l?organisation. Ne cliquez pas sur les liens et n?ouvrez pas les pi?ces jointes ? moins que vous ne reconnaissiez l?exp?diteur et que vous sachiez que le contenu est s?r.

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
#
Depends on how one counts :)

But I would say this is a 3-level model.

Best,
Wolfgang