https://en.m.wikipedia.org/wiki/Large_deviations_theory https://en.m.wikipedia.org/wiki/Extreme_value_theory