tips:multiple_imputation_with_mice_and_metafor
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tips:multiple_imputation_with_mice_and_metafor [2021/03/29 20:52] – Wolfgang Viechtbauer | tips:multiple_imputation_with_mice_and_metafor [2022/08/03 11:35] (current) – Wolfgang Viechtbauer | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Multiple Imputation with the mice and metafor Packages ===== | ===== Multiple Imputation with the mice and metafor Packages ===== | ||
- | Meta-analytic | + | A meta-analytic |
==== Data Preparation ==== | ==== Data Preparation ==== | ||
Line 10: | Line 10: | ||
dat <- dat.bangertdrowns2004 | dat <- dat.bangertdrowns2004 | ||
</ | </ | ||
- | (I copy the dataset into ' | + | (I copy the dataset into ''dat'', which is a bit shorter and therefore easier to type further below). We can look at the first 10 and the last 10 rows of the dataset with: |
<code rsplus> | <code rsplus> | ||
rbind(head(dat, | rbind(head(dat, | ||
Line 80: | Line 80: | ||
</ | </ | ||
<code output> | <code output> | ||
- | | + | |
- | 41 5 2 | + | 41 5 2 |
</ | </ | ||
So, for 41 studies, the data are complete, but 5 studies have one missing value, while 2 studies have three missing values. Therefore, when fitting a meta-regression model with all moderators of interest included simultaneously, | So, for 41 studies, the data are complete, but 5 studies have one missing value, while 2 studies have three missing values. Therefore, when fitting a meta-regression model with all moderators of interest included simultaneously, | ||
Line 114: | Line 114: | ||
Model Results: | Model Results: | ||
- | estimate | + | estimate |
- | intrcpt | + | intrcpt |
- | length | + | length |
- | wic -0.0472 | + | wic -0.0472 |
- | feedback | + | feedback |
- | info | + | info |
- | pers | + | pers |
- | imag 0.4106 | + | imag 0.4106 |
- | meta 0.2010 | + | meta 0.2010 |
--- | --- | ||
Line 192: | Line 192: | ||
</ | </ | ||
<code output> | <code output> | ||
- | yi | + | yi |
- | "" | + | "" |
</ | </ |
tips/multiple_imputation_with_mice_and_metafor.txt · Last modified: 2022/08/03 11:35 by Wolfgang Viechtbauer