Source: https://rfoudi.univ-lille1.fr/stat_cours/2017-18/S2 Doc seance/xMe discret.pdf