Estimating Effect Sizes

Functions for estimating effect sizes based on data from single-case designs

preprocess_SCD()

Clean Single Case Design Data

calc_BCSMD()

A convenience function for calculating design comparable effect sizes

batch_calc_BCSMD()

A convenience function for calculating multiple design-comparable effect sizes from a dataset that compiles data from multiple single-case design studies

CI_g

Calculates a confidence interval for a standardized mean difference effect size

default_times()

Calculate default initial treatment time and follow-up time.

phase_pairs()

Calculate phase-pairs for a unique case

session_by_treatment()

Calculate session-by-treatment interactions for a unique case

effect_size_ABk()

Calculates HPS effect size

effect_size_MB()

Calculates HPS effect size

Graphing Single-Case Design Data

Function for graphing data from single-case designs

graph_SCD()

Graph Single Case Design Data

Shiny App

Function to launch shiny app

shine_scd()

A shiny interface for the scdhlm package

lmeInfo package

Imported functions from lmeInfo package

lmeInfo extract_varcomp varcomp_vcov g_mlm

lmeInfo

Deprecated function

Function that might be removed in a later version of the package

g_REML()

Calculates adjusted REML effect size

Example Datasets

Example datasets from single-case designs

AlberMorgan

Alber-Morgan, et al. (2007)

Anglesea

Example 2 from Hedges, Pustejovsky, & Shadish (2012)

BartonArwood

Barton-Arwood, Wehby, & Falk (2005)

Bryant2018

Bryant et al. (2018)

Carson

Carson (2008)

CaseHarrisGraham

Case, Harris, and Graham (1992)

Datchuk

Datchuk (2016)

DelemereDounavi

Delemere & Dounavi (2018)

GunningEspie

Gunning & Espie (2003)

Lambert

Example 1 from Hedges, Pustejovsky, & Shadish (2012)

Laski

Example 2 from Hedges, Pustejovsky, & Shadish (2013)

Musser

Musser (2001)

Peltier

Peltier et al. (2020)

Rodgers

Rodgers et al. (2021)

Rodriguez

Rodriguez & Anderson (2014)

Romaniuk

Romaniuk (2002)

Ruiz

Ruiz, et al. (2020)

Saddler

Example 1 from Hedges, Pustejovsky, & Shadish (2013)

Salazar

Salazar, et al. (2020)

Schutte

Example from Pustejovsky, Hedges, & Shadish (2014)

Thiemann2001

Thiemann & Goldstein (2001)

Thiemann2004

Thiemann & Goldstein (2004)

Thorne

Thorne (2005)

Misc

Miscellaneous functions

compare_RML_HPS()

Run simulation comparing REML and HPS estimates

design_matrix()

Create a design matrix for a single-case design

Info_Expected_lmeAR1()

Calculate expected information matrix

simulate(<g_REML>)

Simulate data from a fitted g_REML object

simulate_MB2()

Simulate Model MB2 from Pustejovsky, Hedges, & Shadish (2014)

simulate_MB4()

Simulate Model MB4 from Pustejovsky, Hedges, & Shadish (2014)

Simulation results

Datasets containing simulation results from Pustejovsky, Hedges, and Shadish (2014)

MB1results

MB1 simulation results

MB1time

MB1 simulation time

MB2results

MB2 simulation results

MB2time

MB2 simulation time

MB4results

MB4 simulation results

MB4time

MB4 simulation time