Use the p-value to determine whether to reject or fail to reject the null hypothesis, which states that the variables are independent.
Chi-Square | DF | P-Value | |
---|---|---|---|
Pearson | 11.788 | 4 | 0.019 |
Likelihood Ratio | 11.816 | 4 | 0.019 |
In these results, the p-value is 0.019. Because the p-value is less than α, you must reject the null hypothesis. You can conclude that the variables are associated.
The observed count is the actual number of observations in a sample that belong to a category.
The expected count is the frequency that would be expected in a cell, on average, if the variables are independent. Minitab calculates the expected counts as the product of the row and column totals, divided by the total number of observations.
By looking at the differences between the observed cell counts and the expected cell counts, you can see which variables have the largest differences, which may indicate dependence. You can also compare the standardized residuals to see which variables have the largest difference between the expected counts and the actual counts relative to sample size.
1st shift | 2nd shift | 3rd shift | All | |
---|---|---|---|---|
1 | 48 | 47 | 48 | 143 |
56.08 | 46.97 | 39.96 | ||
-1.0788 | 0.0050 | 1.2726 | ||
2 | 76 | 47 | 32 | 155 |
60.78 | 50.91 | 43.31 | ||
1.9516 | -0.5476 | -1.7184 | ||
3 | 36 | 40 | 34 | 110 |
43.14 | 36.13 | 30.74 | ||
-1.0867 | 0.6443 | 0.5889 | ||
All | 160 | 134 | 114 | 408 |
In this cross tabulation table, the cell count is the first number in each cell, the expected count is the second number in each cell, and the standardized residual is the third number in each cell. In these results, the expected count and the observed count are the largest for the 1st shift with Machine 2, and the standardized residual is also the largest.