Source: http://www.biostat.ulg.ac.be/pages/statq1/correction_examen_session_2.pdf