Hopefully someone can help me as the question drives me completely crazy. I'm using R to calculate Cohen's d with the following code and every time I get different results.
What am doing wrong?
library(effsize)
treatment = rnorm(75,mean= 15.37, sd= 8.43)
control = rnorm(75,mean=21.20, sd=8.37)
cohen.d(treatment,control,na.rm=FALSE,pooled=TRUE,paired=FALSE)