Text and supporting code for Think Stats, 2nd Edition