Statistics.Distribution.ChiSquared
data
ChiSquared
chiSquared
chiSquaredNDF