This package provides R functions for calculating basic effect size indices for single-case designs, including several non-overlap measures and parametric effect size measures, and for estimating the gradual effects model developed by Swan and Pustejovsky (2018). Standard errors and confidence intervals (based on the assumption that the outcome measurements are mutually independent) are provided for the subset of effect sizes indices with known sampling distributions.
The available non-overlap indices are:
The available parametric effect sizes are:
The package also includes two graphical user interfaces (designed using Shiny) for interactive use, both of which are also available as web apps hosted through shinyapps.io:
SCD_effect_sizes()
opens an interactive calculator for the basic non-overlap indices and parametric effect sizes. It is also available at https://jepusto.shinyapps.io/SCD-effect-sizes
shine_gem_scd()
opens an interactive calculator for the gradual effects model. It is also available at https://jepusto.shinyapps.io/gem-scd
Please note that the web apps should only be used for demonstration purposes. For research purposes, please install the R package and run the GUI through RStudio.
The development of this R package was supported in part by the Institute of Education Sciences, U.S. Department of Education, through Grant R324U190002 to the University of Oregon. The contents of the package do not necessarily represent the views of the Institute or the U.S. Department of Education.
Please cite this R package as follows:
Pustejovsky, J. E., Chen, M., Grekov, P., & Swan, D. M. (2023). SingleCaseES: A calculator for single-case effect size indices (Version 0.7.2) [R package]. https://jepusto.github.io/SingleCaseES/
Please cite the web applications as follows:
Pustejovsky, J. E., Chen, M., Grekov, P., & Swan, D. M. (2023). Single-case effect size calculator (Version 0.7.2) [Web application]. https://jepusto.shinyapps.io/SCD-effect-sizes
Swan, D. M. & Pustejovsky, J. E. (2017). gem_scd: A web-based calculator for the Gradual Effects Model (Version 0.1.0) [Web application]. https://jepusto.shinyapps.io/gem-scd
The package is available on the Comprehensive R Archive Network. To install it, you will first need to install R and RStudio. Both of these programs are freely available. Once you have these programs installed, run the following commands at the RStudio console prompt:
install.packages("SingleCaseES")
To install the latest development version directly from Github, type:
install.packages("devtools")
install.packages("sourcetools")
install.packages("shiny")
install.packages("markdown")
install.packages("ggplot2")
install.packages("purrrlyr")
devtools::install_github("jepusto/SingleCaseES", build_vignettes = TRUE, force = TRUE)
The package includes two vignettes that demonstrate the syntax of the main functions and provide precise definitions and details about how each of the effect sizes are calculated. To view the vignettes, type the following:
browseVignettes("SingleCaseES")
A list of vignettes should then appear in your browser. Click on the hyperlinks to view them. Alternately, type the following line of code to open the introductory vignette:
vignette("Using-SingleCaseES")
To use the graphical user interface for basic effect sizes, you must first ensure that the SingleCaseES
package is installed (following the directions above). To start the calculator, type the following commands at the RStudio console prompt:
The calculator should then open in your default web browser. To exit the calculator, close the window in which it appears.
To use the graphical user interface for the gradual effects model, type the following commands at the RStudio console prompt:
The calculator should then open in your default web browser.