An introduction to statistical finance