An introduction to data analysis