Learn R Programming

scan (version 0.53)

rci: Reliable change index

Description

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.

Usage

rci(data, dvar, pvar, rel, ci = 0.95, graph = FALSE, phases = c(1, 2))

rciSC(...)

rCi(...)

Arguments

data

A single-case data frame. See scdf to learn about this format.

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.

rel

Reliability of the measure, used to compute the standard error.

ci

Width of confidence interval as a decimal. Default is ci = 0.95 applying a 95%-confidence interval.

graph

If set TRUE, a box plot of phase A and B scores is displayed. graph = FALSE by default.

phases

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 to 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").

...

Further arguments passed to the function.

References

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.

Examples

Run this code
# NOT RUN {
## Report the RCIs of the first case from the byHeart data and include a graph
rci(byHeart2011[1], graph = TRUE, rel = 0.8)

# }

Run the code above in your browser using DataLab