This is the formula I would need to use to perform a meta-analysis in R using the package metafor:
REmodel <- rma(m1i=elev.mean,m2i=amb.mean,sd1i=?,
sd2i=?,n1i=?,n2i=?,data=NPPsiteWide,
measure="ROM")
Note that sd
and n
refers to standard deviations and sample size. The problem is that the dataset I am using (data gathered by others) contains se
values, but not sd
and n
.
Is there any way I can still do the meta-analysis using the data I have without sd and n? Thanks
EDIT:
After following Wolfgang’s suggestion below, it seems I am doing something wrong because rma
can’t calculate vi
(all NA’s), and returns this error:
REmodel <- rma(m1i=elev.mean,m2i=amb.mean,sd1i=elev.se,
sd2i=amb.se,n1i=1,n2i=1,data=db,
measure="ROM",subset=Myc=="AM”)
Error in rma(m1i = elev.mean, m2i = amb.mean, sd1i = elev.se, sd2i = amb.se, :
Processing terminated since k = 0.
In addition: Warning message:
In rma(m1i = elev.mean, m2i = amb.mean, sd1i = elev.se, sd2i = amb.se, :
Studies with NAs omitted from model fitting.