Studying Distant Galaxies: A Handbook Of Methods And Analyses