25/05/2018, 13:11

Summation Notation

Many statistical formulas involve summing numbers. Fortunately there is a convenient notation for expressing summation. This section covers the basics of this summation notation. Let's say we have a variable X that ...

Many statistical formulas involve summing numbers. Fortunately there is a convenient notation for expressing summation. This section covers the basics of this summation notation.

Let's say we have a variable X that represents the weights (in grams) of 4 grapes. The data are shown in [link].

Weights of 4 grapes
Grape X
1 4.6
2 5.1
3 4.9
4 4.4

We label Grape 1's weight X 1 , Grape 2's weight X 2 , etc. The following formula means to sum up the weights of the four grapes: i 1 4 X i The Greek letter Σ indicates summation. The " i 1 " at the bottom indicates that the summation is to start with X 1 and the 4 at the top indicates that the summation will end with X 4 . The X i indicates that X is the variable to be summed as i goes from 1 to 4. Therefore, i 1 4 X i X 1 X 2 X 3 X 4 4.6 5.1 4.9 4.4 19.0 The symbol i 1 3 X i indicates that only the first 3 scores are to be summed. The index variable i goes from 1 to 3. When all the scores of a variable (such as X) are to be summed, it is often convenient to use the following abbreviated notation: ∑ X Thus when no values of i are shown, it means to sum all the values of X.

Many formulas involve squaring numbers before they are summed. This is indicated as X 2 4.6 2 5.1 2 4.9 2 4.4 2 21.16 26.01 24.01 19.36 90.54 Notice that: X 2 X 2 because the expression on the left means to sum up all the values of X and then square the sum ( 19 2 381 ) whereas the expression on the right means to square the numbers and then sum the squares ( 90.54, as shown).

Some formulas involve the sum of cross products. [link] shows the data for variables X and Y. The totals are shown in the bottom row and the cross products are shown in the third column. The sum of the cross products is 28.

Sum of Cross Products
X Y XY
6 12 28
1 3 3
2 2 4
3 7 21

In summation notation, this is written as: X Y 28

For the following data

X Y
1 3
2 2
4 7

compute X

1 2 4 7

compute Y

3 2 7 12

compute X 2

1 2 4 7 and 7 7 49

compute i 2 3 X i

This means to add the values of X from the second value to the third value. 2 4 6 .

compute X Y

1 3 2 2 4 7 3 4 28 35

0