IDEAS home Printed from
MyIDEAS: Log in (now much improved!) to save this paper

Two postestimation commands for assessing confounding effects in medical and epidemiological studies

Listed author(s):
  • Zhiqiang Wang


    (Centre for Chronic Disease, School of Medicine, University of Queensland)

Registered author(s):

    Controversy exists regarding proper methods for the selection of variables in confounder control in epidemiological studies. Various approaches have been proposed for selecting a subset of confounders among many possible subsets. This paper describes the use of two practical tools, Stata postestimation commands written by the author, to identify the presence and direction of confounding. One command, confall, plots all possible effect estimates against a statistical value such as the p-value or Akaike information criterion. This computing-intensive procedure allows researchers to inspect the variability of effect estimates from different possible models. Another command, confnd, uses a stepwise approach to identify confounders that have caused substantial changes in the effect measurement. Using three examples, the author illustrates the use of those programs in different situations. When all possible effect estimates are similar, indicating little confounding, the investigator can confidently report the presence and direction of the association between exposure and disease regardless of which variable selection method is used. On the other hand, when all possible effect estimates vary substantially, indicating the presence of confounding, a change-in-estimate plot and its corresponding table are helpful for identifying important confounders. Both commands can be used after most commonly used estimation commands for epidemiological data. The commands are available in the SSC Archive via the ssc command.

    If you experience problems downloading a file, check if you have the proper application to view it first. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.

    File URL:
    File Function: presentation slides
    Download Restriction: no

    Paper provided by Stata Users Group in its series United Kingdom Stata Users' Group Meetings 2006 with number 13.

    in new window

    Date of creation: 18 Sep 2006
    Handle: RePEc:boc:usug06:13
    Contact details of provider: Web page:

    More information through EDIRC

    No references listed on IDEAS
    You can help add them by filling out this form.

    This item is not listed on Wikipedia, on a reading list or among the top items on IDEAS.

    When requesting a correction, please mention this item's handle: RePEc:boc:usug06:13. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F Baum)

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If references are entirely missing, you can add them using this form.

    If the full references list an item that is present in RePEc, but the system did not link to it, you can help with this form.

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your profile, as there may be some citations waiting for confirmation.

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    This information is provided to you by IDEAS at the Research Division of the Federal Reserve Bank of St. Louis using RePEc data.