Only a simple question:
if I have 17 studies (code==1 is treatment A and code==2 is treatment B) and I have for each study the N of patients in treatment A (n_a) and N of patients in treatment B (n_b) and the mean of age for treatment a (age_a) and b (age_b). How can I compare the 17 means of age by accounting (weighting) for the N of patients in each study ?
I suppose that I can compute: "sum age_a [iweight=n_a]" and "sum age_b [iweight=n_b]" to gain the weighted for N - mean for all 17 studies... than can I use a simple t.test?
if I have 17 studies (code==1 is treatment A and code==2 is treatment B) and I have for each study the N of patients in treatment A (n_a) and N of patients in treatment B (n_b) and the mean of age for treatment a (age_a) and b (age_b). How can I compare the 17 means of age by accounting (weighting) for the N of patients in each study ?
I suppose that I can compute: "sum age_a [iweight=n_a]" and "sum age_b [iweight=n_b]" to gain the weighted for N - mean for all 17 studies... than can I use a simple t.test?
Comment