Statistics for Theoretical Astrophysics