IDEAS home Printed from
   My bibliography  Save this paper

G-estimation of the effect of exposures in longitudinal studies


  • Jonathan Sterne

    () (University of Bristol)

  • Kate Tilling

    () (Kings' College, London)


Stata's st suite of commands for the analysis of survival time data allow flexible modeling of the effect of exposures which vary over time. A potential problem in such analyses is that other risk factors may be both confounders (i.e., associated with both exposure and disease outcome) and also intermediate variables (on the causal pathway from exposure to disease). This phenomenon is known as "time-varying confounding". Standard statistical models for the analysis of cohort studies do not take such complex relationships into account and may produce biased estimates of the effect of risk factor changes. G-estimation of the effect of a time-varying exposure on outcome, allowing for confounders which are also on the causal pathway, has been proposed for the analysis of such inter-related data. We will present stgest, a Stata program which performs g-estimation, allowing the results to be compared to those from the more usual survival analysis. Using simulated data, we show that the usual analysis can under-estimate the effect of an exposure on disease where there is time-varying confounding, and that g-estimation produces a more accurate estimate. Applications of the method will be discussed.

Suggested Citation

  • Jonathan Sterne & Kate Tilling, 2001. "G-estimation of the effect of exposures in longitudinal studies," United Kingdom Stata Users' Group Meetings 2001 4, Stata Users Group.
  • Handle: RePEc:boc:usug01:4

    Download full text from publisher

    To our knowledge, this item is not available for download. To find whether it is available, there are three options:
    1. Check below whether another version of this item is available online.
    2. Check on the provider's web page whether it is in fact available.
    3. Perform a search for a similarly titled item that would be available.

    More about this item


    Access and download statistics


    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:usug01:4. 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). General contact details of provider: .

    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.

    We have no references for this item. You can help adding them by using 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 RePEc Author Service 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.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.