Week 12-13: The Chi-Square Statistic: Tests for Goodness of Fit and Independence