Interpret all statistics and graphs for Chi-Square Goodness-of-Fit Test

Find definitions and interpretation guidance for every statistic and graph that is provided with the chi-square goodness-of-fit test.

Chart of contribution to the chi-square value

This bar chart plots each category's contribution to the overall chi-square statistic. You can choose a chart that orders the categories by contribution, from largest contribution to smallest contribution.

Interpretation

Categories with a large difference between observed and expected values make a larger contribution to the overall chi-square statistic.

This bar chart indicates that the largest contribution to the chi-square statistic is in the Medium category.

Chart of observed and expected values

Use a bar chart that plots the observed and expected values for each category to determine whether there is a difference in a particular category.

If you determined that the difference between the observed and expected counts is statistically significant, you can use this bar chart to determine which categories have the largest difference between observed and expected values.

This bar chart indicates that the observed values are very similar to the expected values for each category. Thus, the bar chart visually confirms what the p-value indicates — that you cannot conclude that the observed proportions are significantly different from the specified proportions.

Chi-Sq and contribution to Chi-Sq

Use the individual category contributions to quantify how much of the total chi-square statistic is attributable to each category's difference between observed and expected values.

Minitab calculates each category's contribution to the chi-square statistic as the square of the difference between the observed and expected values for a category, divided by the expected value for that category. The chi-square statistic is the sum of these values for all the categories.

Interpretation

Categories with a large difference between observed and expected values make a larger contribution to the overall chi-square statistic.

In these results, the contribution values from each category sum to the overall chi-square statistic, which is 0.648. The largest contribution comes from size Medium shirts, and the smallest contribution comes from the Extra Large category.

Observed and Expected Counts

CategoryObservedTest
Proportion
ExpectedContribution
to Chi-Square
Small250.122.50.277778
Medium410.245.00.355556
Large910.490.00.011111
Extra Large680.367.50.003704

Chi-Square Test

NDFChi-SqP-Value
22530.6481480.885

DF

The degrees of freedom for the chi-square goodness-of-fit test is the number of categories minus 1.

Interpretation

Minitab uses the degrees of freedom to determine the p-value. The more categories you have in your study, the more degrees of freedom you have.

In these results, the degrees of freedom (DF) is 3.

Chi-Square Test

NDFChi-SqP-Value
22530.6481480.885

N

N is the total sample size. N equals the sum of all the observed counts.

Interpretation

In these results, the total sample size (N) is 225.

Observed and Expected Counts

CategoryObservedTest
Proportion
ExpectedContribution
to Chi-Square
Small250.122.50.277778
Medium410.245.00.355556
Large910.490.00.011111
Extra Large680.367.50.003704

Chi-Square Test

NDFChi-SqP-Value
22530.6481480.885

Observed and expected values

The observed values are the actual number of observations in a sample that belong to a category.

The expected values are the number of observations that you would expect to occur, on average, if the test proportions were true. Minitab calculates the expected counts by multiplying the test proportions from each category by the total sample size.

Interpretation

You can compare the observed values and the expected values by using the output table or the bar chart.

In these results, the expected counts seem very close to the observed counts for all categories.

Observed and Expected Counts

CategoryObservedTest
Proportion
ExpectedContribution
to Chi-Square
Small250.122.50.277778
Medium410.245.00.355556
Large910.490.00.011111
Extra Large680.367.50.003704

P-value

The p-value is a probability that measures the evidence against the null hypothesis. Lower probabilities provide stronger evidence against the null hypothesis.

Use the p-value to determine whether to reject or fail to reject the null hypothesis, which states that the population proportions in each category are consistent with the specified values in each category.

Interpretation

To determine whether the observed values from the sample and expected values from the specified distribution are statistically different, compare the p-value to the significance level. Usually, a significance level (denoted as α or alpha) of 0.05 works well. A significance level of 0.05 indicates a 5% risk of incorrectly rejecting the null hypothesis.
P-value ≤ α: The observed data are statistically different from the expected values (Reject H0)
If the p-value is less than or equal to the significance level, you reject the null hypothesis and conclude that the data does not follow a distribution with certain proportions. Use your specialized knowledge to determine whether the difference is practically significant.
P-value > α: You cannot conclude that the observed data are statistically different from the expected values (Fail to reject H0)
If the p-value is larger than the significance level, you fail to reject the null hypothesis because you do not have enough evidence to conclude that the data do not follow the distribution with specified proportions. However, you cannot conclude that the distributions are the same. A difference might exist, but your test might not have enough power to detect it.

In these results, the p-value is 0.885. Because the p-value is greater than the chosen α value of 0.05, you fail to reject the null hypothesis. Therefore, you cannot conclude that observed proportions are significantly different from the specified proportions.

Chi-Square Test

NDFChi-SqP-Value
22530.6481480.885