Talk:Statistics/Distributions/Chi-square

"Summing up for all values gives us Y = 7.0000."
There's an issue here. The original vector is: > wiki1$var1 [1] 88  93 110  76  78 121  92  86

The standardizd vector is: > wiki1$Z.var1 [1] -0.3245 0.0000  1.1033 -1.1033 -0.9735  1.8172 -0.0649 -0.4543

The sum of all the values of the standardized vector is: > with(wiki1, {sum(Z.var1)}) [1] 1.110e-16

, which is zero, and by no means "7.0000". Then, how is 7 obtained? And what does Y stand for?