I hope someone can help me with this simple question:
I want to derive Cohen's d from raw data.
I know cohen's d is just the (mean1-mean2)/pooledSD. What I want to do is to derive it directly from raw data is such a way that I work in the standardised scale.
I have tried to calculate the pooled mean and pooled SD and then standardise each observation by (obs1-pooled mean)/pooledSD and do the same for all observations.
The Cohen's d and the difference calculated using the method above are very similar (almost the same) but not exactly the same.
Please can anyone confirm that cohen's d is mathematically the same as standardising the observations and calculating the mean difference of standardised observations between groups?
a}} calculating cohens'd from aggregated data grandmean 21.875 mean0 21 mean1 22.75 pooledsd 3.068953936
cohen's d -0.570226871
b}} calculating cohen'd from raw data using the field (mpg-grandmean)/pooledsd mean_1 -0.285113435 mean_2 0.285113435
diff 1 and 2 -0.570226871
I need to know whether approach a}} and approach b}} are equivalent mathematically.
I really appreciate your help!
