Compute Population Stability Index (PSI) across two bin count/proportion arrays:
$$\text{PSI} = \sum_{i=1}^{B} (p_i - q_i) \ln\left(\frac{p_i}{q_i}\right)$$
applying Laplace smoothing $\epsilon$ (1e-4 by default) to zero or near-zero bins
and normalizing both distributions to sum to 1.0.
Compute Population Stability Index (PSI) across two bin count/proportion arrays: $$\text{PSI} = \sum_{i=1}^{B} (p_i - q_i) \ln\left(\frac{p_i}{q_i}\right)$$ applying Laplace smoothing $\epsilon$ (
1e-4by default) to zero or near-zero bins and normalizing both distributions to sum to1.0.