Effectsize {SSDforR} | R Documentation |
Effect size
Description
The effect size function automatically displays the percent change and calculated values for both the ES and d-index for any two phases. Information for interpretting calculated values appears in the Console.
Usage
Effectsize(behavior, phaseX, v1, v2)
Arguments
behavior |
behavior variable |
phaseX |
phase variable |
v1 |
first phase letter between quotation marks (e.g., "A") |
v2 |
second phase letter between quotation marks (e.g., "B") |
Author(s)
Charles Auerbach, PhD Wurzweiler School of Social Work Wendy Zeitlin, PhD Montclair State University
References
Auerbach, Charles, and Zeitlin Wendy. SSD for R: An R Package for Analyzing Single-Subject Data. Oxford University Press, 2014. p56-57, p103, p135
Cohen, J.(1988).Statistical Power analysis for the behavioral sciences (2nd ed). Hillsdale, NJ: Lawrence Erlbaum Associates, Inc.
Glass, G. V., McGaw, B., & Smith, M. L. (1981) Meta-analysis in social research. Thousand Oaks, CA: SAGE Publications, Inc.
Bloom, M., Fischer, J. & Orme, J.G. (2009). Evaluating practice: Guidelines for the accountable professional (6th ed.). New York: Pearson.
Go to www.ssdanalysis.com for more information.
Examples
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")
Effectsize(cry,pcry,"A","B")