Data Preparation
From PDF to Dataframe
Structuring the Data
We organize meta-analytic data in a specific βLong Formatβ where each row represents an Effect Size (ES).
The Dataframe Structure
Handling Moderators
Moderators are variables that might explain why effect sizes differ. They must be coded carefully.
- Categorical: E.g., Treatment Type (CBT vs. IPT). In R, these become
factors. - Continuous: E.g., Number of Sessions, Mean Age.
Missing Data
Meta-analysis is plagued by missing data (e.g., authors reporting βp < .05β but no exact values).
- Contact Authors: The gold standard.
- Imputation: Risky, only if necessary.
- Conversion: Use
compute.esto derive effects from p-values or t-stats.