Kullback–Leibler divergence
The "G"-test statistic is proportional to the Kullback–Leibler divergence of the theoretical distribution from the empirical distribution: