Poisson counts with a switching rate
Events whose arrival rate follows a hidden regime, and the distribution of their count.
The model
Events arrive one at a time, as insurance claims, defaults in a portfolio or requests to a server do.
Their rate depends on a hidden regime $y_t \in \{1, 2\}$: while $y_t = i$ they arrive as a Poisson process with rate $\ell_i$.
The regime switches at rate $\lambda$ in each direction. This is a Markov-modulated Poisson process.
There are two time scales: events arrive every $1/\ell_i$ on average, and the regime changes every $1/\lambda$.
Parameters: $\ell = (8, 1)$ per unit time, the process starts in the busy regime, and $N_t$ counts the events up to $t = 1$.
The quantity
The whole distribution $\Pr(N_t = k)$, $k = 0, 1, 2, \dots$, through the generating function
$$a_i(t) = \mathbb{E}\big[z^{N_t} \mid y_0 = i\big].$$Averaging
When the regime switches infinitely fast, events arrive as a Poisson process with the average rate $\bar\ell = 4.5$, and the variance of the count equals its mean. Switching at a finite rate makes the count more variable than Poisson, and the corrector carries that overdispersion.
Reduction to a linear system
Condition on what happens in a short interval $dt$ at the start. While the regime is $i$, an event occurs with probability $\ell_i\,dt$ and multiplies $z^{N}$ by $z$; the regime jumps to $j$ with probability $Q_{ij}\,dt$. So
$$a_i(t + dt) = (1 - \ell_i\,dt)\,a_i(t) + \ell_i\,dt\;z\,a_i(t) + \sum_j Q_{ij}\,dt\;a_j(t) + o(dt),$$and letting $dt \to 0$,
$$a' = \big(Q + (z-1)\operatorname{diag}\ell\big)\,a, \qquad a(0) = \mathbf 1, \qquad g_i = (z-1)\,\ell_i ,$$a constant, complex for complex $z$. Evaluating $a(t)$ at the 64 points $z = e^{2\pi i k/64}$ on the unit circle and applying the discrete Fourier transform returns $\Pr(N_t \equiv k \bmod 64)$ for every $k$ at once.
These equal the probabilities $\Pr(N_t = k)$ up to the chance of 64 or more events. Given the regime path the count is Poisson with mean at most 8, so that chance is below $2\times10^{-35}$.
The expansion
Let the regime switch at rate $\lambda$ in each direction, and write
$$\varepsilon = \frac1\lambda, \qquad \bar g = \tfrac12(g_1 + g_2), \qquad \tilde g = \tfrac12(g_1 - g_2),$$Here
$$\bar g = (z-1)\,\bar\ell, \qquad \tilde g = \tfrac12(z-1)(\ell_1 - \ell_2) .$$The average $\bar g$ is what the averaged model sees. The half-difference $\tilde g$ measures how much the two regimes disagree.
First order
To first order in $\varepsilon$, at fixed $t > 0$,
$$a_i(t) = \exp\Big(\int_0^t \bar g + \frac{\varepsilon}{2}\int_0^t \tilde g^{\,2}\Big)\Big(1 \pm \frac{\varepsilon}{2}\,\tilde g(t)\Big) + O(\varepsilon^2),$$with the upper sign for a start in regime 1. If $\tilde g(0)=0$, the remainder is also uniform for $0\leq t\leq T$. Otherwise the uniform composite formula replaces $\tilde g(t)$ in the bracket by
$$\tilde g(t)-\tilde g(0)e^{-2t/\varepsilon}$$and includes $-\varepsilon\tilde g(0)\int_0^t\tilde g(s)e^{-2s/\varepsilon}ds/2$ in the exponent. Its remainder is $O(\varepsilon^2)$ uniformly on every fixed bounded maturity interval. The proof and the exact crossover scale are on the initial-layers page. The three outer factors have separate meanings, explained on the idea page.
- The factor below is the averaged model: $$e^{\int_0^t \bar g} .$$
- The term below is half the second cumulant of the fluctuating integral of $g$: $$\frac\varepsilon2\int_0^t\tilde g^{\,2} .$$ The square carries no conjugate, and here $g$ is complex whenever $z$ is, and real on the real axis, so the term is complex and is not a variance. For real $g$ it is half the variance, as on the idea page. It is the same for both starting regimes.
- The bracket is the memory of the starting regime. The switch stays near its starting state for about $1/(2\lambda)$, which shifts the integral by $\pm\tilde g/(2\lambda)$.
Every order
Add and subtract the two equations for $a_1$ and $a_2$. The mean $m = \tfrac12(a_1 + a_2)$ and the normalized difference $\omega = (a_1 - a_2)/(a_1 + a_2)$ then satisfy
$$\omega' = \tilde g\,(1 - \omega^2) - 2\lambda\,\omega, \qquad \omega(0) = 0,$$ $$\log m(t) = \int_0^t \big(\bar g + \tilde g\,\omega\big), \qquad a_{1,2} = m\,(1 \pm \omega).$$The first equation has a large restoring term $-2\lambda\omega$: the switch pulls the two regimes together at rate $2\lambda$, while $\tilde g$ pushes them apart. So $\omega$ stays close to the value that balances the two, and expanding in $\varepsilon$ finds that value order by order. Write
$$\omega = \sum_n \varepsilon^n\omega_n$$and match powers of $\varepsilon$:
$$\omega_1 = \frac{\tilde g}{2}, \qquad \omega_{n+1} = -\frac12\Big(\omega_n' + \tilde g\sum_{i+j=n}\omega_i\,\omega_j\Big).$$This is the two-state case of the solvability argument: at each order the restoring term can be inverted, which here is a division by $2\lambda$.
The series does not satisfy $\omega(0) = 0$.
An initial layer of width about $1/(2\lambda)$ repairs the start and is solved order by order in the same way. Its leading term adds $\mp\tfrac12\varepsilon\,\tilde g(0)\,e^{-2\lambda t}$ to the first-order bracket, which returns the bracket to $1$ at $t = 0$; when $\tilde g(0) \ne 0$ the first-order formula above is therefore accurate to $O(\varepsilon^2)$ only at fixed $t > 0$. The engine page gives the version for any number of regimes.
For the count, the shared first-order term multiplies the generating function by
$$\exp\big(\tfrac{t}{8\lambda}(z-1)^2(\ell_1 - \ell_2)^2\big),$$which adds $t(\ell_1 - \ell_2)^2/(4\lambda)$ to the variance.
The generating function in closed form
The forcing $g_i = (z - 1)\ell_i$ is constant, so the generating function is exact:
with
$$\bar g = (z - 1)\,\bar\ell, \qquad \tilde g = (z - 1)\,\tilde\ell, \qquad \bar\ell, \tilde\ell = \frac{\ell_1 \pm \ell_2}{2} .$$Differentiating the expansion at $z = 1$ gives the mean and variance of the count. With $L = 1 - e^{-2\lambda T}$ and the upper sign for a start in regime 1,
$$\mathbb{E}[N_T] = \bar\ell\,T \pm \frac{\varepsilon}{2}\,\tilde\ell\,L,$$ $$\operatorname{Var}[N_T] = \bar\ell\,T + \varepsilon\,\tilde\ell^{\,2}\,T \pm \frac{\varepsilon}{2}\,\tilde\ell\,L - \varepsilon^2\,\tilde\ell^{\,2}\Big(\frac L2 + \frac{L^2}{4}\Big) .$$These two formulas have no higher-order terms. Given the regime path the count is Poisson with mean $\Lambda = \int_0^T \ell_{y_s}\,ds$, so
$$\operatorname{Var}[N_T] = \mathbb{E}[\Lambda] + \operatorname{Var}[\Lambda],$$and integrating the covariance of the two-state regime, which is $e^{-2\lambda|t - s|} - e^{-2\lambda(t + s)}$ in the $\pm1$ coding, gives both lines exactly.
The variance exceeds the mean by
$$\operatorname{Var}[N_T] - \mathbb{E}[N_T] = \varepsilon\,\tilde\ell^{\,2}\,T - \varepsilon^2\,\tilde\ell^{\,2}\Big(\frac L2 + \frac{L^2}{4}\Big) .$$At fixed $T > 0$ the first term leads. It is the Green–Kubo overdispersion. The second term is the memory of the starting regime, and at horizons short against $1/\lambda$ it nearly cancels the first.
At $\ell = (8, 1)$, $T = 1$, $\lambda = 10$ and a start in the busy regime the excess is 1.13313, against 1.22500 from the first term alone:
| first order | second order (exact) | numerical | |
|---|---|---|---|
| mean | 4.67500 | 4.67500 | 4.67500 |
| variance | 5.90000 | 5.80812 | 5.80812 |
The numerical column evaluates the generating function at the 64 roots of unity, as described above, and the distribution itself follows the same way. A Monte Carlo check over 400,000 regime paths, sampled exactly from exponential holding times, gives each path a Poisson law for the count.
It agrees with the moments and with every probability up to $k = 15$ within two standard errors. Certificate: verify_option_mc.py.
Factorial cumulants remove Poisson noise
The preceding identity extends to every order and any stochastic intensity whose transform is finite near the origin. Define the factorial cumulant generating function by
$$H_N(t)=\log\mathbb E[(1+t)^{N_T}].$$Conditional Poisson sampling gives the exact identity
$$H_N(t)=\log\mathbb E[e^{t\Lambda_T}].$$Therefore the $r$th factorial cumulant of $N_T$ is the ordinary $r$th cumulant of $\Lambda_T$. In particular,
$$\begin{aligned} \kappa_2^{(F)}(N_T)&=\kappa_2(N_T)-\kappa_1(N_T),\\ \kappa_3^{(F)}(N_T)&=\kappa_3(N_T)-3\kappa_2(N_T)+2\kappa_1(N_T),\\ \kappa_4^{(F)}(N_T)&=\kappa_4(N_T)-6\kappa_3(N_T)+11\kappa_2(N_T)-6\kappa_1(N_T). \end{aligned}$$Beyond the mean, these combinations strip out Poisson shot noise and leave only fluctuations of the integrated rate. For several counts that are conditionally independent given cumulative intensities $\Lambda_1,\ldots,\Lambda_d$, the joint identity is
$$\log\mathbb E\!\left[\prod_{j=1}^d(1+t_j)^{N_j}\right] =\log\mathbb E\!\left[e^{\sum_jt_j\Lambda_j}\right].$$Thus mixed factorial cumulants identify the joint cumulants of the integrated rates exactly. For two streams, writing $\kappa_{rs}$ for the ordinary joint cumulant with $r$ copies of $N_1$ and $s$ copies of $N_2$, the signed-Stirling conversion through bidegree $(2,2)$ is
$$\begin{aligned} \kappa^{(F)}_{11}&=\kappa_{11},& \kappa^{(F)}_{21}&=\kappa_{21}-\kappa_{11},\\ \kappa^{(F)}_{12}&=\kappa_{12}-\kappa_{11},& \kappa^{(F)}_{22}&=\kappa_{22}-\kappa_{21}-\kappa_{12}+\kappa_{11}. \end{aligned}$$The transform is applied separately in each coordinate. Conditional independence is essential; without it, shared-event shot noise is not removed.
| order | ordinary count cumulant | factorial / intensity cumulant |
|---|---|---|
| 1 | 4.67500000 | 4.67500000 |
| 2 | 5.80812500 | 1.13312500 |
| 3 | 8.05293750 | -0.02143750 |
| 4 | 12.10121798 | -0.37703204 |
| mixed order | ordinary count | factorial count | integrated intensities |
|---|---|---|---|
| (1,1) | -0.58004696 | -0.58004696 | -0.58004696 |
| (2,1) | 0.31863278 | 0.89867974 | 0.89867974 |
| (1,2) | -1.11344811 | -0.53340115 | -0.53340115 |
| (2,2) | -0.49215436 | -0.27738600 | -0.27738600 |
What the count law identifies
At the level of the entire distribution there is a stronger, moment-free result. For a Cox count with nonnegative integrated intensity $\Lambda$,
$$G_N(z)=\mathbb E[z^N]=\mathbb E[e^{-(1-z)\Lambda}] =\mathcal L_{\Lambda}(1-z),\qquad 0\le z\le1.$$Hence the full count law determines the Laplace transform of $\Lambda$ on $[0,1]$. Two count laws can agree only if the corresponding Laplace transforms agree on $(0,1)$; analyticity on the positive half-plane and uniqueness of Laplace transforms then imply equality of the mixing laws.
Thus the mixed-Poisson family is identifiable, with no moment-determinacy assumption. This is the Poisson-mixture case of Teicher's identifiability theorem.
What it does not identify: the arrow of latent time
Identifying the law of $\Lambda_T$ is not the same as identifying the hidden generator. Let $Y$ be an irreducible finite-state chain with row generator $Q$, stationary law $\pi$, and $\Pi=\operatorname{diag}(\pi)$. Its stationary time reversal has generator
$$Q^\leftarrow=\Pi^{-1}Q^\top\Pi.$$For state rates $\ell_i\ge0$, put $D=\operatorname{diag}(\ell)$ and $\Lambda_T=\int_0^T\ell_{Y_s}\,ds$. Reversing a path preserves every occupation time, so under a stationary start $Q$ and $Q^\leftarrow$ give exactly the same law of $\Lambda_T$ and hence exactly the same Cox count law for every $T$. This is a genuine non-identification whenever $Q\ne Q^\leftarrow$; the underlying time-reversal construction is classical, going back to Nagasawa (1964).
The endpoint-resolved Feynman–Kac matrices make both the theorem and its boundary explicit. Define
$$K_Q(T,z)=\exp\{T[Q+(z-1)D]\},\qquad [K_Q(T,z)]_{ij}=\mathbb E_i[z^{N_T}\mathbf1\{Y_T=j\}].$$Because $D$ commutes with $\Pi$,
Multiplication on the left by $\pi$ and on the right by $\mathbf1$ erases this weighted transpose, proving
$$\pi K_{Q^\leftarrow}(T,z)\mathbf1=\pi K_Q(T,z)\mathbf1.$$The same proof covers several conditionally independent count streams by replacing $(z-1)D$ with a sum of diagonal state-rate potentials. It also covers state-dependent compound-Poisson marks by using their diagonal probability-generating exponents. Thus neither additional terminal count coordinates nor arbitrary contemporaneous state marks recover the arrow of time if all observations remain occupation based.
The stationarity and aggregation qualifications are essential. With a known start $i$, the transform is $e_i^\top K_Q\mathbf1$, which generally differs after reversal.
Recording the terminal state also retains the weighted-transpose relation above, and ordered event-time or path data can retain temporal direction. The theorem concerns terminal occupation-based counts, not those richer experiments.
Ordered windows recover the arrow of time
A minimal enrichment already breaks that non-identification. Let $N_a^-$ count stream $a$ on $[0,A]$ and $N_b^+$ count stream $b$ on $[A+\Delta,A+\Delta+B]$, where stream $a$ has state rate $\ell^{(a)}$.
Write $F_{ia}=\ell_i^{(a)}-\pi\ell^{(a)}$, $P_t=e^{tQ}$ and $H_T(Q)=\int_0^T P_s\,ds$. Conditional Poisson increments on disjoint windows are independent, so there is no shot-noise term across the boundary and the entire early/late covariance matrix is exactly
Since $e^{tQ^\leftarrow}=\Pi^{-1}e^{tQ^\top}\Pi$, time reversal transposes this matrix:
$$C_{A,B,\Delta}(Q^\leftarrow)=C_{A,B,\Delta}(Q)^\top.$$Thus the antisymmetric part is an exact arrow-of-time statistic. It vanishes for reversible chains, but it need not vanish for irreversible ones.
This conclusion uses ordered, stream-labelled windows; summing the windows returns to the occupation-only experiment and loses the direction. This is a finite-window, time-domain counterpart of the second-order point-process analysis initiated by Bartlett (1963).
The fast-switching scale is a boundary effect. Put $Q_m=mQ_0$, take adjacent fixed windows $A,B>0$, and let $R=-Q_0^\#$ be the zero-mean potential operator. Then
$$m^2 C_{A,B,0}(Q_m)\longrightarrow F^\top\Pi R^2F.$$More generally, for a microscopic gap $\Delta=\delta/m$ the middle factor survives and the limit is $F^\top\Pi R e^{\delta Q_0}RF$; for a fixed positive gap the covariance instead decays exponentially. This $m^{-2}$ ordered-boundary signal is distinct from the $m^{-1}$ Green–Kubo variance accumulated inside one macroscopic window.
For the four-state irreversible certificate with $A=0.7$ and $B=1.1$, the off-diagonal antisymmetric signal is 0.022655140619. Reversal agrees with the transpose to 3.1e-17; an independent mixed derivative of the sequential count PGF agrees with the semigroup covariance to 2.2e-16. At $m=40$, the scaled covariance is within 9.4e-16 of $F^\top\Pi R^2F$.
The certificate uses a nonreversible four-state generator whose maximum entrywise difference from its reverse is 1.875637241749. Across four PGF arguments, stationary transforms agree within 4.4e-16 and the weighted endpoint identity within 3.9e-16.
An independent count-resolved master equation agrees within 2.8e-16, with omitted mass below 3.1e-64. In contrast, a known start in state 1 gives count-law total variation 0.068465756461.
Which count laws are mixed Poisson?
Injectivity answers uniqueness after a mixed-Poisson representation is known to exist. Existence itself has an exact test.
Let $p_n=\Pr\{N=n\}$ and $q_n=n!p_n$. Then $N$ is mixed Poisson if and only if, for every $r\ge0$, both Hankel matrices
$$H_r^{(0)}=(q_{i+j})_{i,j=0}^r,\qquad H_r^{(1)}=(q_{i+j+1})_{i,j=0}^r$$are positive semidefinite. This is precisely the classical Stieltjes moment criterion; its connection with mixed Poisson laws and factorial moments is also discussed by Kuba and Panholzer.
The proof is short and also explains the factorial weighting. If $p_n=\int e^{-\lambda}\lambda^n/n!\,\mu(d\lambda)$, then
$$q_n=\int_0^\infty \lambda^n\,\rho(d\lambda),\qquad \rho(d\lambda)=e^{-\lambda}\mu(d\lambda),$$so both matrix families are Gram matrices of polynomials in $L^2(\rho)$ and hence are positive semidefinite. Conversely, the two Hankel conditions give a measure $\rho$ on $[0,\infty)$ with moments $q_n$. Since $\sum_nq_n/n!=\sum_np_n=1$, monotone convergence gives $\int e^\lambda\rho(d\lambda)=1$.
Therefore $\mu(d\lambda)=e^\lambda\rho(d\lambda)$ is a probability measure and reproduces $p_n$. The same exponential moment makes $\rho$ moment-determinate, so the mixing law is unique.
This yields a nested falsification hierarchy. The first two nontrivial minors require
$$2p_0p_2\ge p_1^2,\qquad 3p_1p_3\ge2p_2^2,$$but finitely many such inequalities are not sufficient. For example, let $B$ have probabilities $(0.3,0.1,0.1,0.2,0.3)$ on $\{0,1,2,3,4\}$, let $\Pr\{G=n\}=2^{-n-1}$, and take $N$ to have law $0.9\mathcal L(B)+0.1\mathcal L(G)$. This law has full support and is overdispersed:
$$\mathbb E N=1.9900,\qquad \operatorname{Var}(N)=2.7299>\mathbb E N.$$Its two order-one Hankel determinants are 0.0523750 and 0.0864875, yet
$$\det H_2^{(0)}=-0.012224875<0,$$which proves it is not mixed Poisson. As a positive control, the certificate constructs a four-atom mixing law; after diagonal normalization, the smallest eigenvalues of $H_2^{(0)}$ and $H_2^{(1)}$ are 0.03337128 and 0.02082002. Thus overdispersion is only the first coarse necessary condition, while the full Hankel hierarchy is necessary and sufficient.
The multivariate statement is identical under conditional independence:
$$G_{N_1,\ldots,N_d}(z_1,\ldots,z_d) =\mathcal L_{\boldsymbol\Lambda}(1-z_1,\ldots,1-z_d), \qquad 0\le z_j\le1.$$Finite cumulant lists are fundamentally weaker. Fix any order $k$, set $n=k+1$ and $x_j=j+1$ for $j=0,\ldots,n$. For any $0<\delta<2^{-n}$, define two strictly positive probability laws by
$$p_j^{\pm}={n\choose j}\left(2^{-n}\pm\delta(-1)^j\right).$$The $n$th finite-difference identity gives
$$\sum_{j=0}^{n}(-1)^j{n\choose j}(j+1)^r=0,\qquad r<n.$$Consequently the two intensities have the same first $k$ moments and cumulants, so their mixed-Poisson counts have the same first $k$ factorial cumulants. They are nevertheless different count laws because
$$\mathbb P_+(N=0)-\mathbb P_-(N=0) =2\delta e^{-1}(1-e^{-1})^n\ne0.$$For the certificate's $k=4$ construction, the maximum discrepancy among the first four factorial cumulants is 0.00e+00, while the zero-count probability differs by 0.000928207565 and the numerically summed total-variation distance is 0.003607864895, with omitted contribution below 6.68e-60. Full-law identification, all-order analytic identification, and finite-order cumulant identification are therefore distinct claims.
The sharp finite-atomic exception
A sparsity assumption changes the last conclusion completely. Suppose the mixing law has at most $r$ atoms,
$$\mu=\sum_{j=1}^{s}w_j\delta_{x_j},\qquad 1\le s\le r,\quad 0\le x_1<\cdots<x_s,\quad w_j>0.$$Then factorial cumulants of orders $1,\ldots,2r-1$ identify $\mu$, and this order is sharp without additional separation or weight assumptions. Indeed, factorial cumulants of the count are ordinary cumulants of $\Lambda$, and the triangular moment-cumulant relations recover $m_k=\mathbb E[\Lambda^k]$ for $0\le k\le2r-1$, with $m_0=1$.
To reconstruct the law, first read $s$ as the rank of $H_{r-1}=(m_{i+j})_{i,j=0}^{r-1}$. For the actual support size,
$$H_{s-1}=V\operatorname{diag}(w_1,\ldots,w_s)V^\top\succ0, \qquad V_{ij}=x_j^i.$$Let $P(x)=x^s+c_{s-1}x^{s-1}+\cdots+c_0$ be the monic support polynomial. Since $P(x_j)=0$, its coefficients are the unique solution of the Hankel system
$$H_{s-1}\begin{pmatrix}c_0\\ \vdots\\ c_{s-1}\end{pmatrix} =-\begin{pmatrix}m_s\\ \vdots\\ m_{2s-1}\end{pmatrix}.$$The roots of $P$ are the atoms $x_j$, after which the first $s$ moment equations form a nonsingular Vandermonde system for the weights. This is the classical annihilating-polynomial mechanism behind Prony's method.
The count $2r-1$ cannot be reduced. On the $2r$ nodes $x_j=j+1$, split the signed coefficients
$$a_j=(-1)^j{2r-1\choose j},\qquad j=0,\ldots,2r-1,$$into their positive and negative parts and normalize each by $2^{2r-2}$. Each part is an $r$-atomic probability law. The finite-difference identity makes their moments, and hence cumulants, identical through order $2r-2$, while their order-$(2r-1)$ moment gap is
$$\frac{1}{2^{2r-2}}\sum_{j=0}^{2r-1}(-1)^j{2r-1\choose j}(j+1)^{2r-1} =-\frac{(2r-1)!}{2^{2r-2}}\ne0.$$For $r=4$, the certificate recovers a four-atom law with maximum support and weight errors 1.76e-12 and 5.96e-13. Its exact sharpness pair agrees through order six and has order-seven moment and cumulant gap -78.75. This result is purely about exact identification: Hankel and Vandermonde systems can become arbitrarily ill-conditioned as atoms collide or weights vanish, so it does not assert uniform stable recovery.
Exact local conditioning geometry
The instability boundary has an exact algebraic description. For an exactly $r$-atomic law, eliminate the last weight by $w_r=1-\sum_{j<r}w_j$ and define the square parameter-to-moment map
$$\Phi(w_1,\ldots,w_{r-1},x_1,\ldots,x_r)=(m_1,\ldots,m_{2r-1}).$$On the ordered interior $w_j>0$ and $x_1<\cdots<x_r$, its Jacobian satisfies
The moment-to-cumulant transformation is unit triangular, so the parameter-to-factorial-cumulant map has the same determinant.
To prove the identity, temporarily retain all $r$ weights and include $m_0$. The $j$th weight and atom columns of the full Jacobian are respectively
$$v(x_j)=(1,x_j,\ldots,x_j^{2r-1})^\top,\qquad w_jv'(x_j).$$After interlacing these columns, this is a weighted confluent Vandermonde matrix, whose determinant is the fourth power of the ordinary Vandermonde product times $\prod_jw_j$. Changing coordinates from the weights to $(w_1,\ldots,w_{r-1},m_0)$ and expanding along $m_0=1$ leaves the displayed reduced determinant. The classical inverse and conditioning analysis of these matrices goes back to Gautschi (1962).
The inverse-function theorem now gives a locally analytic inverse everywhere in the ordered interior. It also yields an explicit differential bound.
Put $d=2r-1$, suppose $0\le x_j\le R$, $w_j\ge w_*$, and $x_{j+1}-x_j\ge\delta$, and set $A_R=\max\{1,R^{2r-1}\}$. Every entry of $D\Phi$ is bounded by $dA_R$, so
$$\|D\Phi\|_2\le d^2A_R,\qquad \sigma_{\min}(D\Phi) \ge {w_*^r\delta^{2r(r-1)}\over(d^2A_R)^{d-1}}.$$Thus separated atoms with weights bounded away from zero have uniformly bounded infinitesimal inverse sensitivity. The determinant formula also pinpoints both degeneracies: it vanishes linearly with a disappearing weight and to fourth order for each colliding pair. This is a local parameter-stability statement, not a claim of total-variation stability for unrestricted mixing measures.
The certificate evaluates the reduced Jacobian directly for two through five atoms. Its maximum relative determinant error is 2.03e-11; a centered directional derivative agrees within 8.83e-09; and after removing the noncolliding factors, a shrinking pair has measured volume-collapse order 4.000000001.
Identification is not stable inversion
Injectivity is qualitative. It does not make recovery of an unrestricted mixing law stable in total variation. For two point-mass mixing laws $\delta_a$ and $\delta_b$,
$$d_{\rm TV}(\delta_a,\delta_b)=1\qquad(a\ne b),$$whereas their count laws are $\operatorname{Pois}(a)$ and $\operatorname{Pois}(b)$. Their Hellinger affinity is
$$\sum_{k\ge0}\sqrt{p_a(k)p_b(k)} =\exp\!\left\{-\frac12(\sqrt a-\sqrt b)^2\right\},$$so
$$d_{\rm TV}(\operatorname{Pois}(a),\operatorname{Pois}(b)) \le \sqrt{1-e^{-(\sqrt a-\sqrt b)^2}}.$$For $0<a<b$, the likelihood ratio $p_a(k)/p_b(k)=e^{b-a}(a/b)^k$ crosses one once. Therefore the exact total variation is
$$d_{\rm TV}(\operatorname{Pois}(a),\operatorname{Pois}(b)) =F_a(k_*)-F_b(k_*),\qquad k_*=\left\lfloor\frac{b-a}{\log(b/a)}\right\rfloor.$$Thus even on a fixed compact intensity interval, taking $b\to a$ leaves mixing-law total variation equal to one while count-law total variation tends to zero. More precisely, at a noninteger $a$ and for sufficiently small $h>0$, the likelihood-ratio crossing is $k=\lfloor a\rfloor$, and
$$\frac{d_{\rm TV}(\operatorname{Pois}(a),\operatorname{Pois}(a+h))}{h} \longrightarrow \Pr\{\operatorname{Pois}(a)=\lfloor a\rfloor\}.$$There is no global Wasserstein rescue without an intensity bound. For integer $m$, the crossing of $\operatorname{Pois}(m)$ and $\operatorname{Pois}(m+1)$ is exactly $k=m$, so
$$d_{\rm TV}(\operatorname{Pois}(m),\operatorname{Pois}(m+1)) =F_m(m)-F_{m+1}(m) \sim\frac1{\sqrt{2\pi m}},$$although $W_1(\delta_m,\delta_{m+1})=1$. At $a=4.5$ and $h=10^{-5}$ the certificate gives $d_{\rm TV}/h=$ 0.189807515050, against the limit 0.189807620540. At $m=10^6$ it gives $\sqrt m\,d_{\rm TV}=$ 0.398942180666, against $1/\sqrt{2\pi}=$ 0.398942280401.
This does not contradict identifiability. It says that finite-sample recovery needs a weaker loss and/or structural restrictions such as bounded support and smoothness.
The nonparametric Poisson-mixture estimation theory of Roueff and Rydén (2005) makes such regularity assumptions explicit. For a fixed finite-state intensity model, $\Lambda_T$ is bounded; that removes the escaping-mass example but not the total-variation discontinuity created by moving atoms.
A finite-sample impossibility theorem
The discontinuity implies more than the absence of a convenient inverse bound. Suppose $N_1,\ldots,N_n$ are iid mixed-Poisson observations with unknown mixing law $\mu$ supported on a fixed compact interval containing more than one point. For any estimator $\widehat\mu_n$, including a randomized estimator,
Thus the unrestricted mixing law is not uniformly consistently estimable in total variation, even though it is identified by the population count law and even though its support is compact.
The proof is a two-point coupling argument. For any two mixing laws $\mu_0,\mu_1$, let $P_i$ be the corresponding one-count laws and put $R_i=\mathbb E_i d_{\rm TV}(\widehat\mu_n,\mu_i)$. A maximal coupling of $P_0^{\otimes n}$ and $P_1^{\otimes n}$, using the same estimator randomization when the samples agree, and the triangle inequality give
$$\max(R_0,R_1)\ge {d_{\rm TV}(\mu_0,\mu_1)\over2} \{1-d_{\rm TV}(P_0^{\otimes n},P_1^{\otimes n})\}.$$Choose distinct point masses $\mu_0=\delta_a$ and $\mu_1=\delta_b$ inside the interval. Their distance is one, while the product count distance tends to zero as $b\to a$. Letting $b$ approach $a$ proves the displayed lower bound for every fixed $n$.
There is also an exact quantitative certificate. Take $a=4.5$, $b_n=a+1/n$, and even $n$.
Under the two hypotheses, the sufficient statistic $\sum_iN_i$ has laws $\operatorname{Pois}(na)$ and $\operatorname{Pois}(na+1)$; conditional on the sum, the allocation among the $n$ observations is the same multinomial law. Hence
$$d_{\rm TV}\{P_a^{\otimes n},P_{a+1/n}^{\otimes n}\} =F_{na}(na)-F_{na+1}(na) \sim {1\over\sqrt{2\pi an}}.$$| $n$ | product count TV | mixing-law TV risk lower bound |
|---|---|---|
| 10 | 0.059144045738 | 0.470427977131 |
| 100 | 0.018795883152 | 0.490602058424 |
| 1,000 | 0.005946750031 | 0.497026624985 |
| 10,000 | 0.001880621497 | 0.499059689251 |
| 1,000,000 | 0.000188063184 | 0.499905968408 |
At $n=10^6$, $\sqrt n$ times the product distance is $0.188063184068$, versus $1/\sqrt{2\pi a}=0.188063194516$. The lower bound concerns total-variation recovery of an unrestricted measure. It does not rule out weak-loss consistency, parametric finite-state recovery under separation, or density estimation on smoothness classes; those are precisely the kinds of restrictions used by Roueff and Rydén.
A local Wasserstein lower bound
Compact support does make Wasserstein loss qualitatively weaker than total variation, but it does not permit a uniformly faster-than-parametric rate. Let $\mathcal M_{[4,5]}$ be all probability laws on $[4,5]$ and define
$$R_n^{(1)}=\inf_{\widehat\mu_n}\sup_{\mu\in\mathcal M_{[4,5]}} \mathbb E_\mu W_1(\widehat\mu_n,\mu).$$For any $a$ in the interior of the interval and any fixed $h>0$, compare $\mu_{0,n}=\delta_a$ with $\mu_{1,n}=\delta_{a+h/\sqrt n}$. They lie in the class for all sufficiently large $n$ and have $W_1(\mu_{0,n},\mu_{1,n})=h/\sqrt n$. The same two-point coupling inequality used above gives
$$\sqrt n R_n^{(1)}\ge {h\over2} \left[1-d_{\rm TV}\{\operatorname{Pois}(na), \operatorname{Pois}(na+h\sqrt n)\}\right].$$This is a restriction to the point-mass submodel, so it is a valid lower bound for the full class. It is the classical two-point testing reduction of Le Cam, here with the distance and testing affinity evaluated exactly.
Put $z=h/(2\sqrt a)$. The one-crossing formula has cutoff
$$k_n=\left\lfloor {h\sqrt n\over \log(1+h/(a\sqrt n))}\right\rfloor =na+{h\over2}\sqrt n+O(1).$$Applying the normal limit to the two Poisson distribution functions at this cutoff yields
$$d_{\rm TV}\{\operatorname{Pois}(na),\operatorname{Pois}(na+h\sqrt n)\} \longrightarrow 2\Phi(z)-1,$$and therefore
The right side is optimized by $h=2\sqrt a\,z_*$, where $z_*$ is the unique positive root of $\Phi(-z)=z\phi(z)$. At $a=4.5$,
$$z_*=0.751791524694,\qquad h_*=3.189581310896,\qquad h_*\Phi(-z_*)=0.721126760493.$$| $n$ | product count TV | $\sqrt n$ times $W_1$ risk lower bound |
|---|---|---|
| 100 | 0.540059074293 | 0.733509490376 |
| 1,000 | 0.545315549629 | 0.725126512629 |
| 10,000 | 0.547025014563 | 0.722400273927 |
| 100,000 | 0.547570406399 | 0.721530488124 |
| 1,000,000 | 0.547743464023 | 0.721254497442 |
The final column tends to $0.721126760493$. This proves only a lower bound: it rules out uniform $o(n^{-1/2})$ Wasserstein-1 recovery, even on the point-mass submodel, but it does not claim that the unrestricted mixing class has an $O(n^{-1/2})$ estimator.
A nonparametric logarithmic obstruction
The unrestricted compact class is substantially harder than its point-mass submodel. More generally, for $a\ge0$ and $B>0$, put $\mathcal M_{[a,a+B]}$ for all laws on that intensity interval, and let $R_n^{(1)}(a,B)$ denote the same minimax risk with this class. Then
Thus no estimator has worst-case $W_1$ risk $o((\log\log n)/\log n)$ on the unrestricted class.
The construction is explicit. Fix an integer $L\ge2$, let $J\sim\operatorname{Bin}(L,1/2)$, put $h=B/L$, and define
$$\mu_{L,+}=\mathcal L(a+hJ\mid J\ {\rm even}),\qquad \mu_{L,-}=\mathcal L(a+hJ\mid J\ {\rm odd}).$$The finite-difference identity
$$\sum_{j=0}^L(-1)^j{L\choose j}(a+hj)^r=0,\qquad 0\le r<L,$$shows that the two laws have identical first $L-1$ moments. Yet on $[a+kh,a+(k+1)h)$ their CDF difference is
$$2^{1-L}\sum_{j=0}^k(-1)^j{L\choose j} =2^{1-L}(-1)^k{L-1\choose k},$$so summing the absolute areas gives the exact separation
$$W_1(\mu_{L,+},\mu_{L,-})={B\over L}.$$The induced mixed-Poisson count laws are nevertheless exponentially close in $L$. To see this without an analytic inversion bound, write a count as
$$N=Z+\sum_{i=1}^L B_iX_i,$$where $Z\sim\operatorname{Pois}(a)$, the $B_i$ are fair Bernoulli variables conditioned on even or odd parity, and the independent $X_i\sim\operatorname{Pois}(h)$. Whenever some $X_i=0$, flipping the first corresponding $B_i$ changes parity without changing $N$ and maps the uniform even-parity law bijectively to the uniform odd-parity law. Therefore, for the one-count laws $P_{L,+},P_{L,-}$,
$$d_{\rm TV}(P_{L,+},P_{L,-})\le\Pr\{X_1>0,\ldots,X_L>0\} =(1-e^{-B/L})^L,$$and product coupling gives
$$d_{\rm TV}(P_{L,+}^{\otimes n},P_{L,-}^{\otimes n}) \le n(1-e^{-B/L})^L.$$Le Cam's two-point metric inequality now yields, for every $L\ge2$,
$$R_n^{(1)}(a,B)\ge {B\over2L} \left[1-n(1-e^{-B/L})^L\right].$$For fixed $\epsilon>0$, take $L=\lceil(1+\epsilon)\log n/\log\log n\rceil$. Since $n(1-e^{-B/L})^L\le n(B/L)^L\to0$, the scaled lower limit is at least $B/[2(1+\epsilon)]$; letting $\epsilon$ decrease to zero proves the boxed result.
The certificate below first checks exact moment matching, exact $W_1$, and the count-law coupling for $[a,a+B]=[4,5]$. It then optimizes the displayed finite-$n$ lower bound over integer $L$.
| $L$ | exact $W_1$ | count TV | coupling upper bound |
|---|---|---|---|
| 4 | 0.250000000000 | 3.457e-05 | 2.394e-03 |
| 8 | 0.125000000000 | 6.622e-11 | 3.634e-08 |
| 12 | 0.083333333333 | 1.910e-16 | 6.826e-14 |
| $n$ | optimizing $L$ | $W_1$ risk lower bound | $(\log n/\log\log n)$ times bound |
|---|---|---|---|
| 10^3 | 6 | 8.224244763840e-02 | 0.293955061611 |
| 10^6 | 8 | 6.022869981419e-02 | 0.316891157136 |
| 10^12 | 12 | 3.882237293321e-02 | 0.323206234153 |
| 10^24 | 20 | 2.485509024714e-02 | 0.342351323617 |
| 10^48 | 33 | 1.508024672754e-02 | 0.354229068245 |
| e^1000 | 192 | 2.604040987939e-03 | 0.376973543904 |
The scaled certificate approaches its proved asymptotic lower constant $1/2$ slowly. This ordinary, unsmoothed $W_1$ obstruction is consistent with the smoothness-class theory of Roueff and Rydén. For support $[0,B]$, Miao et al. prove the matching upper order for the NPMLE and a matching minimax lower order; Lim and Han obtain a nearly root-$n$ rate only after replacing ordinary transport by Gaussian-smoothed optimal transport.
A matching moment-estimator upper rate
The upper order can also be recovered by a direct estimator on any fixed interval $[a,a+B]$. Put $M=a+B$ and, from iid counts $N_1,\ldots,N_n$, define the unbiased normalized factorial-moment estimates
$$\widehat m_k={1\over n}\sum_{i=1}^n{(N_i)_k\over M^k},\qquad 1\le k\le L.$$Choose any probability law on $[a,M]$ minimizing the largest moment residual,
$$\widehat\mu_{n,L}\in\arg\min_{\nu\in\mathcal P([a,M])} \max_{1\le k\le L}\left|\int(\theta/M)^k\,d\nu(\theta)-\widehat m_k\right|.$$A minimizer exists by weak compactness; the compact-valued argmin correspondence has a Borel graph, so fix any measurable selection. If $\epsilon_L=\max_{k\le L}|\widehat m_k-m_k|$, comparison with the true law gives a discrepancy of at most $2\epsilon_L$ in every fitted moment.
For every $n,L\ge1$, the following nonasymptotic bound is explicit up to the universal Jackson constant $C_J$:
To prove it, use Kantorovich duality and subtract the value of each Lipschitz test function at $a$. Extend it constantly to $[0,a]$, rescale to $[0,1]$, and apply Jackson's polynomial approximation theorem. A degree-$L$ polynomial approximates the test function within $C_JM/L$.
In the shifted Chebyshev basis $q_j(x)=T_j(2x-1)$, the recurrence $q_{j+1}=(4x-2)q_j-q_{j-1}$ implies that the monomial coefficient $\ell^1$ norm of $q_j$ is at most $7^j$. The Chebyshev coefficients of a bounded polynomial are at most twice its sup norm, so the approximant's monomial coefficient norm is at most $3(B+C_JM)7^L$.
The stochastic term follows from the exact falling-factorial product identity
$$(N)_k^2=\sum_{j=0}^k{k\choose j}^2j!(N)_{2k-j}.$$Since $N\mid\theta\sim\operatorname{Pois}(\theta)$ and $\theta\le M$, it gives
$$\mathbb E\epsilon_L\le { (L+1)^{3/2}\over\sqrt n} \{2\sqrt{A_ML}\}^{L}.$$Combining the approximation and moment errors proves the displayed bound. For any fixed $0<c<1$, take $L_n=\lfloor c\log n/\log\log n\rfloor$.
The logarithm of the stochastic factor is $-\tfrac12(1-c)\log n+o(\log n)$, while the approximation term is $O(\log\log n/\log n)$. Consequently,
Together with the preceding lower theorem, this proves that the unrestricted compact minimax rate is exactly $\Theta((\log\log n)/\log n)$ for every fixed $a\ge0$ and $B>0$. The certificate checks the factorial second-moment identity through order eight to relative error 2.89e-15 and verifies the coefficient recurrence. For $M=5$ and $c=1/2$, the derived stochastic factor decays as follows.
| $n$ | $L_n$ | log stochastic factor |
|---|---|---|
| $e^{100}$ | 10 | -8.499658 |
| $e^{300}$ | 26 | -34.085499 |
| $e^{1000}$ | 72 | -149.592203 |
| $e^{3000}$ | 187 | -509.532961 |
The compact inverse has an optimal logarithmic modulus
The statistical upper bound also yields a population stability theorem. For a mixing law $\mu$ on $[a,a+B]$, write $P_\mu$ for its one-count mixed-Poisson law and define
$$\omega_{a,B}(\delta)=\sup\{W_1(\mu,\nu): d_{\rm TV}(P_\mu,P_\nu)\le\delta\}.$$Fix one measurable version of the moment estimator above. Maximally couple $n$ iid counts from $P_\mu$ and $P_\nu$, and apply the same estimator to the coupled samples. They agree with probability at least $(1-\delta)^n$.
On the complementary event, two estimator outputs supported on $[a,a+B]$ are at Wasserstein distance at most $B$. The triangle inequality therefore gives
$$\omega_{a,B}(\delta)\le 2R_{n,L}+B\{1-(1-\delta)^n\},$$where $R_{n,L}$ is the preceding worst-case estimator bound. In particular, with $M=a+B$ and $A_M=\max(1,M^{-1})$,
This holds for every positive integer $n,L$. Taking $n=\lfloor\delta^{-1/2}\rfloor$ and $L=\lfloor c\log n/\log\log n\rfloor$ for any fixed $0<c<1$ makes the last two terms negligible relative to $1/L$, and proves
$$\omega_{a,B}(\delta)=O\!\left( {\log\log(1/\delta)\over\log(1/\delta)}\right).$$The order cannot be improved. For the even/odd binomial pair used in the minimax lower bound,
$$W_1(\mu_{L,+},\mu_{L,-})={B\over L},\qquad d_{\rm TV}(P_{L,+},P_{L,-})\le \delta_L=(1-e^{-B/L})^L.$$Hence $\omega_{a,B}(\delta_L)\ge B/L$. More generally, for every sufficiently small $\delta$, choosing $L$ of order $\log(1/\delta)/\log\log(1/\delta)$ makes $\delta_L\le\delta$ and gives the reverse order. Therefore
This is a positive compact-support stability statement in $W_1$, not in total variation. It complements the minimax theorem of Miao et al.: the same logarithmic ill-posedness governs both population inversion and unrestricted statistical recovery.
On $[4,5]$, the certificate's lower scaled separation reaches 0.781716448592 at $L=1024$ on its slow approach to one. At $\log(1/\delta)=10{,}000$, the upper construction selects $L=293$; the logarithms of its stochastic and sample-disagreement terms are -886.085546 and -5000.000000.
The point-mass submodel has the parametric rate
The preceding lower bound is rate-sharp on the submodel that generated it. Define
$$R_{n,\delta}^{(1)}=\inf_{\widehat\mu_n}\sup_{4\le\lambda\le5} \mathbb E_\lambda W_1(\widehat\mu_n,\delta_\lambda).$$When the truth is $\delta_\lambda$, the observations are iid $\operatorname{Pois}(\lambda)$. Put $S_n=\sum_iN_i$, project $S_n/n$ onto $[4,5]$, and put a point mass at the projected value. Since projection cannot increase distance to $\lambda$ and $S_n\sim\operatorname{Pois}(n\lambda)$,
$$\mathbb E_\lambda W_1(\widehat\mu_n,\delta_\lambda) \le {1\over n}\mathbb E|S_n-n\lambda| =2\lambda\Pr\{\operatorname{Pois}(n\lambda)=\lfloor n\lambda\rfloor\} \le\sqrt{\lambda\over n}.$$The equality follows by splitting the centered Poisson variable at its mean and using $k p_\mu(k)=\mu p_\mu(k-1)$; the inequality is Cauchy–Schwarz. Combining this estimator with the local two-point lower bound gives the rigorous sandwich
So $R_{n,\delta}^{(1)}=\Theta(n^{-1/2})$. At the certificate point $\lambda=4.5$, projection changes the interior risk only by exponentially small tails, and the unprojected sample-mean benchmark has the sharper pointwise limit
$$\sqrt n\,\mathbb E_{4.5}|S_n/n-4.5|\longrightarrow \sqrt{9/\pi}=1.692568750643.$$| $n$ | exact sample-mean risk | $\sqrt n$ times risk |
|---|---|---|
| 10 | 0.534246988258 | 1.689437315979 |
| 100 | 0.169225534106 | 1.692255341057 |
| 1,000 | 0.053522732314 | 1.692537407073 |
| 10,000 | 0.016925656162 | 1.692565616172 |
| 100,000 | 0.005352371360 | 1.692568438025 |
| 1,000,000 | 0.001692568709 | 1.692568708891 |
This sample-mean upper bound applies only to the one-parameter family of point masses. An arbitrary law in $\mathcal M_{[4,5]}$ cannot be estimated by reducing it to its mean; the moment estimator above attains the slower unrestricted logarithmic rate.
What common shocks add
The correction is exact. Index independent Poisson event streams by the nonempty subsets $A\subseteq\{1,\ldots,d\}$ of coordinates that each event increments.
Conditional on their cumulative intensities $\Lambda_A$, put $N_j=\sum_{A\ni j}C_A$. Then
$$\log\mathbb E\prod_{j=1}^d(1+t_j)^{N_j} =\log\mathbb E\exp\left\{\sum_{A\ne\varnothing}\Lambda_A \left(\prod_{j\in A}(1+t_j)-1\right)\right\}.$$For two counts, write $\Lambda_0$ for the common-event intensity and $A=\Lambda_1+\Lambda_0$, $B=\Lambda_2+\Lambda_0$, $C=\Lambda_0$. Expanding the preceding identity through arbitrary bidegree $(r,s)$ gives the all-order identity
$$\boxed{\displaystyle \kappa^{(F)}_{rs}=\sum_{k=0}^{\min(r,s)} {r\choose k}{s\choose k}k!\, \kappa\!\left(A^{[r-k]},B^{[s-k]},C^{[k]}\right)}.$$Here the brackets denote repeated arguments of the joint cumulant; when only one argument remains, it is its expectation. The coefficient counts which $k$ derivatives in each coordinate strike the bilinear common-event term. In particular, through bidegree $(2,2)$,
$$\begin{aligned} \kappa^{(F)}_{11}&=\kappa(A,B)+\mathbb EC,\\ \kappa^{(F)}_{21}&=\kappa(A,A,B)+2\kappa(A,C),\\ \kappa^{(F)}_{12}&=\kappa(A,B,B)+2\kappa(B,C),\\ \kappa^{(F)}_{22}&=\kappa(A,A,B,B)+4\kappa(A,B,C)+2\kappa(C,C). \end{aligned}$$Thus mixed factorial cumulants identify marginal-intensity dependence only after the common-shock terms are modeled or ruled out. The sharp counterexample has deterministic $C=cT$ and no idiosyncratic intensity: $N_1=N_2\sim\operatorname{Poisson}(cT)$.
The cumulative intensities have zero covariance, but $\kappa^{(F)}_{11}=cT$. At $c=0.8$ and $T=1.3$, the certificate obtains $1.04000000$.
| mixed order | factorial count | common-shock formula |
|---|---|---|
| (1,1) | 0.38593131 | 0.38593131 |
| (2,1) | 1.16166229 | 1.16166229 |
| (1,2) | -0.56062195 | -0.56062195 |
| (2,2) | 0.22544292 | 0.22544292 |
Arbitrary integer marks
The unit-jump restriction is unnecessary. Let each common event carry an iid nonnegative integer mark $J=(J_1,J_2)$, independent of the cumulative intensities and of the other marks.
Conditional on the common cumulative intensity $C$, the number of marked events is Poisson with mean $C$. If $\Lambda_1,\Lambda_2$ are the idiosyncratic cumulative intensities, then the exact factorial cumulant generating function is
$$H(t,u)=\log\mathbb E\exp\!\left\{t\Lambda_1+u\Lambda_2 +C\left(\mathbb E[(1+t)^{J_1}(1+u)^{J_2}]-1\right)\right\}.$$Put $\mu_{ab}=\mathbb E[(J_1)_a(J_2)_b]$, where $(j)_a$ is a falling factorial, and define the integrated-rate variables
$$W_{10}=\Lambda_1+\mu_{10}C,\qquad W_{01}=\Lambda_2+\mu_{01}C,\qquad W_{ab}=\mu_{ab}C\quad(a+b\ge2).$$Take $r$ labelled symbols of type 1 and $s$ of type 2. For a block $B$ of a set partition, let $a_B,b_B$ be its numbers of the two symbol types. The all-order marked theorem is
This is the multivariate logarithmic Faà di Bruno formula applied to $H$. It requires the displayed falling-factorial mark moments and the corresponding integrated-rate cumulants to be finite. For example,
$$\begin{aligned} \kappa^{(F)}_{11}&=\kappa(W_{10},W_{01})+\mathbb EW_{11},\\ \kappa^{(F)}_{21}&=\kappa(W_{10},W_{10},W_{01}) +\kappa(W_{20},W_{01})+2\kappa(W_{10},W_{11})+\mathbb EW_{21}. \end{aligned}$$When $J=(1,1)$ almost surely, every $\mu_{ab}$ vanishes except those with $a,b\le1$. Only singleton blocks and disjoint type-1/type-2 pairs survive, and the partition formula reduces exactly to the preceding ${r\choose k}{s\choose k}k!$ matching formula. Thus larger or asymmetric common marks do not invalidate factorial-cumulant identification; they change the shared-shot-noise correction through their factorial moments.
Regime-dependent mark laws
The iid mark law may be replaced by a law that depends on the hidden regime at the event time. Write $c_i$ for the common-event rate and $\mu_{ab}(i)=\mathbb E[(J_1)_a(J_2)_b\mid Y_t=i]$. Conditional on the complete regime path, the exact factorial cumulant generating function becomes
$$H(t,u)=\log\mathbb E\exp\!\left\{t\Lambda_1+u\Lambda_2+ \int_0^T c_{Y_v}\left(M_{Y_v}(t,u)-1\right)\,dv\right\},$$where $M_i(t,u)=\mathbb E[(1+t)^{J_1}(1+u)^{J_2}\mid Y=i]$. Therefore the same partition theorem holds after replacing the variables above by
$$\begin{aligned} W_{10}&=\Lambda_1+\int_0^T c_{Y_v}\mu_{10}(Y_v)\,dv,\\ W_{01}&=\Lambda_2+\int_0^T c_{Y_v}\mu_{01}(Y_v)\,dv,\\ W_{ab}&=\int_0^T c_{Y_v}\mu_{ab}(Y_v)\,dv,\qquad a+b\ge2. \end{aligned}$$This is a finite-state Markov additive process in the sense of Çinlar (1972). The condition is pathwise: marks are conditionally independent given the regime path and their law at an event depends only on the contemporaneous regime. It does not cover dependence between different event marks beyond that hidden-state dependence.
The certificate obtains the factorial-count and integrated-intensity columns independently from the regime/count master equation and a polynomial Feynman–Kac hierarchy. It checks the univariate identity through order four and the bivariate identity through bidegree $(2,2)$ for a nonreversible three-state chain. The mixed calculation agrees within $5.3\times10^{-14}$, with omitted count mass bounded by $1.6\times10^{-47}$.
A separate master equation with simultaneous $(1,1)$ jumps checks the common-shock formula through every mixed order $(r,s)$ with $1\leq r,s\leq3$ within $7.9\times10^{-12}$; at $(3,3)$ the two independent values are 3.05155621 and 3.05155621. A second marked master equation uses six mark vectors, including $(3,1)$ and $(1,3)$, and agrees with the marked partition theorem through bidegree $(3,3)$ within $9.6\times10^{-10}$; the independent values of $\kappa^{(F)}_{33}$ are 1.41746379 and 1.41746379, with omitted mass below $8.7\times10^{-49}$. Substituting the degenerate mark $(1,1)$ recovers the matching formula within $1.1\times10^{-11}$.
A third master equation uses a different six-point mark distribution in every regime. It agrees with the state-dependent partition formula through bidegree $(3,3)$ within $6.5\times10^{-10}$; at $(3,3)$ the independent values are -1.36187430 and -1.36187430, and omitted mass is below $1.4\times10^{-44}$. The partition calculation follows the joint-cumulant method of Leonov and Shiryaev (1959).
The certificate also measures second-order decay of the univariate omitted boundary term. The conditioning argument is the defining construction of a Cox process, specialized here to the Markov-modulated Poisson process. The common-component construction is the classical bivariate Poisson model of Holgate (1964); the arbitrary-mark construction is a multivariate compound-Poisson law in the sense of Feller (1943).
What the count identifies
Given the regime path the count is Poisson with mean $\Lambda_T = \int_0^T \ell_{y_s}\,ds$, so $\mathbb E[(1 + t)^{N_T}] = \mathbb E[e^{t\Lambda_T}]$: the factorial cumulant generating function of the count is the cumulant generating function of the integrated rate. Every factorial cumulant of the count equals the corresponding cumulant of $\Lambda_T$:
$$\kappa_2(N) - \kappa_1(N) = \kappa_2(\Lambda), \qquad \kappa_3(N) - 3\kappa_2(N) + 2\kappa_1(N) = \kappa_3(\Lambda), \qquad \kappa_4(N) - 6\kappa_3(N) + 11\kappa_2(N) - 6\kappa_1(N) = \kappa_4(\Lambda).$$These combinations strip out the Poisson shot noise and keep the fluctuations of the rate. The first is the overdispersion above, which is $2TK$ with $K$ the Green–Kubo integral of the rate up to a remainder bounded uniformly in $T$, as on the cumulants page; for two regimes the remainder is at most $\varepsilon^2\tilde\ell^{\,2}/2$, the size of the memory term.
The third and fourth are new: they measure the skewness and kurtosis of the integrated rate, which a test for switching in count data would examine, as the likelihood page examines the residuals of a rate. For a stationary start with two symmetric regimes the third vanishes, and the fourth is negative because the rate is bounded. At $T = 1$, computing the factorial cumulants from the count law at the roots of unity and the cumulants of $\Lambda_T$ from its polynomial moment system, the two agree to the rounding of the count law:
| $\lambda$ | start | $\kappa_1(\Lambda)$ | $\kappa_2(\Lambda)$ | $\kappa_3(\Lambda)$ | $\kappa_4(\Lambda)$ | gap to the count |
|---|---|---|---|---|---|---|
| 5 | stationary | 4.5000 | 2.2050 | −0.0000 | −2.7015 | 7e-8 |
| 5 | busy start | 4.8500 | 2.0825 | −0.1713 | −2.4317 | 4e-7 |
| 10 | stationary | 4.5000 | 1.1638 | −0.0000 | −0.3939 | 8e-7 |
| 10 | busy start | 4.6750 | 1.1331 | −0.0214 | −0.3770 | 9e-7 |
| 20 | stationary | 4.5000 | 0.5972 | −0.0000 | −0.0528 | 4e-6 |
| 20 | busy start | 4.5875 | 0.5895 | −0.0027 | −0.0517 | 4e-6 |
| 40 | stationary | 4.5000 | 0.3024 | −0.0000 | −0.0068 | 2e-7 |
| 40 | busy start | 4.5437 | 0.3005 | −0.0003 | −0.0067 | 4e-9 |
Certificate: verify_counts.py.
Results
Moments of $N_1$, starting in the busy regime, from the numerical solution:
| switching rate | mean | variance | variance / mean |
|---|---|---|---|
| 5 | 4.8500 | 6.9325 | 1.4294 |
| 10 | 4.6750 | 5.8081 | 1.2424 |
| 20 | 4.5875 | 5.1770 | 1.1285 |
| 40 | 4.5437 | 4.8443 | 1.0661 |
The largest error over all probabilities after each order:
| switching rate | order 0 | order 1 | order 2 | order 3 | order 4 |
|---|---|---|---|---|---|
| 5 | 3.6e-2 | 3.7e-3 | 1.3e-3 | 1.2e-3 | 5.4e-4 |
| 10 | 2.1e-2 | 6.6e-4 | 2.8e-4 | 4.9e-5 | 2.4e-5 |
| 20 | 1.2e-2 | 2.2e-4 | 4.4e-5 | 3.5e-6 | 8.5e-7 |
| 40 | 6.0e-3 | 6.3e-5 | 6.5e-6 | 2.2e-7 | 2.7e-8 |