This is a summary (or probably rather, a reformulation) of the script from ETH Zurich's class Computational Statistis from the seminar of statistics. Pull requests are warmly welcomed, even if it's just typos.