IRD: Robust improvement rate difference

View source: R/non-overlap-measures.R

IRDR Documentation

Robust improvement rate difference

Description

Calculates the robust improvement rate difference index (Parker, Vannest, & Brown, 2009). The range of IRD depends on the number of observations in each phase.

Usage

IRD(
  A_data,
  B_data,
  condition,
  outcome,
  baseline_phase = NULL,
  intervention_phase = NULL,
  improvement = "increase"
)

Arguments

A_data

vector of numeric data for A phase. Missing values are dropped.

B_data

vector of numeric data for B phase. Missing values are dropped.

condition

vector identifying the treatment condition for each observation in the series.

outcome

vector of outcome data for the entire series.

baseline_phase

character string specifying which value of condition corresponds to the baseline phase. Defaults to first observed value of condition.

intervention_phase

character string specifying which value of condition corresponds to the intervention phase. Defaults to second unique value of condition.

improvement

character string indicating direction of improvement. Default is "increase".

Value

Numeric value

References

Parker, R. I., Vannest, K. J., & Brown, L. (2009). The improvement rate difference for single-case research. Exceptional Children, 75(2), 135–150. doi:\Sexpr[results=rd]{tools:::Rd_expr_doi("10.1177/001440290907500201")}

See Also

PAND

Examples

A <- c(20, 20, 26, 25, 22, 23)
B <- c(28, 25, 24, 27, 30, 30, 29)
IRD(A_data = A, B_data = B)


jepusto/SingleCaseES documentation built on Aug. 21, 2023, 12:08 p.m.