IRD.Rd
Calculates the robust improvement rate difference index (Parker, Vannest, & Brown, 2009). The range of IRD depends on the number of observations in each phase.
IRD(
A_data,
B_data,
condition,
outcome,
baseline_phase = NULL,
intervention_phase = NULL,
improvement = "increase"
)
vector of numeric data for A phase. Missing values are dropped.
vector of numeric data for B phase. Missing values are dropped.
vector identifying the treatment condition for each observation in the series.
vector of outcome data for the entire series.
character string specifying which value of
condition
corresponds to the baseline phase. Defaults to first
observed value of condition
.
character string specifying which value of
condition
corresponds to the intervention phase. Defaults to second
unique value of condition
.
character string indicating direction of improvement. Default is "increase".
Numeric value
Parker, R. I., Vannest, K. J., & Brown, L. (2009). The improvement rate difference for single-case research. Exceptional Children, 75(2), 135–150. doi:doi:10.1177/001440290907500201