Material for my lectures at the ESAC statistics conference, Oct 27-31 2014