10.1 Chi-Square Distribution
A -distribution (chi-square, pronounced “ki-square”) is another special type of distribution for a continuous random variable. For an independent random sample of size from a normal population, follows a chi-square distribution with degrees of freedom. The sample variance is a scaled chi-square variable; the sample standard deviation itself is not chi-square.
# Figure 10-1: the chi-square family for df = 2, 4, 10, 30
curve(dchisq(x, 2), 0, 50, ylim = c(0, 0.5), xlab = "chi-square", ylab = "density")
curve(dchisq(x, 4), add = TRUE, col = 2)
curve(dchisq(x, 10), add = TRUE, col = 3)
curve(dchisq(x, 30), add = TRUE, col = 4) # mean = df; for these df, the mode is df - 2
legend("topright", c("df=2", "df=4", "df=10", "df=30"), col = 1:4, lwd = 1)
# Support is x >= 0. For df=2 the density is largest at the boundary x=0.
# Raise df above 50 and re-run: relative skew decreases, giving a normal
# approximation after suitable centering/scaling; finite-df curves remain skewed.Properties of the -distribution density curve:
- Right skewed starting at zero.
- The center and spread of a -distribution are determined by the degrees of freedom with a mean = df and standard deviation = .
- Chi-square variables cannot be negative.
- As the degrees of freedom increase, the -distribution becomes more nearly normal as the degrees of freedom increase; this is an approximation, not exact normality at any finite df. Figure 10-1 shows -distributions for df of 2, 4, 10, and 30.
- The total area under the curve is equal to 1, or 100%.
We will use the -distribution for hypothesis testing later in this chapter. For now, we are just learning how to find a critical value .
The symbol is the critical value on the -distribution curve with area 1 – below the critical value and area above the critical value, as shown below in Figure 10-2.

Use technology to compute the critical value for the -distribution.
TI-84: Use the INVCHI2 program downloaded at Rachel Webb’s website: http://MostlyHarmlessStatistics.com. The target cutoff has right-tail area . Follow the custom program’s specified tail convention: if it requests a right-tail area, enter ; if it requests a cumulative left-tail area, enter . Enter the stated df and check the tail of the resulting cutoff.
TI-89: Go to the [Apps] Stat/List Editor, then select F5 [DISTR]. This will get you a menu of probability distributions. Arrow down to Inverse > Inverse Chi-Square and press [ENTER]. Enter the area 1 – to the left of the value and the df into each cell. Press [ENTER].
Excel: =CHISQ.INV(1 – , df) or =CHISQ.INV.RT(, df)
Alternatively, use the following online calculator: https://homepage.divms.uiowa.edu/~mbognar/applets/chisq.html.
Adapted from Mostly Harmless Statistics by Rachel Webb (Portland State University, https://mostlyharmlessstat.wixsite.com/webpage), © Rachel Webb, licensed under CC BY-SA 4.0. Changes were made. License: CC-BY-SA-4.0.