Package: scdhlm 0.7.3

scdhlm: Estimating Hierarchical Linear Models for Single-Case Designs

Provides a set of tools for estimating hierarchical linear models and effect sizes based on data from single-case designs. Functions are provided for calculating standardized mean difference effect sizes that are directly comparable to standardized mean differences estimated from between-subjects randomized experiments, as described in Hedges, Pustejovsky, and Shadish (2012) <doi:10.1002/jrsm.1052>; Hedges, Pustejovsky, and Shadish (2013) <doi:10.1002/jrsm.1086>; Pustejovsky, Hedges, and Shadish (2014) <doi:10.3102/1076998614547577>; and Chen, Pustejovsky, Klingbeil, and Van Norman (2023) <doi:10.1016/j.jsp.2023.02.002>. Includes an interactive web interface.

Authors:James Pustejovsky [aut, cre], Man Chen [aut], Bethany Hamilton [aut]

scdhlm_0.7.3.tar.gz
scdhlm_0.7.3.zip(r-4.5)scdhlm_0.7.3.zip(r-4.4)scdhlm_0.7.3.zip(r-4.3)
scdhlm_0.7.3.tgz(r-4.4-any)scdhlm_0.7.3.tgz(r-4.3-any)
scdhlm_0.7.3.tar.gz(r-4.5-noble)scdhlm_0.7.3.tar.gz(r-4.4-noble)
scdhlm_0.7.3.tgz(r-4.4-emscripten)scdhlm_0.7.3.tgz(r-4.3-emscripten)
scdhlm.pdf |scdhlm.html
scdhlm/json (API)
NEWS

# Install 'scdhlm' in R:
install.packages('scdhlm', repos = c('https://jepusto.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/jepusto/scdhlm/issues

Datasets:

On CRAN:

20 exports 4 stars 1.67 score 27 dependencies 1 mentions 52 scripts 670 downloads

Last updated 7 months agofrom:63f6903572. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 23 2024
R-4.5-winOKAug 23 2024
R-4.5-linuxOKAug 23 2024
R-4.4-winOKAug 23 2024
R-4.4-macOKAug 23 2024
R-4.3-winOKAug 23 2024
R-4.3-macOKAug 23 2024

Exports:batch_calc_BCSMDcalc_BCSMDCI_gcompare_RML_HPSdefault_timesdesign_matrixeffect_size_ABkeffect_size_MBextract_varcompg_mlmg_REMLgraph_SCDInfo_Expected_lmeAR1phase_pairspreprocess_SCDsession_by_treatmentshine_scdsimulate_MB2simulate_MB4varcomp_vcov

Dependencies:cellrangerclicpp11crayondplyrfansigenericsgluehmslatticelifecyclelmeInfomagrittrnlmepillarpkgconfigprettyunitsprogressR6readxlrematchrlangtibbletidyselectutf8vctrswithr

Estimating design-comparable standardized mean differences with scdhlm

Rendered fromEstimating-effect-sizes.Rmdusingknitr::rmarkdownon Aug 23 2024.

Last update: 2022-07-26
Started: 2015-02-13

Readme and manuals

Help Manual

Help pageTopics
Alber-Morgan, et al. (2007)AlberMorgan
Example 2 from Hedges, Pustejovsky, & Shadish (2012)Anglesea
Barton-Arwood, Wehby, & Falk (2005)BartonArwood
A convenience function for calculating multiple design-comparable effect sizes from a dataset that compiles data from multiple single-case design studiesbatch_calc_BCSMD
Bryant et al. (2018)Bryant2018
A convenience function for calculating design comparable effect sizescalc_BCSMD
Carson (2008)Carson
Case, Harris, and Graham (1992)CaseHarrisGraham
Calculates a confidence interval for a standardized mean difference effect sizeCI_g
Run simulation comparing REML and HPS estimatescompare_RML_HPS
Datchuk (2016)Datchuk
Calculate default initial treatment time and follow-up time.default_times
Delemere & Dounavi (2018)DelemereDounavi
Create a design matrix for a single-case designdesign_matrix
Calculates HPS effect sizeeffect_size_ABk
Calculates HPS effect sizeeffect_size_MB
Calculates adjusted REML effect sizeg_REML
Graph Single Case Design Datagraph_SCD
Gunning & Espie (2003)GunningEspie
Calculate expected information matrixInfo_Expected_lmeAR1
Example 1 from Hedges, Pustejovsky, & Shadish (2012)Lambert
Example 2 from Hedges, Pustejovsky, & Shadish (2013)Laski
lmeInfoextract_varcomp g_mlm lmeInfo varcomp_vcov
MB1 simulation resultsMB1results
MB1 simulation timeMB1time
MB2 simulation resultsMB2results
MB2 simulation timeMB2time
MB4 simulation resultsMB4results
MB4 simulation timeMB4time
Musser (2001)Musser
Peltier et al. (2020)Peltier
Calculate phase-pairs for a unique casephase_pairs
Clean Single Case Design Datapreprocess_SCD
Rodgers et al. (2021)Rodgers
Rodriguez & Anderson (2014)Rodriguez
Romaniuk (2002)Romaniuk
Ruiz, et al. (2020)Ruiz
Example 1 from Hedges, Pustejovsky, & Shadish (2013)Saddler
Salazar, et al. (2020)Salazar
Example from Pustejovsky, Hedges, & Shadish (2014)Schutte
Calculate session-by-treatment interactions for a unique casesession_by_treatment
A shiny interface for the scdhlm packageshine_scd
Simulate Model MB2 from Pustejovsky, Hedges, & Shadish (2014)simulate_MB2
Simulate Model MB4 from Pustejovsky, Hedges, & Shadish (2014)simulate_MB4
Simulate data from a fitted 'g_REML' objectsimulate.g_REML
Thiemann & Goldstein (2001)Thiemann2001
Thiemann & Goldstein (2004)Thiemann2004
Thorne (2005)Thorne