Learn R Programming

splithalfr: Split-Half Reliabilities

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

Getting started

We've got six short vignettes to help you get started. You can open a vignette bij running the corresponding code snippets vignette(...) in the R console.

  • 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). This vignette illustrates how to apply each splitting method via the splithalfr: vignette("splitting_methods")

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 bootstrapped split-half reliabilities for specific scoring algorithms and are available via CRAN at the time of this writing: multicon, psych, and splithalf.

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.

Copy Link

Version

Install

install.packages('splithalfr')

Monthly Downloads

841

Version

2.2.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Thomas Pronk

Last Published

September 29th, 2021

Functions in splithalfr (2.2.0)

assmd

Calculate Absolute Strictly Standardized Mean Difference (ASSMD)
spearman_brown

Calculate Spearman-brown coefficient
short_icc

Calculate Intraclass Correlation Coefficient (ICC)
split_coefs

Calculate a bivariate coefficient for each split-half replication
split_strata

Split each stratum into two parts
split_ci

Calculate nonparametric bias-corrected and accelerated bootstrap confidence intervals for coefficients averaged across split replications
split_df

Split a data frame into two parts
ds_sst

Example Stop Signal Task data
ds_vpt

Example Visual Probe Task (VPT) Measurement Data in JASMIN1 Format
get_split_indexes_from_stratum

Generate indexes that can be used to split a stratum into two parts
sdregi

SD ratio of equalities or greater inequalities
split_stratum

Split a stratum into two parts
flanagan_rulon

Calculate Flanagon-Rulon coefficient
splithalfr

splithalfr: Split-Half Reliabilities
get_split_indexes_from_strata

Generate indexes for splitting strata
stratify

Stratify a data frame
ds_rapi

Example 23-item Rutgers Alcohol Problem Inventory (RAPI) data
apply_split_indexes_to_strata

Split each element of a list of strata based on a list of indexes
angoff_feldt

Calculate Angoff-Feldt coefficient
by_split

Calculate split scores per participant
apply_split_indexes_to_stratum

Split a stratum based on a list of indexes
ds_gng

Example Go/No Go data
ds_iat

Example Implicit Association Task (IAT) Data in JASMIN2 Format
ds_aat

Example Approach Avoidance Task (AAT) Measurement Data in JASMIN2 Format
check_strata

Check whether two strata have the same structure