
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Severance
Tot01 = 0 Tot02 = 0 Tot03 = 0 Tot04 = 0 Tot05 = 0
For I = 1 To N Tot01 = Tot01 + X(I) Tot02 = Tot02 + Y(I) Tot03 = Tot03 + X(I) ^ 2 Tot04 = Tot04 + Y(I) ^ 2 Tot05 = Tot05 + X(I) * Y(I) Next I
Xmean = Tot01 / N Ymean = Tot02 / N Xstd = Sqr(Tot03 / N - Xmean ^ 2) Ystd = Sqr(Tot04 / N - Ymean ^ 2) R = Tot05 / N C = R - Xmean * Ymean Rho = C / (Xstd * Ystd)