What a Chi-Square Distribution Looks Like
In “Degrees of Freedom for a Two-Way Table,” you learned that a table’s dimensions determine its degrees of freedom. Those degrees of freedom do more than label the calculation: they identify the chi-square reference distribution used to assess a test statistic. Understanding the distribution’s shape helps you see why a statistic far to the right can count as evidence against a null hypothesis.
A chi-square statistic is a sum of cell contributions \((O-E)^2/E\). Each contribution is zero or positive, so the statistic cannot be negative. Its reference distribution therefore begins at zero. But a statistic can be much larger than zero if one or more observed counts differ substantially from their expected counts. This creates a tail extending to the right.
“Right-skewed” means that most of the curve’s area is toward the lower values, while a thinner tail stretches toward larger values. It does not mean that every value is close to zero. Nor does it mean the curve is symmetric. For small degrees of freedom, the peak is near zero and the right tail is pronounced.
As the degrees of freedom increase, the distribution’s center moves to the right. The curve also spreads out in absolute units, but it becomes less skewed relative to its center: the peak is less pressed against zero, and the curve looks more nearly symmetric. Even at larger degrees of freedom, the chi-square distribution is still bounded below by zero and still has a right tail.
Center, Spread, and Peak
Three features help describe how a chi-square distribution changes with \(df\). Its mean is \(df\), its standard deviation is \(\sqrt{2df}\), and, when \(df\) is at least 2, its mode is \(df-2\). The mode is the value at the highest point of the curve. For \(df=1\), the mode is at zero. These facts are useful for comparing curves; they do not replace using the appropriate chi-square distribution when carrying out a test.
The mean and mode are not the same. A long right tail pulls the mean to the right of the peak. As \(df\) grows, the peak and center move farther from zero. Although the standard deviation increases, it increases more slowly than the mean. One way to describe this relative change is the ratio of standard deviation to mean, \(\sqrt{2/df}\): this ratio decreases as \(df\) increases.
These features describe the general shape, not the exact location of a particular test statistic in a test’s right tail. That depends on both the statistic and the distribution for the correct degrees of freedom. The next tutorial, “Chi-Square Distribution Table Versus Calculator Probabilities,” will address finding probabilities from that distribution.
Worked Example: Comparing One and Six Degrees of Freedom
Worked Example: Comparing One and Six Degrees of Freedom
Imagine comparing two chi-square reference curves, one with \(df=1\) and one with \(df=6\). Describe how their centers, peaks, and relative shapes differ.
For \(df=1\), the mean is \(1\), the standard deviation is \(\sqrt{2}\approx1.414\), and the mode is \(0\). The standard deviation is approximately 1.414 because \(1.414^2\approx2\). The peak is at the left endpoint, and the curve has a pronounced right tail.
For \(df=6\), the mean is \(6\), the standard deviation is \(\sqrt{12}\approx3.464\), and the mode is \(6-2=4\). The standard deviation is approximately 3.464 because \(3.464^2\approx12\). Here, the peak is to the right of zero, and the distribution is less skewed than the \(df=1\) distribution.
The standard deviation is larger for \(df=6\), so the distribution has more spread in absolute units. But compare each standard deviation with its mean: for \(df=1\), the ratio is \(\sqrt{2}/1\approx1.414\); for \(df=6\), it is \(\sqrt{12}/6\approx0.577\). The second ratio is smaller, which is consistent with less relative skew as degrees of freedom increase.
Answer: The \(df=6\) curve is centered farther to the right and has a peak at 4 rather than at zero. It has greater absolute spread but less relative skew than the \(df=1\) curve. Both curves remain nonnegative and have a right tail.
How Increasing Degrees of Freedom Changes the Curve
Think of increasing \(df\) as changing the reference curve, not changing the meaning of the observed table. The degrees of freedom come from the table’s category structure, as described in the earlier tutorial on degrees of freedom. Once \(df\) is fixed, it selects the reference distribution against which the chi-square statistic is assessed.
For small \(df\), the curve’s peak is close to zero and a comparatively large portion of its right tail extends far beyond that peak. As \(df\) increases, the mean moves right by one for each additional degree of freedom. The standard deviation also increases, but the curve becomes more balanced around its center relative to its overall position.
“Less skewed” does not mean “less spread out” in absolute units. For example, the standard deviation for \(df=15\) is greater than the standard deviation for \(df=6\). The useful distinction is between absolute spread and spread relative to the center. The latter decreases as \(df\) grows, so the curve looks less strongly skewed.
At sufficiently large degrees of freedom, the chi-square curve can look approximately bell-shaped. It is still not exactly symmetric: it starts at zero, not at negative infinity, and its right tail remains. For AP Statistics, use this as a visual description rather than a reason to substitute a different distribution.
Worked Example: Comparing Table Shapes
Worked Example: Comparing Table Shapes
A fictional environmental survey classifies samples by two categorical variables. One table has 2 habitat categories and 4 water-quality categories. A second table has 3 habitat categories and 6 water-quality categories. Compare the reference distributions each table would use, focusing on shape rather than calculating a test.
For the first table, \(r=2\) and \(c=4\). Using the degrees-of-freedom formula from the earlier tutorial:
For the second table, \(r=3\) and \(c=6\):
For \(df=3\), the mean is 3, the standard deviation is \(\sqrt{6}\approx2.449\), and the mode is \(3-2=1\). The standard deviation checks because \(2.449^2\approx6\). For \(df=10\), the mean is 10, the standard deviation is \(\sqrt{20}\approx4.472\), and the mode is \(10-2=8\). The standard deviation checks because \(4.472^2\approx20\).
The \(df=10\) curve is farther to the right and has a greater standard deviation, so its absolute spread is greater. But the standard-deviation-to-mean ratios are approximately \(2.449/3=0.816\) and \(4.472/10=0.447\). The smaller ratio for \(df=10\) indicates less relative skew.
Answer: The first table uses a right-skewed reference curve with \(df=3\); the second uses a curve with \(df=10\), which is less skewed relative to its center. Both curves still have a right tail. The number of categories determines \(df\), and \(df\) determines which curve is relevant.
A Statistic’s Position Depends on the Curve
A chi-square statistic should not be called “large” or “small” without considering its degrees of freedom. The same numerical value can occupy different positions on two curves. For instance, a statistic of 8 is well to the right of the mean for \(df=2\), whose mean is 2. For \(df=10\), the mean is 10, so 8 is to the left of the mean. Those comparisons do not give exact tail probabilities, but they show why \(df\) matters when interpreting a statistic.
In a chi-square test, evidence against the null hypothesis is associated with a statistic far into the right tail of the correct reference distribution. A value’s distance from zero alone is not enough to judge how unusual it is: the appropriate curve depends on the table’s degrees of freedom. A statistic must be compared with that curve, not with a different curve or a universal cutoff.
Common Mistakes and AP Exam Tip
- Calling the distribution symmetric: It may look more nearly symmetric as \(df\) increases, but it remains bounded below by zero and has a right tail.
- Confusing spread with skew: The standard deviation grows as \(df\) grows, so absolute spread increases. The curve can still become less skewed relative to its center.
- Assuming the peak is the mean: The mode marks the peak; the mean is farther right because of the right tail. For example, at \(df=6\), the mode is 4 and the mean is 6.
- Comparing a statistic without checking \(df\): A particular value’s position depends on the reference curve. Identify the correct degrees of freedom before judging whether the value lies far into the right tail.
- Saying that a larger \(df\) makes the distribution less spread out: That confuses relative skew with absolute spread. The standard deviation increases, even though the distribution becomes less skewed relative to its center.
Check Your Understanding
Use the distribution’s degrees of freedom to describe its shape and compare it with other chi-square curves.
- What prevents a chi-square distribution from extending to negative values?
- As degrees of freedom increase, what happens to the distribution’s center and relative skew?
- For \(df=8\), find the mean, standard deviation, and mode. Round the standard deviation to three decimal places.
- Which curve is more skewed relative to its center: \(df=2\) or \(df=12\)? Explain without calculating a p-value.
- Why should a chi-square statistic be compared with the reference distribution for its own degrees of freedom?