Economics at your fingertips  

Generating survival data for fitting marginal structural Cox models using Stata and comparing the fit

Mohammad Ehsanul Karim (), Paul Gustafson and John Petkau
Additional contact information
Mohammad Ehsanul Karim: Department of Statistics, University of British Columbia (UBC), Vancouver
Paul Gustafson: Department of Statistics, UBC
John Petkau: Department of Statistics, UBC

SAN12 Stata Conference from Stata Users Group

Abstract: Marginal structural models (MSM) can be used to estimate the effect of a time dependent exposure in presence of time dependent confounding. Previously Fewell et al. (2004) described how to estimate this model in Stata based on a weighted pooled logistic model approximation. However, based on the current literature and some recent simulation study results, this model can be suitably fitted in other ways too and various new weighting schemes are proposed accordingly. In this presentation, first the idea behind MSM will be explained and use of various weighting schemes will be justified through simple examples and tabulations using Stata. Then the procedure of generating survival data from a Cox MSM model will be illustrated using existing Stata commands. The performance of simulated data generation and procedure of fitting MSM via Stata will be compared with other standard statistical packages such as SAS and R.

Date: 2012-08-01
References: Add references at CitEc
Citations Track citations by RSS feed

Downloads: (external link) (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link:

Access Statistics for this paper

More papers in SAN12 Stata Conference from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

Page updated 2018-11-02
Handle: RePEc:boc:scon12:16