SingleCaseES

A calculator for single-case effect size indices

https://github.com/jepusto/singlecasees

Science Score: 23.0%

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

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    1 of 6 committers (16.7%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.7%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

A calculator for single-case effect size indices

Basic Info
Statistics
  • Stars: 7
  • Watchers: 1
  • Forks: 1
  • Open Issues: 8
  • Releases: 9
Created about 10 years ago · Last pushed almost 2 years ago
Metadata Files
Readme

README.Rmd

---
title: "README"
output: 
  md_document:
    variant: gfm
---


[![R-CMD-check](https://github.com/jepusto/SingleCaseES/workflows/R-CMD-check/badge.svg)](https://github.com/jepusto/SingleCaseES/actions)
[![Codecov Status](https://codecov.io/gh/jepusto/SingleCaseES/branch/master/graph/badge.svg)](https://codecov.io/gh/jepusto/SingleCaseES?branch=master)
[![](http://www.r-pkg.org/badges/version/SingleCaseES)](https://CRAN.R-project.org/package=SingleCaseES)
[![](http://cranlogs.r-pkg.org/badges/grand-total/SingleCaseES)](https://CRAN.R-project.org/package=SingleCaseES)
[![](http://cranlogs.r-pkg.org/badges/last-month/SingleCaseES)](https://CRAN.R-project.org/package=SingleCaseES)


# SingleCaseES: A calculator for single-case effect size indices

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)](https://doi.org/10.1080/00273171.2018.1466681). 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:

* Percentage of non-overlapping data (PND)
* Percentage of all non-overlapping data (PAND)
* Robust improvement rate difference (IRD)
* Percentage exceeding the median (PEM)
* Non-overlap of all pairs (NAP)
* Tau non-overlap (Tau)
* Baseline-corrected Tau (Tau-BC)
* Tau-U (including baseline trend adjustment)

The available __parametric effect sizes__ are:

* Within-case standardized mean difference
* Log response ratio (decreasing and increasing)
* Log odds ratio
* Log ratio of medians
* Percent of goal obtained
* The gradual effects model, which can be used to estimate log response ratios or log odds ratios in the presence of time trends during treatment and return-to-baseline phases.

The package also includes two graphical user interfaces (designed using [Shiny](https://shiny.rstudio.com/)) for interactive use, both of which are also available as web apps hosted through [shinyapps.io](https://www.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.

# Acknowledgment ![]()

Institute of Education Sciences logo

The development of this R package was supported in part by the Institute of Education Sciences, U.S. Department of Education, through [Grant R324U190002](https://ies.ed.gov/funding/grantsearch/details.asp?ID=3358) 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.  

# Citations

Please cite this R package as follows:

> Pustejovsky, J. E., Chen, M., Grekov, P., & Swan, D. M. (`r substr(packageDate("SingleCaseES"),1,4)`). SingleCaseES: A calculator for single-case effect size indices (Version `r packageVersion("SingleCaseES")`) [R package]. https://jepusto.github.io/SingleCaseES/

Please cite the web applications as follows:

> Pustejovsky, J. E., Chen, M., Grekov, P., & Swan, D. M. (`r substr(packageDate("SingleCaseES"),1,4)`). Single-case effect size calculator (Version `r packageVersion("SingleCaseES")`) [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

# Installation

The package is available on the Comprehensive R Archive Network. 
To install it, you will first need to [install R](http://cran.r-project.org/) and [RStudio](http://www.rstudio.com/products/rstudio/download/). Both of these programs are freely available. 
Once you have these programs installed, run the following commands at the RStudio console prompt:

```{r, eval = FALSE}
install.packages("SingleCaseES")
```

To install the latest development version directly from Github, type:
```{r, eval=FALSE}
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)
```

# Getting started

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:

```{r, eval = FALSE}
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:

```{r, eval = FALSE}
vignette("Using-SingleCaseES")
```


# Graphical user interface

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:

```{r, eval = FALSE}
library(SingleCaseES)
SCD_effect_sizes()
```

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:

```{r, eval = FALSE}
library(SingleCaseES)
shine_gem_scd()
```

The calculator should then open in your default web browser. 

Owner

  • Name: James E. Pustejovsky
  • Login: jepusto
  • Kind: user

GitHub Events

Total
Last Year

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 623
  • Total Committers: 6
  • Avg Commits per committer: 103.833
  • Development Distribution Score (DDS): 0.332
Past Year
  • Commits: 108
  • Committers: 4
  • Avg Commits per committer: 27.0
  • Development Distribution Score (DDS): 0.361
Top Committers
Name Email Commits
jepusto j****o@g****m 416
Man Chen m****7@w****u 118
DMSwan d****0@g****m 64
Paulina Grekov p****v@P****l 14
Paulina Grekov g****a@g****m 8
Paulina Grekov 1****v 3
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: almost 2 years ago

All Time
  • Total issues: 74
  • Total pull requests: 24
  • Average time to close issues: 7 months
  • Average time to close pull requests: 10 days
  • Total issue authors: 10
  • Total pull request authors: 4
  • Average comments per issue: 1.27
  • Average comments per pull request: 1.29
  • Merged pull requests: 24
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 0
  • Average time to close issues: 3 months
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jepusto (61)
  • DMSwan (5)
  • rbcavanaugh (1)
  • austinj (1)
  • manchen07 (1)
  • SarBearSchwartz (1)
  • pgrekov (1)
  • ASKurz (1)
  • JulioV (1)
  • statsof1 (1)
Pull Request Authors
  • manchen07 (13)
  • jepusto (5)
  • pgrekov (4)
  • DMSwan (2)
Top Labels
Issue Labels
enhancement (20) bug (10)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 841 last-month
  • Total docker downloads: 42,005
  • Total dependent packages: 1
  • Total dependent repositories: 1
  • Total versions: 11
  • Total maintainers: 1
cran.r-project.org: SingleCaseES

A Calculator for Single-Case Effect Sizes

  • Versions: 11
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 841 Last month
  • Docker Downloads: 42,005
Rankings
Docker downloads count: 0.6%
Average: 16.7%
Downloads: 17.5%
Dependent packages count: 18.1%
Stargazers count: 19.3%
Forks count: 21.0%
Dependent repos count: 23.9%
Maintainers (1)
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • dplyr * imports
  • magrittr * imports
  • purrr * imports
  • rlang * imports
  • stats * imports
  • tidyr * imports
  • tidyselect * imports
  • utils * imports
  • Kendall * suggests
  • cleanrmd * suggests
  • covr * suggests
  • ggplot2 * suggests
  • glue * suggests
  • janitor * suggests
  • kableExtra * suggests
  • knitr * suggests
  • markdown * suggests
  • purrrlyr * suggests
  • rclipboard * suggests
  • readxl * suggests
  • rmarkdown * suggests
  • rvest * suggests
  • shiny * suggests
  • shinytest * suggests
  • spelling * suggests
  • stringr * suggests
  • testthat * suggests
  • xml2 * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/cache v1 composite
  • actions/checkout v2 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action 4.1.4 composite
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite