Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Q-test??


From   Roger Harbord <rmharbord@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Q-test??
Date   Sun, 27 Sep 2009 20:31:48 +0100

On Tue, Sep 22, 2009 at 5:49 PM, MAY BAYDOUN <mbaydoun2002@yahoo.com> wrote:
> Dear Statalisters,
>
> I am trying to examine heterogeneity between studies in an effect size for which I have an estimated standard error. So, I am basically doing a meta-analysis of 14 different studies. What is the best way to do this? Is Q-test the right way, and if so, what Stata code should I be using for version 11.0? Thanks a lot!
>
> May

. ssc install metan
. metan theta setheta, random

This will give you:
* a test for heterogeneity based on Cochran's Q statistic,
* I-squared, the proportion of variation in effect size attributable
to heterogeneity,
* an  estimate of the between-study variance tau-squared.

Roger.
-- 
Roger Harbord
http://www.epi.bris.ac.uk/staff/rharbord.htm

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index