Source: https://www.math.univ-toulouse.fr/~san/PY0106X_stat_exercices.pdf