Source: https://snv.univ-tlemcen.dz/assets/uploads/SNV/PDF/Cours/Cours_Biostat_Chapitre1_L2_19_20.pdf