Statistics exercises, based on http://arxiv.org/pdf/1008.4686v1.pdf