Docsity

Efficient Notation for Statistical Calculations: Subscript and Summation Notation, Lecture notes of Algebra

Toggle sidebar
bg1
Subscript and Summation
Notation
James H. Steiger
Single Subscript Notation
Most of the calculations we perform in
statistics are repetitive operations on lists of
numbers. For example, we compute the
sum of a set of numbers, or the sum of the
squares of the numbers, in many statistical
formulas. We need an efficient notation for
talking about such operations in the
abstract.
Single Subscript Notation
i
X
List Name
Subscript
Single Subscript Notation
The symbol Xis the “list name,” or the
name of the variable represented by the
numbers on the list. The symbol iis a
“subscript,” or “position indicator.” It
indicates which number in the list, starting
from the top, you are referring to.
pf3
pf4
pf5
pf8

Partial preview of the text

Download Efficient Notation for Statistical Calculations: Subscript and Summation Notation and more Lecture notes Algebra in PDF only on Docsity!

Subscript and Summation

NotationJames H. Steiger

Single Subscript Notation Most of the calculations we perform instatistics are repetitive operations on lists ofnumbers. For example, we compute thesum of a set of numbers, or the sum of thesquares of the numbers, in many statisticalformulas. We need an efficient notation fortalking about such operations in theabstract.

Single Subscript Notation

i X

List Name

Subscript

Single Subscript Notation The symbol

X^ is the “list name,” or the

name of the variable represented by thenumbers on the list. The symbol

i^ is a

“subscript,” or “position indicator.” Itindicates which number in the list, startingfrom the top, you are referring to.

Single Subscript Notation

X^3

X^3

X 1 2 12 3 14

Single Subscript Notation Single subscript notation extends naturallyto a situation where there are two or morelists. For example suppose a course has 4students, and they take two exams. The firstexam could be given the variable name

X ,

the second

Y , as in the table below. Chow’s

3 score on the second exam is observation X

Y^2

Single Subscript Notation

X^3

97

92

Abdul

90

83

Benedetti

66

65

Chow

85

87

Smith

Y

X

Student

Double Subscript Notation Using different variable names to stand for eachlist works well when there are only a few lists, butit can be awkward for at least two reasons.^ „^ In some cases the number of lists can become large.This arises quite frequently in some branches ofpsychology.^ „^ When general theoretical results are being developed,we often wish to express the notion of some operationbeing performed “over all of the lists.” It is difficult toexpress such ideas efficiently when each list isrepresented by a different letter, and the list of letters isin principle unlimited in size.

Single Summation Notation Many summation expressions involve just asingle summation operator. They have thefollowing general form

N^1

i

i

X ∑^ =

summationindex

start value

stop value

Rules of Summation Evaluation The summation operator governs everything to itsright, up to a natural break point in the expression. Begin by setting the

summation index

equal to the

start value. Then evaluate the algebraic expressiongoverned by the summation sign. Increase the value of the

index

by 1. Evaluate the

expression governed by the summation sign again,and add the result to the previous value. Keep repeating step 3 until the expression hasbeen evaluated and added for the

stop value

. At

that point the evaluation is complete, and you stop.

Evaluating a Simple SummationExpression Suppose our list has just 5 numbers, andthey are 1,3,2,5,6. Evaluate^ „^ Answer:

5

(^2) i 1 X ∑ i = 2

2

2

2

2

+^

+^

+^

+^

Evaluating a Simple SummationExpression Order of evaluation can be crucial. Supposeour list is still 1,3,2,5,6. Evaluate^ „^ Answer:

2 5 1

i ^ X i^ =

^

^

∑

(^

2

+^ +

+^

+^

=^

The Algebra of Summations Many facts about the way lists of numbersbehave can be derived using some basicrules of summation algebra. These rules aresimple yet powerful.^ „^ The first constant rule^ „^ The second constant rule^ „^ The distributive rule

The First Constant Rule The first rule is based on a fact that you firstlearned when you were around 8 years old:multiplication is simply repeated addition. That is, to compute 3 times 5, you compute5+5+5. Another way of viewing this fact is that, if youadd a constant a certain number of times, you havemultiplied the constant by the number of times itwas added.

The First Constant Rule Symbolically, we can express the rule as:

(^

y i x

a^

y^

x^

a

=^

−^

∑

The First Constant Rule(Simplified Version) Symbolically, we can express the rule as:

N a^1 i

Na

=

∑

The Second Constant Rule The rule states that Again, the rule appears to be saying less than itactually is. At first glance, it appears to be a ruleabout multiplication. You can move a factorableconstant outside of a summation operator.However, the term

a^ could also stand for a

fraction, and so the rule also applies to factorabledivisors in the summation expression.

1

1

N^

N i^

i

i^

i aX^

a^

X

=^

=

∑^

∑

The Second Constant Rule(Examples) Apply the Second Constant Rule to thefollowing:

N^61

i i

yX = ∑^1 NXi^2 i = ∑

The Distributive Rule ofSummation Algebra The third rule of summation algebra relatesto a another fact that we learned early in ourmathematics education --- when numbersare added or subtracted, the ordering ofaddition and/or subtraction doesn't matter.For example(1 + 2) + (3 + 4) = (1 + 2 + 3 + 4)

The Distributive Rule ofSummation Algebra So, in summation notation, we haveSince either term could be negative, we alsohave

(^

1

1

1

N^

N^

N

i^

i^

i^

i

i^

i^

i

X^

Y^

X^

Y

=^

=^

=

+^

=^

∑^

∑^

∑

(^

1

1

1

N^

N^

N

i^

i^

i^

i

i^

i^

i

X^

Y^

X^

Y

=^

=^

=

−^

=^

∑^

∑^

∑

Definition: The Sample Meanand Deviation Scores The^

sample mean

of^ N

scores

is defined

as their arithmetic average,The original scores are called

raw scores.

The

deviation scores

corresponding to the

raw scores are defined as

X^ i 1 N 1

i i X^

X

N

= =^

∑ i^

i dx^

X^

X •

=^