CohensD.rawData: Calculate's Cohen's d

Description Usage Arguments Value Author(s) References Examples

View source: R/CohensD.rawData.R

Description

Calculate's Cohen's d

Usage

1
CohensD.rawData(E.data, C.data)

Arguments

E.data

Data from group 1 (Experimental/Treatment Group)

C.data

Data from group 2 (Control Group)

Value

Cohen's d effect size

Author(s)

A. Alexander Beaujean

References

Cohen, J. (1988). Statistical power analysis for the behavioral sciences (2nd ed.). Mahwah, NJ: Erlbaum.

Examples

1
2
3
4
5
6
7
#Simulate Data
set.seed(4565)
Treat<-rnorm(100,.5,1)
set.seed(45651)
Control<-rnorm(100,0,1)

CohensD.rawData(Treat,Control)

Example output

        d 
0.6411425 

BaylorEdPsych documentation built on May 1, 2019, 8:21 p.m.