This article describes the stgest command, which implements G-estimation (as proposed by Robins) to estimate the effect of a time-varying exposure on survival time, allowing for time-varying confounders.
MarkS. D., and RobinsJ.M.1993. Estimating the causal effect of smoking cessation in the presence of confounding factors using a rank preserving structural failure time model. Statistics in Medicine12(17): 1605–1628.
2.
RobinsJ. M., BlevinsD., RitterG., and WulfsohnM.1992. G-estimation of the effect of prophylaxis therapy for Pneumocystis carinii pneumonia on the survival of AIDS patients. Epidemiology3: 319–336.
3.
TillingK., SterneJ. A., and SzkloM.2002. Estimating the effect of cardiovascular risk factors on all-cause mortality and incidence of coronary heart disease using g-estimation: the ARIC study. American Journal of Epidemiology155: 710–718.
4.
WittemanJ. C., D'AgostinoR. B., StijnenT., KannelW., CobbJ. C., and de RidderM. A.1998. G-estimation of causal effects: isolated systolic hypertension and cardiovascular death in the Framingham Heart Study. American Journal of Epidemiology148(4): 390–401.