mixle.utils.automatic.detectors.tweedie module¶
Tweedie (compound Poisson-Gamma, 1 < p < 2) continuous candidate.
The Tweedie signature is unmistakable: non-negative data with a genuine point mass at exactly zero
plus a strictly-positive continuous part (E[Y] = mu, Var[Y] = phi*mu**p). That zero-inflated
non-negative support is the tight gate – it excludes Gaussian (has negatives) and the exponential /
gamma family (no exact-zero atom), so this detector only competes on data that genuinely looks like a
compound Poisson-Gamma.