Refractory period in recurrent-event analysis (source code)

= Refractory period in recurrent-event analysis
{title2=$Y_i(t)=0\quad(t_k<t<t_k+r)$}

A refractory period makes a patient ineligible for another event for a fixed time $r$ after a recurrence. Exclude this time from exposure and <risk sets> by delaying the next interval's entry to $t_k+r$. In a <gap-time recurrent-event model> measured from the previous event, the next interval enters at gap age $r$, not zero; the clock is not reset at the end of recovery.