tips:rma_vs_lm_lme_lmer
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
tips:rma_vs_lm_lme_lmer [2021/11/08 13:31] – Wolfgang Viechtbauer | tips:rma_vs_lm_lme_lmer [2022/04/22 12:00] – Wolfgang Viechtbauer | ||
---|---|---|---|
Line 84: | Line 84: | ||
This can be demonstrated by extracting the estimated error variance from the '' | This can be demonstrated by extracting the estimated error variance from the '' | ||
<code rsplus> | <code rsplus> | ||
- | rma(yi, vi*summary(res.lm)$sigma^2, data=dat, method=" | + | rma(yi, vi*sigma(res.lm)^2, data=dat, method=" |
</ | </ | ||
<code output> | <code output> |
tips/rma_vs_lm_lme_lmer.txt · Last modified: 2023/11/14 08:00 by Wolfgang Viechtbauer