https://5dok.net/document/myjlx1mz-two-phase-behaviour-in-sequence-of-random-variables.html