Cut a reference sample of a variable into bins (here its deciles) with shares , and let be the shares of a new sample in the same bins. The population stability index is
the symmetrised Kullback–Leibler divergence between the two binned distributions (empty bins are floored at a small share).