splithalfr

splithalfr: Estimates split-half reliabilities for scoring algorithms of cognitive tasks and questionnaires

https://github.com/tpronk/splithalfr

Science Score: 77.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 40 DOI reference(s) in README
  • Academic publication links
    Links to: pubmed.ncbi, ncbi.nlm.nih.gov, zenodo.org
  • Committers with academic emails
    1 of 2 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.3%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

splithalfr: Estimates split-half reliabilities for scoring algorithms of cognitive tasks and questionnaires

Basic Info
  • Host: GitHub
  • Owner: tpronk
  • License: lgpl-3.0
  • Language: R
  • Default Branch: main
  • Homepage:
  • Size: 3.32 MB
Statistics
  • Stars: 6
  • Watchers: 3
  • Forks: 2
  • Open Issues: 1
  • Releases: 6
Created almost 7 years ago · Last pushed 10 months ago
Metadata Files
Readme License Citation

README.md

splithalfr: Split-Half Reliabilities

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

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.

Installation

  • The latest release is on CRAN at https://cran.r-project.org/package=splithalfr. Install it by running install.packages("splithalfr")
  • Releases are also archived at Zenodo under the DOI 10.5281/zenodo.7777894
  • The latest development version is available via this repo at https://github.com/tpronk/splithalfr. Beware: this version may contain errors and can change at any time.

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

  • vignette("rapi_sum") Sum-score for data of the 23-item version of the Rutgers Alcohol Problem Index (White & Labouvie, 1989)
  • vignette("vpt_diff_of_means") Difference of mean RTs for correct responses, after removing RTs below 200 ms and above 520 ms, on Visual Probe Task data (Mogg & Bradley, 1999)
  • vignette("aat_double_diff_of_medians") Double difference of medians for correct responses on Approach Avoidance Task data (Heuer, Rinck, & Becker, 2007)
  • vignette("iat_dscore_ri") Improved d-score algorithm for data of an Implicit Association Task that requires a correct response in order to continue to the next trial (Greenwald, Nosek, & Banaji, 2003)
  • vignette("sst_ssrti") Stop-Signal Reaction Time integration method for data of a Stop Signal Task (Logan, 1981)
  • vignette("gng_dprime") D-prime for data of a Go/No Go task (Miller, 1996)

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/

Owner

  • Login: tpronk
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
title: "splithalfr: Estimates split-half reliabilities for scoring algorithms of cognitive tasks and questionnaires"
message: "Please cite the software itself and the journal article from 'preferred-citation'."
type: software
doi: 10.5281/zenodo.7777894
version: "3.0.0"
date-released: "2025-04-29"
authors:
  - given-names: Thomas
    family-names: Pronk
    email: pronkthomas@gmail.com
    affiliation: "University of Amsterdam"
    orcid: "https://orcid.org/0000-0001-9334-7190"
references:
  - authors:
      - family-names: Pronk
        given-names: Thomas
      - family-names: Molenaar
        given-names: Dylan
      - family-names: Wiers
        given-names: "Reinout W."
      - family-names: Murre
        given-names: Jaap
    doi: 10.3758/s13423-021-01948-3
    journal: "Psychonomic Bulletin & Review"
    title: "Methods to split cognitive task data for estimating split-half reliability: A comprehensive review and systematic assessment"
    type: article
    year: 2021

GitHub Events

Total
  • Create event: 2
  • Release event: 1
  • Issues event: 2
  • Watch event: 1
  • Delete event: 3
  • Issue comment event: 1
  • Push event: 6
  • Pull request event: 2
Last Year
  • Create event: 2
  • Release event: 1
  • Issues event: 2
  • Watch event: 1
  • Delete event: 3
  • Issue comment event: 1
  • Push event: 6
  • Pull request event: 2

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 72
  • Total Committers: 2
  • Avg Commits per committer: 36.0
  • Development Distribution Score (DDS): 0.292
Past Year
  • Commits: 11
  • Committers: 1
  • Avg Commits per committer: 11.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
tpronk p****s@g****m 51
Thomas Pronk t****k@n****k 21
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 8
  • Total pull requests: 8
  • Average time to close issues: 3 months
  • Average time to close pull requests: less than a minute
  • Total issue authors: 3
  • Total pull request authors: 1
  • Average comments per issue: 1.38
  • Average comments per pull request: 0.0
  • Merged pull requests: 8
  • Bot issues: 1
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 1
  • Average time to close issues: 11 days
  • Average time to close pull requests: less than a minute
  • Issue authors: 3
  • Pull request authors: 1
  • Average comments per issue: 3.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 1
  • Bot pull requests: 0
Top Authors
Issue Authors
  • tpronk (5)
  • codefair-io[bot] (1)
  • lmob499 (1)
Pull Request Authors
  • tpronk (8)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 706 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 7
  • Total maintainers: 1
cran.r-project.org: splithalfr

Estimate Split-Half Reliabilities

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 706 Last month
Rankings
Downloads: 21.2%
Stargazers count: 23.6%
Dependent repos count: 23.9%
Average: 25.0%
Forks count: 27.8%
Dependent packages count: 28.7%
Maintainers (1)
Last synced: 7 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.6.0 depends
  • bcaboot >= 0.2.1 imports
  • dplyr >= 1.0.7 imports
  • psych >= 1.8.12 imports
  • rlang >= 0.4.0 imports
  • tibble >= 2.1.1 imports
  • MASS >= 7.3.51 suggests
  • knitr >= 1.20 suggests
  • rmarkdown >= 1.10 suggests
  • testthat >= 2.1.0 suggests