ird: Improvement Rate Difference (IRD) calculation and line

Description Usage Arguments Author(s) References Examples

Description

This effect size function will compute the IRD and display a graph in the graph window. The user will be prompted to enter a value for a reference line, identify the number of intervention points remaining and the number of baseline data points that would be needed to be removed in order to eliminate all overlap or ties between phases.

Usage

1
IRD(behavior, phaseX, v1, v2)

Arguments

behavior

behavior variable

phaseX

phase variable

v1

first phase letter (e.g., "A")

v2

second phase letter (e.g., "B")

Author(s)

Charles Auerbach, PhD & Wendy Zeitlin, PhD; Yeshiva University, Wurzweiler School of Social Work

References

Auerbach, Charles, and Zeitlin Wendy. SSD for R: An R Package for Analyzing Single-Subject Data. Oxford University Press, 2014. p62-65, p136

Bloom, M., Fischer, J. & Orme, J.G. (2009). Evaluating practice: Guidelines for the accountable professional (6th ed.). New York: Pearson.

Parker, R.I. & Hagan-Burke, S. (2007). Median-based overlap analysis for single case data: A second study. Behavior Modification, 31(6), 919-936.

Go to www.ssdanalysis.com for more information.

Examples

1
2
3
4
5
cry<-c(3, 4, 2, 5, 3, 4, NA, 2, 2, 3, 2, 1, 2, NA, 2, 2, 1, 2, 1, 0, 0, 0)
pcry<-c("A", "A", "A", "A", "A", "A", NA, "B", "B", "B", "B", "B", "B", 
NA, "B1", "B1", "B1", "B1", "B1", "B1", "B1", "B1")
IQRbandgraph(cry,pcry,"A","week","amount","Crying")
IRD(cry,pcry,"A","B")

Example output

Loading required package: psych
Loading required package: TTR
Loading required package: MASS
Loading required package: tcltk
Loading required package: TSA

Attaching package: 'TSA'

The following objects are masked from 'package:stats':

    acf, arima

The following object is masked from 'package:utils':

    tar

Warning message:
no DISPLAY variable so Tk is not available 
75% 50% 25% 
4.0 3.5 3.0 
Find the smallest number of data points you need to remove to eliminate all overlap /ties between phases.
 
enter largest or smallest baseline data point for reference line  
enter number of intervention points remaining 
enter number of baseline line points to remove  
[1] NA  "%"
-------------------------------------------
10th percentile = 36.8
25th percentile = 47.9
50th percentile = 71.8
75th percentile = 89.8
90th percentile = 99.9

SSDforR documentation built on Oct. 7, 2018, 1:03 a.m.