Statistical Methods in Cosmology