This question is related to my previous post.
In case of a meta-analysis of a pre-post treatment design I have data given from 5 studies that tested subjects pre- and post-treatment on a continuous scale (means and standard deviation are available pre- and post-treatment). Moreover every study has tested 4 subgroups. Here is some dummy data:
set.seed(123)
a <- c(rep("study1",4), rep("study2",4), rep("study3",4), rep("study4",4), rep("study5",4), rep("study6",4))
b <- rep(c("group1", "group2", "group3", "group4"),6)
my_data <- as.data.frame(cbind(a,b))
names(my_data) <- c("study", "group")
my_data$n <- round(rnorm(24,100,20),0)
my_data$mean_pre <- rep(c(1,2,3,4),6) + rnorm(24,0,0.5)
my_data$mean_post <- rep(c(1,2,3,4),6)*2 + rnorm(24,0,0.5)
my_data$var_pre <- rep(1, 24) + rnorm(24,0,0.25)
my_data$var_post <- rep(1, 24) + rnorm(24,0,0.25)
My 1st questions is:
- How can I calculate an effect size of treatment (and variance of it) for every study to then conduct a meta-analysis? Is the following approach valid:
Following Cooper's Book "Handbook of research synthesis and meta-analysis" (page 227) I use a formula: $$ d=(Y_{1}-Y_{2})/S_{within} $$ Here $Y_{1}$ and $Y_{2}$ are the means for pre- and post-scores in each group of each study and $S_{within}$ is defined as: $$ S_{within}=S_{difference}/\sqrt{2(1-cor(Y_{1},Y_{2}))} $$ Here $cor(Y_{1},Y_{2})$ is the correlation between pre and post-scores. However $S_{difference}$ is not available from the studies included in the meta-analysis. So I calculate it by the formula for the variance of the difference of two correlate random variables from here: $$ var(Y_{1}-Y_{2})=var(Y_{1})+var(Y_{2})-2*cor(Y_{1},Y_{2})*sd(Y_{1})*sd(Y_{2}) $$ with $$ sd(Y)^2=var(Y) $$ i can put the two formulas together: $$ S_{within}=\sqrt{var(Y_{1})+var(Y_{2})-2*cor(Y_{1},Y_{2})*sd(Y_{1})*sd(Y_{2})}/\sqrt{2(1-cor(Y_{1},Y_{2}))} $$
My 2nd questions is:
- Pre- and post-scores in the individual studies have been measured on different scales. Would there be a way (e.g. z-transform) to transform the data so that I would be able to check separately for group differences pre- and group differences post-treatment?