The metafor Package

A Meta-Analysis Package for R

User Tools

Site Tools


tips:multiple_imputation_with_mice_and_metafor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tips:multiple_imputation_with_mice_and_metafor [2020/12/02 17:10] Wolfgang Viechtbauertips:multiple_imputation_with_mice_and_metafor [2020/12/13 11:45] Wolfgang Viechtbauer
Line 223: Line 223:
 Next, we can fit the model of interest to each of the 20 imputed datasets with: Next, we can fit the model of interest to each of the 20 imputed datasets with:
 <code rsplus> <code rsplus>
-fit <- with(imp, rma(yi, vi, mods = ~ length + wic + feedback + info + pers + imag + meta))+fit <- withold(imp, rma(yi, vi, mods = ~ length + wic + feedback + info + pers + imag + meta))
 </code> </code>
  
tips/multiple_imputation_with_mice_and_metafor.txt · Last modified: 2022/08/03 11:35 by Wolfgang Viechtbauer