The gain function is what one would expect being greater than one to the left of the peak and less than one on the right where the distribution steadily decreases. Where the slope of the plot of logN approximately a constant the ratio of the consecutive number of earthquakes would be the same and one would expect g to be a flat line for these magnitudes. In the plot below the solid line represents the g values computed from the polynomial and the points are the computed ratios for the consecutive number of earthquakes and are a check on the results.
The fraction of states, r, for which there is an earthquake is 1/2 at the peak as one would expect since g = 1 at the peak. r(1+g)=1. I borrowed the term gain for consecutive ratios from the analogy with the ratio of the input and output of a feedback amplifier. An amplifier is stable if the gain is not -1 which is the case for earthquakes being whole numbers. So the earthquake mechanism is probably stable too. One would expect any fluctuations to be damped out.