Learn R Programming

SSDforR (version 1.1)

Effectsize: 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")

References

{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

Run this code
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")

Run the code above in your browser using DataLab