## Chi-Square Distributions and Goodness of Fit

Read these sections, which discuss chi-square distributions and how to test the goodness of fit. While these sections are optional, studying them may help you if you wish to take the Saylor Direct Credit exam for this course.

### One-Way Tables (Testing Goodness of Fit)

#### Questions

**Question 1 out of 2.**

You buy a bag of 40 lollipops. This bag has 4 different colors of lollipops in it. You are curious if all 4 colors were equally likely to be put in the bag or whether certain colors were more likely. If all four colors were equally likely to be put in the bag, what would be the expected number of lollipops of each color?

_________

**Question 2 out of 2.**

Suppose now that you open the lollipops to find out that you have 8 red, 5 green, 12 orange, and 15 blue. Test the null hypothesis that the colors of the lollipops occur with equal frequency. What is the Chi Square value you get?

_________