View source: R/rand_test.R View source: R/smd.R
smd | R Documentation |
The smd()
function provides various standardized mean effect sizes for
single-case data.
smd(data, dvar, pvar, mvar, phases = c(1, 2))
data |
A single-case data frame. See |
dvar |
Character string with the name of the dependent variable. Defaults to the attributes in the scdf file. |
pvar |
Character string with the name of the phase variable. Defaults to the attributes in the scdf file. |
mvar |
Character string with the name of the measurement time variable. Defaults to the attributes in the scdf file. |
phases |
A vector of two characters or numbers indicating the two phases
that should be compared. E.g., |
'sd cohen' is the (unweigted) average of the variance of phase A and B. 'sd Hedges' is the weighted average of the variance of phase A and B (with a degrees of freedom correction). 'Hedges' g' is the mean difference divided by 'sd Hedges'. 'Hedges' g correction' and 'Hedges' g durlak correction' are two approaches of correcting Hedges' g for small sample sizes. 'Glass' delta' is the mean difference divided by the standard deviation of the A-phase. 'Cohens d‘ is the mean difference divided by ’sd cohen'.
Juergen Wilbert
overlap()
, describe()
smd(exampleAB)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.