Code: Home Math Environment and Children's Math Achievement Meta-Analysis R code using the Metafor package

Code Upload or External Link

This code was written in R version 3.5.3 using the metafor package (Viechtbauer, 2010). First the dataset is called in, then the variables are converted to the correct formats for analysis, then the escalc() function is used to calculate an overall Fisher's Z effect size, which is then converted to an R correlation coefficient. Then, the variance is calculated for each level of the model. Then moderator analyses are conducted for all HME assessment, math assessment, and sample characteristic variables. Finally, interaction analyses are conducted.

Code Type