Study-level data and R code for a three-level meta-analysis of AI chatbot effects on L2 learners‘ motivation, willingness to communicate, self-efficacy, and anxiety

Published: 20 October 2026| Version 1 | DOI: 10.17632/5p4r7v4rss.1
Contributors:
,
,

Description

This repository contains the extracted study-level data and R code supporting the meta-analysis, “The effects of AI chatbots on L2 learners’ motivation, willingness to communicate, self-efficacy, and anxiety: A three-level meta-analysis.” The dataset comprises 55 effect sizes from 37 studies, including randomized controlled trials and quasi-experimental studies. The input files contain experimental- and comparison-group sample sizes, means and standard deviations, outcome classifications, moderator coding, effect-direction information, and overall risk-of-bias ratings. Separate files provide the parameters used to calculate five baseline-adjusted effects from three quasi-experimental studies and the domain-level risk-of-bias ratings for all included studies. Effect sizes represent immediate-posttest between-group comparisons and are expressed as Hedges’ g, with positive values indicating higher motivation, willingness to communicate and self-efficacy, or reduced anxiety. The R scripts reproduce effect-size calculations, the joint four-construct correlated and hierarchical effects (CHE) model with study-clustered CR2 inference, eleven moderator analyses, sensitivity analyses, heterogeneity and publication-bias diagnostics, model comparisons, and figures. The scripts are numbered in execution order. After extracting the archive, set the working directory to the R_code_and_data folder and run “00-Run All.R”. The code was verified using R 4.6.1. Required packages include metafor, clubSandwich, PublicationBias and svglite, together with their dependencies. All analyses use group-level summary statistics extracted from the included publications.

Files

Steps to reproduce

1. Download and extract the ZIP archive, preserving the R_code_and_data folder and its supporting_inputs subfolder. 2. Use R 4.6.1. Install metafor, clubSandwich, PublicationBias and svglite, together with their dependencies. The scripts also use MASS and the base R package grid. 3. Set the R working directory to the extracted R_code_and_data folder. Retain all three input CSV files in supporting_inputs. 4. Run the master script in R or RStudio: source("00-Run All.R", encoding = "UTF-8") 5. The master script executes stages 01–07 in sequence, covering effect-size calculations, pooled CHE models, moderator analyses, sensitivity analyses, heterogeneity and publication-bias diagnostics, model comparisons, and figure generation. The risk-of-bias figure script is called automatically during stage 07. 6. Numerical results are written to the results folder, figures are exported to the Figures folder in PNG, PDF and SVG formats, and execution logs are saved in the logs folder. The analysis includes 55 effect sizes from 37 studies. Eleven moderators are examined; the intervention-duration analysis excludes two effects with unspecified duration and therefore includes 53 effects from 35 studies.

Institutions

Categories

Education, Applied Linguistics, Meta-Analysis

Funders

Licence