Generate Sample from Chi-square Distribution
For Generate Random Sample, the chi-square (χ²) distribution can be defined by any
one of the mean, variance, and degrees of freedom. You can set more than one
of these, so long as you satisfy the conditions that the mean is equal to the
degrees of freedom and the variance is twice the degrees of freedom.