This contains the code for the analyses reported in
Romain, L., Milin, P., and Divjak, D. (2024). Order Effects in Second Language Learning. To appear in: Language Learning.
01_ControlGroupTest.R: the code that checks our control group's results against the treatment groups'. Runs withControlGroupTestdatafile;brm1C.rn.rdaandsummary.brm1C.rn.rdacontain the Bayesian regression model and its summary, respectively.02_RROrder.R: the code for the overall analysis of pre- and post-test results depending on training and participants. Runs withAllTestScoresdatafile. All models and their summaries are stored:brm1.rn.rdaandsummary.brm1.rn.rda,summary.post.draws.rda,brm1.rn.withPriors.rdaandsummary.brm1.rn.withPriors.rda.03_HardItems.R: the code for the analysis of the effects of order of exposure (type of training) with a focus on the difficulty level of the items (based on pre- and post-tests results). Runs withHardDatadatafile.04_TrainingDays.R: the code for the analysis of participants' performance on the four days of training. Runs withAllDayScoresandTrainingDatadatafiles.05_LearningRateEffectCorr.jasp: the Bayesian nonparametric correlations (Kendall's tau) using the JASP statistical program. Data is included in the package.06_LearningRateEffect.R: analysis of the effect of individual learning rates. Runs with06_LearningRateDatadatafile (identical to the data for JASP correlation estimates);brm4.rdaandsummary.brm4.rdacontain the regression model and its summary, andbrm4.t.rdaandsummary.brm4.t.rdarefer to the trimmed model and its summary.
The data can be downloaded from The University of Birmingham Institutional Research Archive (UBIRA) at https://edata.bham.ac.uk/1155/. All files are saved in *.csv and *.rda format.
ControlGroupTestAllTestScoresHardDataAllDayScoresTrainingDataLearningRateData
For further inquiries contact: [email protected]