Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

RE: Re: st: Is it possible to estimate the cumulative incidence function using stpm2cif when you have competing risks and time-varying covariates?


From   "Turnbull, Alison E." <aturnbul@jhsph.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   RE: Re: st: Is it possible to estimate the cumulative incidence function using stpm2cif when you have competing risks and time-varying covariates?
Date   Mon, 24 Sep 2012 10:04:54 -0400

Thank you Steve. 

-alison

Date: Sun, 23 Sep 2012 09:38:20 -0400
From: Steve Samuels <sjsamuels@gmail.com>
Subject: Re: st: Is it possible to estimate the cumulative incidence function using stpm2cif when you have competing risks and time-varying covariates?

You are asked in the FAQ to give the source of non-official commands.
Both -stpm2- and -stpm2cif- are from SSC. Also "STATA" is not correct
spelling for "Stata".

The example in the -help- for -stpm2cif- uses expanded data after "stset
time, fail(failure)". So expanded data per se is not a problem. 

Unfortunately, -stpm2cif- will not work properly if the original data
set has time-dependent covariates, as yours does. Such data has multiple
records per subject before expansion, so the expanded data set does not
weight each subject properly.

The value of CIFs (or baseline survival curves) with time-dependent
covariates would be questionable anyway. These estimated curves represent a
population in which covariate values do not vary with time. Such a
population might be quite atypical.

Steve


*
*   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   |   Site index