The chi-square distribution of the random sample is determined by the formula given above. Since the expected value for a given number on the die for n throws is n times 1/6, thus 1020/6 = 170, the formula returns a chi-square value of 13.27.
用上述公式计算抽样样本的 Chi 平方分布。掷出某一点的期望值为抛掷次数乘以 1/6，即 1020/6 = 170，公式计算出 Chi 平方值为 13.27。