If f(t) is our delay distribution then
p(yi)=f(yi−xi)
is the probability that secondary event of individual i happens at time yi given its primary event happened at xi.
The expected number of individuals St that have their secondary event at time t can then be calculated as the sum of these probabilities
St=∑ift−xi
Note: If St is in discrete time steps then ft needs to be a discrete probability distribution.
If the number of individuals Pt′ that have their primary event at time t′ then we can rewrite this as
St=∑t′Pt′ft−t′
This operation is called a (discrete) convolution of P with f.
We can use convolutions with the delay distribution that applies at the individual level to determine population-level counts.
Having moved to the population level, we can’t estimate individual-level event times any more.
Instead, we discretise the distribution (remembering that it is double censored - as both events are censored).
This can be solved mathematically but in the session we will use simulation.
Delay distributions at the population level