[R-meta] Ynt: predict error in metafor

Fatih Çelik |@t|hce||k2842 @end|ng |rom gm@||@com
Mon Mar 20 12:22:36 CET 2023


 Hello, sir.

As you pointed out, when I run the Knapp-Hartung test, Qw (statistic
for testing the model misspecification) does not appear in the output.
How can I access this value? Below I first present to you the model I
created and then the output.

Model:

res1 <- rma(measure="ARAW", ai=ai, mi=mi, ni=ni, mods = ~ sample,
test="knha", data=dat)

 outputs:

 Mixed-Effects Model (k = 85; tau^2 estimator: REML)

tau^2 (estimated amount of residual heterogeneity):     0.0021 (SE = 0.0004)
tau (square root of estimated tau^2 value):             0.0457
I^2 (residual heterogeneity / unaccounted variability): 94.01%
H^2 (unaccounted variability / sampling variability):   16.70
R^2 (amount of heterogeneity accounted for):            0.00%

Test for Residual Heterogeneity:
QE(df = 83) = 2139.6714, p-val < .0001

Test of Moderators (coefficient 2):
F(df1 = 1, df2 = 83) = 0.9652, p-val = 0.3287

Model Results:

               estimate      se     tval  df    pval    ci.lb   ci.ub
intrcpt          0.8286  0.0102  81.0985  83  <.0001   0.8083  0.8489  ***
samplestudent   -0.0117  0.0119  -0.9825  83  0.3287  -0.0354  0.0120

---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1



---



Yours sincerely…



Kimden: Viechtbauer, Wolfgang (NP)
Gönderilme: 18 Mart 2023 Cumartesi 15:57
Kime: Fatih ÇELİK; R Special Interest Group for Meta-Analysis
Konu: RE: predict error in metafor



When fitting the model, use rma(..., test="knha").



P.S.: Please post in plain text, as explained here:



https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis



Best,

Wolfgang



>-----Original Message-----

>From: Fatih ÇELİK [mailto:fatihcelik2842 using gmail.com]

>Sent: Friday, 17 March, 2023 21:59

>To: Viechtbauer, Wolfgang (NP); R Special Interest Group for Meta-Analysis

>Subject: Ynt: predict error in metafor

>

>I am sorry, sir…

>

>I have one more question.

>

>How can I apply "Knapp-Hartung's statistic for testing the significance" by

>following the codes mentioned before? I need F, R2, and Qw results for Avova

>results.

>

>---

>İyi çalışmalar dilerim…

>Yours sincerely…



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