Docsity

Two-Dimensional Statistics Computation: ECE 3800 - Prof. Frank L. Severance, Study notes of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 3800
Severance
Computing Two-Dimensional Statistics
1. Data File (Windows Note Pad) 2. Procedural Computer Program
3. Using a Spreadsheet
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)
65 68
63 66
67 68
64 65
68 69
62 66
70 68
66 65
68 71
67 67
69 68
71 70

Partial preview of the text

Download Two-Dimensional Statistics Computation: ECE 3800 - Prof. Frank L. Severance and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

ECE 3800

Severance

Computing Two-Dimensional Statistics

  1. Data File (Windows Note Pad) 2. Procedural Computer Program
  2. Using a Spreadsheet

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)