Chi-Square Goodness-of-Fit Test
The chi-square goodness-of-fit-test is used to test whether the observed proportions for a categorical variable differ from hypothesized proportions. It is based on the principle, that two variables are not related. For example, let's suppose that students of some university have a choice of four elective foreign languages to study. The faculty predicts that Spanish, German, French and Chinese would have equal popularity of 25% each. After running this test, a p value will justify whether to reject the predicted null hypothesis. A chi-square goodness-of-fit test will evaluate whether the observed results differ from these hypothesized proportion. In comparison to the chi-square ...