Computes the probability mass function (PMF) or log-PMF for the zero-truncated Poisson (TP) distribution. This version excludes zeros and rescales the probabilities so that they sum to one over positive counts only.
Details
The zero-truncated Poisson probability for an observation \(y > 0\) is:
$$
P(Y = y \mid Y > 0) = \frac{P(Y = y)}{1 - P(Y = 0)}
$$
where \(P(Y = y)\) and \(P(Y = 0)\) are evaluated using the standard
Poisson PMF and CDF, respectively. The function uses
dpois and ppois internally.
This function automatically vectorizes inputs so that each probability corresponds elementwise to the provided parameter values.