Chi-square (χ2) Distribution The graph below is the density function of a χ2 distributed random variable. By moving the scroll bar you can change the degrees of freedom. The red vertical line gives the location of the expected value. Also you can find the probability P(X <=a), where X is a random variable with χ2 for different values of a by changing the value of a.