Fixed notes from Prof Brian Ripley