Consider the renewal process $P(x)$ is generated according to interrenewal distribution $p(x)$, and renewal process $Q(x)$ is generated according to interrenewal distribution $q(x)$. Calculate the Kullback–Leibler divergence between $P(x)$ and $Q(x)$.
Generally, the Kullback-Leibler divergence between two distributions $p(x)$ and $q(x)$ is
$ D_{\mathrm{KL}}(p\|q) = \int_{\chi} p \, \log \frac{p}{q} \, {\rm d}\mu. \!$
where $\chi$ is support of $q(x)$. If you want to calculate $D_{\mathrm{KL}}(P\|Q)$, the problem is that the length of the vector $x$ in $P(x)$ and $Q(x)$ is random. I thought about the following:
$ D_{\mathrm{KL}}(P\|Q) = \sum_n \int_{\chi} P(x|n) \, \log \frac{P(x|n)}{Q(x|n)} \, {\rm d}\mu. \!$
Is this right ? How about characterizing $P$ by joint pdf of number of jumps and the interrenewal distribution $p(x)$?