[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: filling in gaps in data
replace ci_ev = ci_ev[_n-1] if ci_ev == 0 in 2/l
----- Original Message -----
From: David Winter <email@example.com>
Date: Thursday, September 14, 2006 12:24 pm
Subject: st: filling in gaps in data
> As cumulative incidence is a step function I may want to identify the
> value for CI_EV at, say, time =5, so I want to fill in the gaps
> with the
> previous known value (so in the above example, the values of CI_EV
> time = 3,4 and 5 would be recoded to 0.00069396).
> Some sort of loop should be in order but I am having problems with
> 'grey matter'. All assistance would be gratefully received.
> Regards and thanks,
* For searches and help try: