djnavarro / lsr

R package associated with "Learning Statistics with R"
https://lsr.djnavarro.net
Other
12 stars 5 forks source link

cohensD method argument may have problems #7

Open djnavarro opened 3 years ago

djnavarro commented 3 years ago

Suppose we have input variables with different sample variance:

 x <- c(1, 2, 3, 4, 5, 6)
 y <- c(2, 1, 0, 4, 6, 3)

These should be different?

cohensD(x, y, method = "pooled")
cohensD(x, y, method = "unequal")

Currently both return the same value. Might be a problem?