# 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.

## 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, then you can use this bar chart to determine which categories have the largest difference between observed and expected values.

## 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 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.65. The largest contribution comes from size Medium shirts, and the smallest contribution comes from the Extra Large category.

## 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.

## N

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

### Interpretation

Usually, with a larger sample size, your statistical estimates are more precise.

## 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.

## 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.8853. Because the p-value is greater than the significance level of 0.05, you fail to reject the null hypothesis. Therefore, you cannot conclude that the observed proportions are significantly different from the specified proportions.
By using this site you agree to the use of cookies for analytics and personalized content.  Read our policy