What determines the shape of a chi-square curve?