Skip to content

[R-meta] FW: R-sig-meta-analysis Digest, Vol 89, Issue 13

1 message · Wolfgang Viechtbauer

#
For some reason, some of my posts do not seem to get through. Not sure if they are getting caught in some spam filter. I am going to try sending this again. Apologies for the noise in case the message below (which was sent almost 2 hours ago) does finally show up on the list.

Best,
Wolfgang

-----Original Message-----
From: Viechtbauer, Wolfgang (NP)
Sent: Friday, December 6, 2024 10:28
To: St Pourcain, Beate <Beate.StPourcain at mpi.nl>; R Special Interest Group for Meta-Analysis <r-sig-meta-analysis at r-project.org>
Subject: RE: R-sig-meta-analysis Digest, Vol 89, Issue 13

I assume you are referring to model 'model0r.mlcon' below and coef(model0r.mlcon)[1] is the DZ coefficient (i.e., the estimated average r-to-z transformed ICC) and coef(model0r.mlcon)[2] the MZ coefficient and vcov(model0r.mlcon) gives the corresponding var-cov matrix. Then

res <- deltamethod(model0r.mlcon, fun=function(z1,z2) c(tanh(z1), tanh(z2)))
res

will give you the back-transformed estimates (i.e., estimated ICCs) with corresponding SEs and CIs and

res$vcov

is the full var-cov matrix of these back-transformed estimates. And

deltamethod(model0r.mlcon, fun=function(z1,z2) 2*(tanh(z2)-tanh(z1)))

will give you the estimated H^2 based on Falconer's formula with corresponding SE/CI.

Best,
Wolfgang