splithalfr: Split-Half Reliabilities

Estimates split-half reliabilities for scoring algorithms of cognitive tasks and questionnaires. The ‘splithalfr’ supports researcher-provided scoring algorithms, with six vignettes illustrating how on included datasets. The package provides four splitting methods (first-second, odd-even, permutated, Monte Carlo), the option to stratify splits by task design, a number of reliability coefficients, the option to sub-sample data, and bootstrapped confidence intervals.

CRANVersion Lifecycle: stable Project Status: Active – The project has reached a stable, usable state and is being actively developed. Downloads License: LGPL v3 DOI

Installation

Getting started

We’ve got six short vignettes to help you get started. You can open a vignette bij running the corresponding code snippet vignette(...) in the R console or see them online at rdrr.io

Splitting Methods

The splithalfr supports a variety of methods for splitting your data. We review and assess each method in the compendium paper (Pronk et al., 2021), but based on more recent concerning findings with Monte Carlo splitting (Kahveci et al., 2025; Pronk et al., 2023), I now only recommend permutated splitting and not Monte Carlo splitting. This vignette illustrates how to apply each splitting method via the splithalfr: vignette("splitting_methods") * first-second and odd-even (Green et al., 2016; Webb, Shavelson, & Haertel, 1996; Williams & Kaufmann, 1996) * stratified (Green et al., 2016) * permutated/bootstrapped/random sample of split halves (Kopp, Lange, & Steinke, 2021, Parsons, Kruijt, & Fox, 2019; Williams & Kaufmann, 2012) * Monte Carlo (Williams & Kaufmann, 2012)

Citing the splithalfr

Please cite the compendium paper (Pronk et al., 2022) and the software. To cite the software, see the CITATION.cff file, type citation("splithalfr") in R, or use the reference below.

Pronk, T. (2025). splithalfr: Estimates split-half reliabilities for scoring algorithms of cognitive tasks and questionnaires (Version 3.0.0) [Computer software]. https://doi.org/10.5281/zenodo.7777894

Validation of split-half estimations

Part of the splithalfr algorithm has been validated via a set of simulations that are not included in this package. The R script for these simulations can be found here.

Related packages

These R packages offer resampling-based split-half reliabilities for specific scoring algorithms and are available via CRAN at the time of this writing: multicon, psych, splithalf, and rapidsplithalf. If I missed one, please reach out!

Acknowledgments:

I would like to thank Craig Hedge, Eva Schmitz, Fadie Hanna, Helle Larsen, Marilisa Boffo, and Marjolein Zee, for making datasets available for inclusion in the splithalfr. Additionally, I would like to thank Craig Hedge and Benedict Williams for sharing R-scripts with scoring algorithms that were adapted for splithalfr vignettes. Finally, I would like to thank Mae Nuijs and Sera-Maren Wiechert for spotting bugs in earlier versions of this package.

Developer guide

Be welcome to modify the source code! If you do, keep the following in mind: * Please follow the Google R Style Guide. * Please add some automated unit tests of your code using testthat. Add them to tests/testthat * If you’ve got manual tests of your code, add them to tests/