Estimating Effect Sizes

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

CI_g

Calculates a confidence interval for a standardized mean difference effect size

effect_size_ABk()

Calculates HPS effect size

effect_size_MB()

Calculates HPS effect size

phase_pairs()

Calculate phase-pairs for a unique case

preprocess_SCD()

Clean Single Case Design Data

session_by_treatment()

Calculate session-by-treatment interactions for a unique case

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

Importing functions from lmeInfo package

lmeInfo

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)

Lambert

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

Laski

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

Musser

Musser (2001)

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

MB1results

MB1 simulation results

MB1time

MB1 simulation time

MB2results

MB2 simulation results

MB2time

MB2 simulation time

MB4results

MB4 simulation results

MB4time

MB4 simulation time

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)