Describe the chi-square goodness-of-fit test.
Provide a detailed explanation of what this test measures, and how it is similar to and different from the independent t-test and the chi-square test of independence.
How do you know when to use one analysis over the other? Provide a real-world example.