[R-meta] specified weights in rma
Antonia Sudkaemper
@@@udk@emper @ending from gm@il@com
Fri Aug 3 14:09:32 CEST 2018
Hello all,
I am trying to run a meta-analysis with specified weights, but even though
the code seems right the analysis seems to apply the default weights rather
than the ones I specify - is there something wrong with the code?
effect = c(2.46, 3.11, 3.93)
error = c(0.44, 0.38, 0.57)
weight = c(5.16, 6.70, 3.05)
study<-c("Study1", "Study2", "Study3")
summary(meta <- rma(yi=effect, sei=error, weights=weight, slab=study))
weights(meta)
Thank you very much for your help.
All the best, Antonia
--
Antonia Sudkämper
PhD Candidate in Organizational Psychology/University of Exeter
www.antoniasudkaemper.com
a.sudkaemper using gmail.com
[[alternative HTML version deleted]]
More information about the R-sig-meta-analysis
mailing list