Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Discrete-time models with repeated events


From   "Stephen P. Jenkins" <[email protected]>
To   <[email protected]>
Subject   st: Discrete-time models with repeated events
Date   Fri, 25 Jan 2008 09:23:27 -0000

> ------------------------------
> 
> Date: Thu, 24 Jan 2008 11:30:25 +0100
> From: "Luis Ortiz" <[email protected]>
> Subject: st: Discrete-time models with repeated events
> 
> Dear Statalisters,
> 
> I'm carrying out survival analysis of a process that 
> conceivably occurs in
> continuous time, but for which observed survival times are 
> grouped into
> intervals. Quite unfortunately, my data do not allow for 
> more. According to
> various sources, amongst them the valuable Stephen Jenkins' lessons,
> discrete time models (i.e. logistic or cloglog) are called 
> for. My first
> question would be which one of these discrete models to 
> choose. I'm afraid I
> have not drawn a clear idea of the added value of the cloglog
command,
> relative to logistic.

A complementary log log specification for the grouped data hazard has
the advantage that the regression coefficients are the regression
coefficients for a proportional hazards model specified in continuous
time.  When the interval width used to group data is `'small', then a
logit model for the grouped data hazard provides very similar
estimates to the complementary log log model.

This stuff is in the references that you cite, and the papers cited
there.

 
> My second question relates to the event I'm analyzing. The 
> event may occur
> several times for the same individual in the panel; in other words,
a
> repeated-events model seems to be called for. Is there any 
> way of using either the logistic or cloglog for a model with
repeated events?

You're confusing a cloglog (or logit) specification for the hazard,
and the -cloglog- or -logit- commands.  You want the latter to
estimate a model where you have the former plus repeated spells for
the same individual. You can't; you will need to write your own
program -- at least for the case which is of most relevance.

If there is no unobserved heterogeneity, then all differences in
hazards are summarized by the observed explanatory variables (X).
Aside from issues of initial conditions and all that then, conditional
on the X, the spells are independent. So you can simply pool the
spells, and carry on as before.  If you have unobserved heterogeneity,
then the unobserved individual effect for each individual is
correlated across spells, and you have to control for that.  One
method, viewed as crude by economists, is simply to adjust the
standard errors from the pooled spell model using a form of sandwich
estimator. (Allison's little Sage book refers to this.)  Economists
prefer to /model/ the unobserved heterogeneity using either a discrete
distribution (latent class idea due to Heckman and Singer) or a
continuous distribution for the frailties such as normal or gamma.
[Again you cannot simply apply programs allowing for frailty such as
-hshaz- or -pgmhaz8- to repeated event data as they assume no repeated
events per person.]  Please read the literature on "mixed proportional
hazards models" -- a good start is the chapter by Gerard van den Berg
in the Handbook of Econometrics Vol 5, Elsevier, 2001.


Stephen
-------------------------------------------------------------
Professor Stephen P. Jenkins <[email protected]>
Director, Institute for Social and Economic Research
University of Essex, Colchester CO4 3SQ, U.K.
Tel: +44 1206 873374.  Fax: +44 1206 873151.
http://www.iser.essex.ac.uk  
Survival Analysis using Stata:
http://www.iser.essex.ac.uk/teaching/degree/stephenj/ec968/ 
Downloadable papers and software: http://ideas.repec.org/e/pje7.html

Learn about the UK's new household panel survey, the United Kingdom
Household Longitudinal Study: http://www.iser.essex.ac.uk/ukhls/ 
Contribute to the consultation on content:
http://www.iser.essex.ac.uk/ukhls/consult/





*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index