Package: scdtb 0.2.0.9000
scdtb: Single Case Design Tools
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.
Authors:
scdtb_0.2.0.9000.tar.gz
scdtb_0.2.0.9000.zip(r-4.5)scdtb_0.2.0.9000.zip(r-4.4)scdtb_0.2.0.9000.zip(r-4.3)
scdtb_0.2.0.9000.tgz(r-4.4-any)scdtb_0.2.0.9000.tgz(r-4.3-any)
scdtb_0.2.0.9000.tar.gz(r-4.5-noble)scdtb_0.2.0.9000.tar.gz(r-4.4-noble)
scdtb_0.2.0.9000.tgz(r-4.4-emscripten)scdtb_0.2.0.9000.tgz(r-4.3-emscripten)
scdtb.pdf |scdtb.html✨
scdtb/json (API)
# Install 'scdtb' in R: |
install.packages('scdtb', repos = c('https://mightymetrika.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mightymetrika/scdtb/issues
- basic_scd - Basic Single Case Design
- efficacy_of_CBT - Fictional Single Case Design Efficacy of CBT Example
- reversal_withdrawal - Reversal/withdrawal Design Example
- sleeping_pills - Sleeping Pills and Dizziness Example
Last updated 2 months agofrom:d8e0ea4fe6. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 22 2024 |
R-4.5-win | OK | Nov 22 2024 |
R-4.5-linux | OK | Nov 22 2024 |
R-4.4-win | OK | Nov 22 2024 |
R-4.4-mac | OK | Nov 22 2024 |
R-4.3-win | OK | Nov 22 2024 |
R-4.3-mac | OK | Nov 22 2024 |
Exports:cross_laggedmixed_model_analysisnapnapjackrandomization_testraw_plotreplext_glsreplext_pgsqlscdtbsimulate_gls_once
Dependencies:backportsbase64encbitbit64blobbroombroom.mixedbslibcachemclicodacodetoolscolorspacecommonmarkcpp11crayoncrosstalkDBIdigestdplyrDTevaluatefansifarverfastmapfontawesomeforcatsfsfurrrfuturegenericsggplot2globalsgluegtablehighrhmshtmltoolshtmlwidgetshttpuvisobandjquerylibjsonliteknitrlabelinglaterlatticelazyevallifecyclelistenvlubridatemagrittrMASSMatrixMatrixModelsmemoisemgcvmimemmcardsmmintsmnormtmunsellnlmenumDerivparallellypillarpkgconfigplogrpoolpromisespurrrquantregR6rappdirsRColorBrewerRcpprlangrmarkdownRPostgressassscalesshinyshinythemessnsourcetoolsSparseMstringistringrsurvivaltibbletidyrtidyselecttimechangetinytexutf8vctrsviridisLitewithrxfunxtableyaml
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Basic Single Case Design | basic_scd |
Cross-Lagged Correlation | cross_lagged |
Fictional Single Case Design Efficacy of CBT Example | efficacy_of_CBT |
Mixed Model Analysis | mixed_model_analysis |
Non-overlap of All Pairs (NAP) Analysis | nap |
Nap Jack: A Single Case Design Card Game | napjack |
Plot Cross-Lagged Correlation Results | plot.cross_lagged |
Plot Results from Replications and Extension of GLS Simulation | plot.replext_gls |
Print Method for Cross-Lagged Objects | print.cross_lagged |
Randomization Test for Single-Case Experiments | randomization_test |
Plot Raw Data with Optional Phase and Condition Annotations | raw_plot |
Replications and Extension of Generalized Least Squares Simulation | replext_gls |
Replication and Extension of Generalized Least Squares Simulation Shiny App | replext_pgsql |
Reversal/withdrawal Design Example | reversal_withdrawal |
Single Case Design Toolbox Shiny Application | scdtb |
Simulate and Analyze Generalized Least Squares | simulate_gls_once |
Sleeping Pills and Dizziness Example | sleeping_pills |