Single Case Design Tools
Cross-Lagged Correlation
Deal a Phase of Cards
Mixed Model Analysis
Non-overlap of All Pairs (NAP) Analysis
Nap Jack: A Single Case Design Card Game
Plot Cross-Lagged Correlation Results
Plot Results from Replications and Extension of GLS Simulation
Print Method for Cross-Lagged Objects
Process Condition Variable
Process Phase Variable
Randomization Test for Single-Case Experiments
Plot Raw Data with Optional Phase and Condition Annotations
Render a Grid of Card Images
Generate UI Elements for GLS Simulation Parameters
Replications and Extension of Generalized Least Squares Simulation
Replication and Extension of Generalized Least Squares Simulation Shin...
Single Case Design Toolbox Shiny Application
Simulate and Analyze Generalized Least Squares
Swap Cards Within a Row of a Card Matrix
In some situations where researchers would like to demonstrate causal effects, it is hard to obtain a sample size that would allow for a well-powered randomized controlled trial. Single case designs are experimental designs that can be used to demonstrate causal effects with only one participant or with only a few participants. The 'scdtb' package provides a suite of tools for analyzing data from studies that use single case designs. The nap() function can be used to compute the nonoverlap of all pairs as outlined by the What Works Clearinghouse (2022) <https://ies.ed.gov/ncee/wwc/Handbooks>. The package also offers the mixed_model_analysis() and cross_lagged() functions which implement mixed effects models and cross lagged analyses as described in Maric & van der Werff (2020) <doi:10.4324/9780429273872-9>. The randomization_test() function implements randomization tests based on methods presented in Onghena (2020) <doi:10.4324/9780429273872-8>. The scdtb() 'shiny' application can be used to upload single case design data and access various 'scdtb' tools for plotting and analysis.