
Conducting Meta-analysis in R with Metafor: Data Uploading and Analysis Guide
Learn how to conduct meta-analysis in R using the Metafor package. Discover how to upload datasets, create variables, compute effect sizes, and analyze data for a meta-analysis. Examples and instructions are provided for reading Excel files, utilizing built-in datasets, and exploring different moderators. Enhance your research skills with this comprehensive guide.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
Meta-analysis in R with Metafor 3: Uploading Data Get datasets into R or use a Metafor library dataset
Built-in Datasets Metafor comes with many datasets in a library Viechtbauer uses dat.bcg as an illustration in his 2010 paper on metafor I ll use the validity of employment interviews in dat.mcdaniel1994 for illustrations
Create Dataset in Excel Create columns for variables Author Date Effect size data (Hedges approach; Borenstein et al., 2009 book; little bit of Schmidt & Hunter) Effect Size (ES), Sampling Variance (V) of ES Data to compute ES and V Moderators Must find or compute a common (across studies) ES and V
Example Dataset McLeod2007.xlsx parenting and childhood depression McLeod, B. D., Weisz, J. R., Wood, J. J., (2007). Examining the association between parenting and childhood depression: A meta-analysis. Clinical Psychology Review, 27, 986-1003. ES Correlation (r) Variance From sample size (N) Moderator Both parents (B) or just mothers (M) Has Author, Year Has other moderators related to either parenting or depression measures let s take a peek
Reading .xlsx files > Invoke R > library(xlsx) > data <- read.xlsx( path/filename.xlsx , sheetName = nameofsheet ) Examples Read McLeod.xlsx Print it Print built-in library data: dat.mcdaniel1994
Video instructions from Youtube For reading an Excel file into R: https://www.youtube.com/watch?v=qPk0YEKhqB8&list=PLqzoL9- eJTNBDdKgJgJzaQcY6OXmsXAHU&index=4