Date: Mon, 7 Feb 2005 11:21:16 -0800
Reply-To: Richard Ristow <firstname.lastname@example.org>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Richard Ristow <email@example.com>
Subject: Re: Calculation of Exposure per Year per Age
Content-Type: text/plain; charset=us-ascii
From: "Paparodopoulos, Nikos" <NPaparodopoulos@ing.gr>
Sent: Feb 7, 2005 3:59 AM
> I have a data file that includes Individuals of which ID , BIRTH_DATE ,
> DEATH_DATE are given.
> I would like to calculate the individual exposure for various time periods
> (i.e. time periods are taken to be years from 1995 to 2004, exposure is the
> portion of the period in which the individual is alive).
I'm traveling; away from my mail archives, references, and SPSS.
But this is analogous to calculating the number of days of hospitalization for a patient by calendar month. Both Jan Spousta and I have posted solutions to that, though I regret I can't point you to exact subject lines and dates. I believe that Jan's solution, which I think the most efficient and elegant that's been posted, would solve your problem nicely.