Notes from the book Think Stats by Allen Downey