Unit 4 quiz and lab.
inference() function and other supporting functions provided in the course.