Statalist The Stata Listserver

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

Re: st: stset with multiple spells

From   "Chris Chung" <[email protected]>
To   <[email protected]>
Subject   Re: st: stset with multiple spells
Date   Mon, 24 Apr 2006 03:18:41 -0400

Cleves' STB-49 should be a good place to start. You may also want to look at:
Ezell, M.E., Land, K.C., & Cohen, L.E. 2003. Modeling multiple failure time data: A Survey of variance-corrected proportional hazards models with empirical applications to arrest data. Sociological Methodology, 33: 111-167.


----- Original Message ----- From: "Sara Mottram" <[email protected]>
To: <[email protected]>
Sent: Monday, April 24, 2006 2:57 AM
Subject: Re: st: stset with multiple spells

Hi Juan,

I think that I am trying to do a similar analysis where I look at the number of consultations with a doctor for a certain condition, over a three year period. You do not say which version of Stata you are using but I think this type of analysis is possible in Version 9 by considering the data as multiple failures. However, I haven't got any further than this myself. I believe that exactly which command and options you need to use depends on the precise question. You might also want to look at the paper by Jos Twisk. "Twisk J, Smidt N, de Vente W. Applied analysis of recurrent events: a practical overview. J. Epidemiol. Community Health 2005; 59;706-10". which can be found at
Hope this helps and perhaps someone else could clarify the situation further.


Juan Manuel Jauregui wrote:

My fellow Stata lovers,

I'm trying to stset my dataset, and I'm having trouble. I already read the [st]
manual, the great book by Cleves et al (2004) and also his excelent review of
this issue at the FAQ (reproducing the STB-49) and even a search of the
Statalist history and other websites wasn't fruitful.

Here is my problem:

I have an unbalanced panel of almost 200 individuals (countries in this case)
with 100 records each (25 years of quarterly data) and I want to study the
duration of some periods of financial distress. I have an event that marks the
begining of each crisis, and another event that marks its end. This crises
periods appear more than once for each country and they are separated from each
other by periods of tranquility, that is, analysis time should begin from 0 when
a new crisis begins.

The closest thing I think I can do is to take each episode as an individual and
take countries as groups and use a shared frialty model, but that wouldn't be
exactly what I want to do. I'd prefer to take it as repeated episodes of the
same individual.

Any help will be greatly appreciated.

Thanks a lot!

Juan Manuel Jauregui
Doctoral Student
Global Economics and Management
UCLA Anderson School of Management
* For searches and help try:

Sara Mottram Research Assistant: Biostatistics
Primary Care Musculoskeletal Research Centre
Primary Care Sciences
Keele University
Staffordshire, ST5 5BG
Tel: 01782 584711
Fax: 01782 583911
* For searches and help try:
*   For searches and help try:

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