Bayesian Methods For Astrophysics And Particle Physics