Statalist


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

st: Events before D: how do I analyse?


From   Tim <lists@timbp.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Events before D: how do I analyse?
Date   Tue, 03 Nov 2009 19:45:21 +1100

I have a dataset formed by data linkage of hospitalisation data and defined by people requiring ongoing (chronic) treatment D.

It has been suggested that people in remote areas who require D move closer to services in the months before needing D (or in the next few months). Also, group A form a greater proportion of remote populations and are more likely to require D and are more likely to move.

My dataset includes the area where the person was living at each observation (hospitalisation) time.

I want to know if people in more remote areas are more likely to move (closer to services) in the 6 or 12 months before requiring D. I also want to know if people in group A are more likely to move (closer to services) in the 6 or 12 months before requiring D.

The data are left censored; they only include people who require D, but some of those require D on or before their first record, so I have no idea when they first required D.

So I want to analyse events before the index (defining) event. Furthermore, I'm not actually interested in time; I want to know about incidence rates.

I can -stset- with -exit(`my_index_event')- with enter at first record, but what happens with those who move multiple times before D? I am only interested in time from most recent move to D. Can I -stset- to recognise only the latest event as the event?

It seems to me that, given everyone in my dataset has experienced D, I can reverse time to calculate incidence of moving in previous 6 or 12 months. The situation looks completely symmetrical to me, but I cannot find any reference that I can use for support.



*
*   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   |   What's new   |   Site index