Statistics for Cosmology and Particle Astrophysics