analyses:vanhouwelingen2002
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
analyses:vanhouwelingen2002 [2021/05/09 15:38] – Wolfgang Viechtbauer | analyses:vanhouwelingen2002 [2021/10/22 14:46] – Wolfgang Viechtbauer | ||
---|---|---|---|
Line 11: | Line 11: | ||
dat | dat | ||
</ | </ | ||
- | (I copy the dataset into ' | + | (I copy the dataset into ''dat'', which is a bit shorter and therefore easier to type further below). Variables '' |
We can calculate the individual log odds ratios and corresponding sampling variances with: | We can calculate the individual log odds ratios and corresponding sampling variances with: | ||
Line 279: | Line 279: | ||
<code rsplus> | <code rsplus> | ||
res <- rma.mv(yi, vi, mods = ~ group - 1, random = ~ group | trial, struct=" | res <- rma.mv(yi, vi, mods = ~ group - 1, random = ~ group | trial, struct=" | ||
- | reg <- matreg(y=2, x=1, R=res$G, cov=TRUE, means=coef(res), | + | reg <- matreg(y=2, x=1, R=res$G, cov=TRUE, means=coef(res), |
reg | reg | ||
</ | </ |
analyses/vanhouwelingen2002.txt · Last modified: 2022/08/03 17:52 by Wolfgang Viechtbauer