[R-meta] Egger's test with multilevel meta analysis

Viechtbauer, Wolfgang (SP) wo||g@ng@v|echtb@uer @end|ng |rom m@@@tr|chtun|ver@|ty@n|
Wed Dec 9 20:22:40 CET 2020


Try:

coeftest(egger_multi, vcov = "CR2", cluster = dataset$COHORT_ID)

If this doesn't help, what version of clunSandwich are you using? (see sessionInfo()).

Best,
Wolfgang

>-----Original Message-----
>From: Dylan Johnson [mailto:dylanr.johnson using mail.utoronto.ca]
>Sent: Wednesday, 09 December, 2020 20:01
>To: Viechtbauer, Wolfgang (SP)
>Cc: R meta
>Subject: RE: [R-meta] Egger's test with multilevel meta analysis
>
>Unfortunately the error persists even after making your correction
>
>Dylan Johnson, MSc
>MA Student, School and Clinical Child Psychology
>Department of Applied Psychology and Human Development
>University of Toronto
>252 Bloor Street West
>Toronto, ON M5S 1V6
>
>From: Viechtbauer, Wolfgang (SP)
>Sent: December 9, 2020 1:56 PM
>To: Dylan Johnson
>Cc: R meta
>Subject: RE: [R-meta] Egger's test with multilevel meta analysis
>
>That call to rma.mv() doesn't look right. Maybe you meant:
>
>egger_multi <- rma.mv(HEDGE_G, HEDGE_VAR, random = ~ 1 |
>COHORT_ID/EFFECT_ID, mods = ~ STD_ERR, data = dataset)
>
>Best,
>Wolfgang
>
>>-----Original Message-----
>>From: R-sig-meta-analysis [mailto:r-sig-meta-analysis-bounces using r-
>project.org]
>>On Behalf Of Dylan Johnson
>>Sent: Wednesday, 09 December, 2020 19:37
>>To: James Pustejovsky; Tobias Saueressig
>>Cc: R meta
>>Subject: Re: [R-meta] Egger's test with multilevel meta analysis
>>
>>I have tried the following:
>>
>>egger_multi <- rma.mv(HEDGE_G, HEDGE_VAR, random = ~ 1 | COHORT_ID,
>>EFFECT_ID, mods = ~ STD_ERR, data = dataset)
>>
>>coeftest(egger_multi, vcov = "CR2")
>>
>>When I run the coeftest I receive the error:
>>
>>Error in diag(se) : invalid 'nrow' value (too large or NA)
>>In addition: Warning message:
>>In diag(se) : NAs introduced by coercion
>>
>>Dylan Johnson, MSc
>>
>>MA Student, School and Clinical Child Psychology
>>Department of Applied Psychology and Human Development
>>
>>University of Toronto
>>252 Bloor Street West
>>
>>Toronto, ON M5S 1V6



More information about the R-sig-meta-analysis mailing list