Example of Chi-Square Goodness-of-Fit Test

A buyer for a t-shirt shop wants to compare the proportion of t-shirts of each size that are sold to the proportion that were ordered. The buyer counts the number of t-shirts of each size that are sold in a week.

The buyer performs a chi-square goodness-of-fit test to determine whether the proportions of t-shirt sizes sold are consistent with the proportion of t-shirt sizes ordered.

  1. Open the sample data, TshirtSales.MTW.
  2. Open the Chi-Square Goodness-of-Fit Test dialog box.
    • Mac: Statistics > Tables > Chi-Square Goodness-of-Fit
    • PC: STATISTICS > Chi-Square Goodness-of-Fit
  3. From the data drop-down list, select Summarized data in a column.
  4. In Observed counts, enter Counts.
  5. In Category names, enter Size.
  6. In Test, select Specified proportions.
    Minitab shows the categories from your worksheet.
  7. Under Proportion, enter 0.1 for Small, 0.2 for Medium, 0.4 for Large, and 0.3 for Extra Large.
  8. Click OK.

Interpret the results

In these results, the observed count for each t-shirt size is not very different from the expected count. The break-down by size is as follows:
  • 25 Small shirts were sold, while 22.5 were expected to be sold.
  • 41 Medium shirts were sold, while 45 were expected to be sold.
  • 91 Large shirts were sold, while 90 were expected to be sold.
  • 68 Extra Large shirts were sold, while 67.5 were expected to be sold.
The largest difference between observed and expected sales is in the Medium category. Consequently, this category has the largest contribution to the chi-square statistic, 0.36.

The overall chi-square statistic is 0.65 and has a p-value of 0.8853. Because the p-value is greater than the significance level of 0.05, the buyer fails to reject the null hypothesis. The buyer concludes that there is not a significant difference between the observed t-shirt sales and the expected t-shirt sales.

Observed and Expected Counts
Category
Observed
Test Proportion
Expected
Contribution to Chi-Sq
Chi-Square Test
N
DF
Chi-Sq
P-Value
By using this site you agree to the use of cookies for analytics and personalized content.  Read our policy