Source: http://fsjes.usmba.ac.ma/cours/touijar/S6-Econometrie-ECO-GEST-2016.pdf