CAUTION! This function is still under development and not ready for
use! The rciSC
function computes three indices of reliable change
(Wise, 2004) and corresponding descriptive statistics.
rciSC(data, dvar, pvar, rel = 0.8, ci = 0.95, graph = FALSE,
phases = c(1, 2))
A single-case data frame. See scdf
to learn about
this format.
Character string with the name of the dependent variable.
Character string with the name of the phase variable.
Reliability of the measure, used to compute the standard error.
Default is rel = 0.8
.
Width of confidence interval as a decimal. Default is ci =
0.95
applying a 95%-confidence interval.
If set TRUE
, a box plot of phase A and B scores is
displayed. graph = FALSE
by default.
A vector of two characters or numbers indicating the two
phases that should be compared. E.g., phases = c("A","C")
or
phases = c(2,4)
for comparing the second and the fourth phase. Phases
could be combined by providing a list with two elements. E.g., phases
= list(A = c(1,3), B = c(2,4))
will compare phases 1 and 3 (as A) against 2
and 4 (as B). Default is phases = c("A","B")
.
A list of three RCI calculations (Jacobson et al., Christenden et al., Hageman et al.).
Standardized difference between mean phase A and B scores.
A matrix containing the lower and upper confidence interval boundaries of phases A and B.
Numeric argument from function call (see
ci
in Arguments
section).
Numeric argument
from function call (see Arguments
above).
A matrix containing descriptive statistics for phases A and B: n, mean, SD, SE.
Number of cases.
A vector of phase A scores.
A vector of phase B scores.
Christensen, L., & Mendoza, J. L. (1986). A method of assessing change in a single subject: An alteration of the RC index. Behavior Therapy, 17, 305-308.
Hageman, W. J. J., & Arrindell, W. A. (1993). A further refinement of the reliable change (RC) index by improving the pre-post difference score: Introducing RCID. Behaviour Research and Therapy, 31, 693-700.
Jacobson, N. S., & Truax, P. (1991). Clinical Significance: A statistical approach to defining meaningful change in psychotherapy research. Journal of Consulting and Clinical Psychology, 59, 12-19.
Wise, E. A. (2004). Methods for analyzing psychotherapy outcomes: A review of clinical significance, reliable change, and recommendations for future directions. Journal of Personality Assessment, 82, 50 - 59.
# NOT RUN {
## Report the RCIs of the first case from the byHeart data and include a graph
rciSC(byHeart2011[1], graph = TRUE)
# }
Run the code above in your browser using DataLab