Docsity

Sample Moments - Lecture Notes | ECON 671, Study notes of Introduction to Econometrics

Toggle sidebar
bg1
SAMPLE MOMENTS
1. POPULATION MOMENTS
1.1. Moments about the origin (raw moments). The rth moment about the origin of a random
variable X, denoted by µ0
r, is the expected value of Xr; symbolically,
µ0
r=E(Xr)(1)
=X
x
xrf(x)(2)
for r = 0, 1, 2, . . . when X is discrete and
µ0
r=E(Xr)
v(3)
when X is continuous. The rth moment about the origin is only defined if E[ Xr] exists. A mo-
ment about the origin is sometimes called a raw moment. Note that µ0
1=E(X)=µX, the mean of
the distribution of X, or simply the mean of X. The rth moment is sometimes written as function of
θwhere θis a vector of parameters that characterize the distribution of X.
If there is a sequence of random variables, X1,X
2,...X
n, we will call the rth population moment
of the ith random variable µ0
i, r and define it as
µ0
i,r =E(Xr
i)(4)
1.2. Central moments. The rth moment about the mean of a random variable X, denoted by µr,is
the expected value of (X−µX)rsymbolically,
µr=E[(X−µX)r]
=X
x
(x−µX)rf(x)(5)
for r = 0, 1, 2, . . . when X is discrete and
µr=E[(X−µX)r]
=R∞
−∞ (x−µX)rf(x)dx (6)
when X is continuous. The rth moment about the mean is only defined if E[ (X - µX)r] exists. The
rth moment about the mean of a random variable X is sometimescalled the rth central moment of
X. The rth central moment of X about a is defined as E[ (X - a)r]. If a = µX, we have the rth central
moment of X about µX.
Date: August 9, 2004.
1
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Sample Moments - Lecture Notes | ECON 671 and more Study notes Introduction to Econometrics in PDF only on Docsity!

1. POPULATION MOMENTS

1.1. Moments about the origin (raw moments). The rth moment about the origin of a random

variable X, denoted by μ

′

r

, is the expected value of X

r ; symbolically,

μ

′

r

=E(X

r ) (1)

x

x

r f(x) (2)

for r = 0, 1, 2,... when X is discrete and

μ

′

r

=E(X

r )

v

when X is continuous. The rth moment about the origin is only defined if E[ X

r ] exists. A mo-

ment about the origin is sometimes called a raw moment. Note that μ

′

1

= E(X) = μX , the mean of

the distribution of X, or simply the mean of X. The rth moment is sometimes written as function of

θ where θ is a vector of parameters that characterize the distribution of X.

If there is a sequence of random variables, X 1 , X 2 ,... Xn, we will call the rth population moment

of the ith random variable μ

′

i, r

and define it as

μ

′

i , r

= E (X

r

i

1.2. Central moments. The rth moment about the mean of a random variable X, denoted by μr , is

the expected value of ( X − μX )

r symbolically,

μ r

=E[ ( X − μ X

r ]

x

( x − μX )

r

f(x)

for r = 0, 1, 2,... when X is discrete and

μ r

=E[ (X − μ X

r ]

∞

−∞

(x − μX )

r

f(x) dx

when X is continuous. The rth moment about the mean is only defined if E[ (X - μX)

r ] exists. The

rth moment about the mean of a random variable X is sometimes called the rth central moment of

X. The rth central moment of X about a is defined as E[ (X - a)

r ]. If a = μX, we have the rth central

moment of X about μX.

Date : August 9, 2004.

1

Note that μ 1 = E[(X - μX)] = 0 and μ 2 = E[(X - μX)

2 ] = Var[X]. Also note that all odd moments of

X around its mean are zero for symmetrical distributions, provided such moments exist.

If there is a sequence of random variables, X 1 , X 2 ,... Xn, we will call the rth central population

moment of the ith random variable μ (^) i , r and define it as

μi, r = E

X

r

i

− μ

′

i, 1

r

(7)

When the variables are identically distributed, we will drop the i subscript and write μ

′

r

and μ (^) r

2. SAMPLE MOMENTS

2.1. Definitions. Assume there is a sequence of random variables, X 1 , X 2 ,... Xn. The first sample

moment, usually called the average is defined by

X

n

n

n ∑

i = 1

X

i

Corresponding to this statistic is its numerical value, x¯ n

, which is defined by

¯xn =

n

n ∑

i = 1

xi (9)

where xi represents the observed value of Xi. The rth sample moment for any t is defined by

X

r

n

n

n ∑

i = 1

X

r

i

This too has a numerical counterpart given by

x ¯

r

n

n

n ∑

i = 1

x

r

i

2.2. Properties of Sample Moments.

2.2.1. Expected value of

X

r

n

. Taking the expected value of equation 10 we obtain

E

[

X

r

n

]

= E

X

r

n

n

n ∑

i = 1

E X

r

i

n

n ∑

i = 1

μ

′

i , r

If the X’s are identically distributed, then

E

[

X

r

n

]

= E

X

r

n

n

n ∑

i = 1

μ

′

r

= μ

′

r

2.2.2. Variance of

X

r

n

E

[

X

r

n

]

E X

r

n

n

n ∑

i = 1

μ

′

r

= μ

′

r

3.2.2. Variance of C

r

n

. First consider the case where we have a sample X 1 , X 2 ,... Xn.

V ar ( C

r

n

) = V ar

n

n ∑

i = 1

X

i

− μ

′

i , 1

r

n

2

V ar

n ∑

i = 1

X

i

− μ

′

i , 1

r

If the X’s are independently distributed, then

V ar ( C

r

n

n

2

n ∑

i = 1

V ar

[ (

X

i

− μ

′

i , 1

r

]

If the X’s are independent and identically distributed, then

V ar ( C

r

n

n

V ar

[

( X − μ

′

1

r

]

where X denotes any one of the random variables (because they are all identical). In the case

where r =1, we obtain

V ar ( C

r

n

1

n

V ar [ X − μ

′

1

]

1

n

V ar [ X − μ ]

1

n

σ

2 − 2 Cov [ X , μ ] + V ar [ μ ]

1

n

σ

2

4. SAMPLE ABOUT THE AVERAGE

4.1. Definitions. Assume there is a sequence of random variables, X 1 , X 2 ,... Xn. Define the rth

sample moment about the average as

M

r

n

1

n

n

i = 1

Xi −

Xn

r

, r = 1 , 2 , 3 , · · · , (26)

This is clearly a statistic of which we can compute a numerical value. We denote the numerical

value by, m

r

n

, and define it as

m

r

n

n

n ∑

i = 1

( xi − x¯n)

r

(27)

In the special case where r = 1 we have

M

1

n

1

n

n

i = 1

Xi −

Xn

1

n

n

i = 1

Xi −

Xn

Xn −

Xn = 0

4.2. Properties of Sample Moments about the Average when r = 2.

4.2.1. Alternative ways to write M

r

n

. We can write M

r

n

in an alternative useful way by expanding the

squared term and then simplifying as follows

M

r

n

1

n

n

i = 1

X

i

X

n

r

⇒ M

2

n

1

n

n

i = 1

X

i

X

n

2

1

n

n

i = 1

[

X

2

i

− 2 X

i

X

n

+ ¯X

2

n

])

1

n

n

i = 1

X

2

i

2 ¯Xn

n

n

i = 1

Xi +

1

n

n

i = 1

X

2

n

1

n

n

i = 1

X

2

i

− 2 ¯X

2

n

+ ¯X

2

n

1

n

n

i = 1

X

2

i

X

2

n

4.2.2. Expected value of M

r

n

. The expected value of M

r

n

is then given by

E

M

2

n

1

n

E

[ ∑

n

i = 1

X

2

i

]

− E

[

X

2

n

]

1

n

n

i = 1

E

[

X

2

i

]

E

[

Xn

] )

2

− V ar(

Xn )

1

n

n

i = 1

μ

′

i , 2

1

n

n

i = 1

μ

′

i , 1

2

− V ar( ¯Xn )

The second line follows from the alternative definition of variance

V ar ( X ) =E

X

2

− [ E ( X ) ]

2

⇒ E

X

2

=[ E ( X ) ]

2

  • V ar ( X )

⇒ E

X

2

n

[

E

Xn

) ]

2

  • V ar(

Xn )

and the third line follows from equation 12. If the X i

are independent and identically distributed,

then

E

M

2

n

1

n

E

[ ∑

n

i = 1

X

2

i

]

− E

[

X

2

n

]

1

n

n

i = 1

μ

′

i , 2

1

n

n

i = 1

μ

′

i , 1

2

− V ar( ¯X n

=μ

′

2

− ( μ

′

1

2

−

σ

2

n

=σ

2 −

1

n

σ

2

n − 1

n

σ

2

where μ

′

1

and μ

′

2

are the first and second population moments, and μ 2

is the second central

population moment for the identically distributed variables. Note that this obviously implies

E

[

n

i = 1

Xi −

X

2

]

=n E

M

2

n

=n

n − 1

n

σ

2

=( n − 1) σ

2

4.2.3. Variance of M

2

n

. By definition,

V ar

M

2

n

=E

[

M

2

n

2

]

E M

2

n

2

(34)

The second term on the right on equation 34 is easily obtained by squaring the result in equation

E

M

2

n

n − 1

n

σ

2

E

M

2

n

2

=

E M

2

n

2

=

(n − 1)

2

n

2

σ

4

E

n ∑

i = 1

Y

i

Y

2

2

=E

n ∑

i = 1

Y

2

i

− 2 Y

i

Y +

Y

2

2

=E

n ∑

i = 1

Y

2

i

Y

n ∑

i = 1

Y

i

n ∑

i = 1

Y

2

2

=E

n ∑

i = 1

Y

2

i

− 2 n

Y

2

  • n

Y

2

2

=E

n ∑

i = 1

Y

2

i

− 2 n

Y

2

2

=E

n ∑

i = 1

Y

2

i

2

− 2 n

Y

2

n ∑

i = 1

Y

2

i

  • n

Y

4

=E

n ∑

i = 1

Y

2

i

2

− 2 n E

[

Y

2

n ∑

i = 1

Y

2

i

]

  • n

2

E

Y

4

Now consider the first term on the right of 43 which we can write as

E

n ∑

i = 1

Y

2

i

2

 =E

n ∑

i = 1

Y

2

i

n ∑

j = 1

Y

2

j

=E

[

n ∑

i = 1

Y

4

i

i 6 = j

Y

2

i

Y

2

j

]

n ∑

i = 1

E Y

4

i

i 6 = j

E Y

2

i

E Y

2

j

=n μ 4 + n (n − 1 ) μ

2

2

=n μ 4 + n (n − 1 ) σ

4

Now consider the second term on the right of 43 (ignoring 2n for now) which we can write as

E

[

Y

2

n ∑

i = 1

Y

2

i

]

n

2

E

n ∑

j = 1

Y

j

n ∑

k = 1

Y

k

n ∑

i = 1

Y

2

i

n

2

E

n ∑

i = 1

Y

4

i

i 6 = j

Y

2

i

Y

2

j

j 6 = k

Yj Yk

i 6 = j

i 6 = k

Y

2

i

n

2

n ∑

i = 1

E Y

4

i

i 6 = j

E Y

2

i

E Y

2

j

j 6 = k

E Y

j

E Y

k

i 6 = j

i 6 = k

E Y

2

i

n

2

[

n μ 4 + n (n − 1) μ

2

2

]

n

[

μ 4 + (n − 1 )σ

4

]

The last term on the penultimate line is zero because E(Yj) = E(Yk) = E(Yi) = 0.

Now consider the third term on the right side of 43 (ignoring n

2 for now) which we can write as

E

[

Y

4

]

n

4

E

n ∑

i = 1

Yi

n ∑

j = 1

Yj

n ∑

k = 1

Yk

n ∑

` = 1

Y`

n

2

E

n ∑

i = 1

Y

4

i

i 6 = k

Y

2

i

Y

2

k

i 6 = j

Y

2

i

Y

2

j

i 6 = j

Y

2

i

Y

2

j

where for the first double sum (i = j 6 = k = ), for the second (i = k 6 = j =), and for the last (i = ` 6 =

j = k) and ... indicates that all other terms include Y i

in a non-squared form, the expected value of

which will be zero. Given that the Y i

are independently and identically distributed, the expected

value of each of the double sums is the same, which gives

E

[

Y

4

]

1

n

4

E

[

n

i = 1

Y

4

i

i 6 = k

Y

2

i

Y

2

k

i 6 = j

Y

2

i

Y

2

j

i 6 = j

Y

2

i

Y

2

j

]

1

n

4

[

n

i = 1

E Y

4

i

i 6 = j

Y

2

i

Y

2

j

  • terms containing E X i

]

1

n

4

[

n

i = 1

E Y

4

i

i 6 = j

Y

2

i

Y

2

j

]

1

n^4

[

n μ 4

  • 3 n (n − 1) ( μ 2

2

]

1

n^4

[

n μ 4

  • 3 n (n − 1) σ

4

]

1

n

3

[

μ 4

  • 3 (n − 1 ) σ

4

]

Now combining the information in equations 45, 46, and 47 we obtain

V ar

M

2

n

=E

[

M

2

n

]

E M

2

n

( n − 1 )

2

n

3

μ 4 +

(n − 1 ) (n

2 − 2 n + 3 )

n

3

σ

4 −

n ( n − 1 )

2

n

3

σ

4

μ 4

( n − 1)

2

[

( n − 1 ) σ

4

] (

n

2 − 2 n + 3 − n ( n − 1)

n

3

μ 4 ( n − 1)

2

[

( n − 1 ) σ

4

] (

n

2 − 2 n + 3 − n

2

  • n

n

3

μ 4 ( n − 1)

2

[

( n − 1 ) σ

4

]

(3 − n )

n

3

μ 4

( n − 1)

2 −

[

( n − 1 ) σ

4

]

(n − 3 )

n

3

( n − 1)

2 μ 4

n

3

( n − 1 ) (n − 3 ) σ

4

n

3

5. SAMPLE VARIANCE

5.1. Definition of sample variance. The sample variance is defined as

S

2

n

1

n − 1

n

i = 1

Xi −

Xn

2

(52)

We can write this in terms of moments about the mean as

S

2

n

1

n − 1

n

i = 1

X

i

X

n

2

n

n − 1

M

2

n

where M

2

n

1

n

n

i = 1

Xi −

Xn

2

5.2. Expected value of S

2

. We can compute the expected value of S

2 by substituting in from equa-

tion 32 as follows

E

S

2

n

n

n − 1

E

M

2

n

n

n − 1

n − 1

n

σ

2

=σ

2

5.3. Variance of S

2

. We can compute the variance of S

2 by substituting in from equation 51 as

follows

V ar

2

n

n

2

( n − 1 )

2 V ar^

M

2

n

n

2

( n − 1 )

2

( n − 1)

2 μ 4

n

3 −^

( n − 1) (n−3) σ

4

n

3

μ 4

n

(n−3) σ

4

n ( n − 1 )

5.4. Definition of σˆ

2

. One possible estimate of the population variance is σˆ

2 which is given by

ˆσ

2

1

n

n

i = 1

X

i

X

n

2

=M

2

n

5.5. Expected value of σˆ

2

. We can compute the expected value of ˆσ

2 by substituting in from equa-

tion 32 as follows

E

σˆ

2

=E

M

2

n

n − 1

n

σ

2

5.6. Variance of σˆ

2

. We can compute the variance of ˆσ

2 by substituting in from equation 51 as

follows

V ar

σˆ

2

=V ar

M

2

n

( n − 1)

2 μ 4

n

3 −^

( n − 1 ) (n−3) σ

4

n

3

μ 4 − μ

2

2

n

2 (μ 4 − 2 μ

2

2

)

n

2

μ 4 − 3 μ

2

2

n

3

We can also write this in an alternative fashion

V ar

ˆσ

2

=V ar

M

2

n

( n − 1)

2 μ 4

n

3

( n − 1 ) (n−3 ) σ

4

n

3

( n − 1)

2 μ 4

n

3

( n − 1 ) (n−3 ) μ

2

2

n

3

n

2 μ 4 − 2 n μ 4 +μ 4

n

3

n

2 μ

2

2

− 4 n μ

2

2

+3 μ

2

2

n

3

n

2 ( μ 4 −μ

2

2

)− 2 n ( μ 4 − 2 μ

2

2

)+μ 4 − 3 μ

2

2

n

3

μ 4 − μ

2

2

n

2 (μ 4 − 2 μ

2

2

)

n

2 +^

μ 4 − 3 μ

2

2

n

3

6. NORMAL POPULATIONS

6.1. Central moments of the normal distribution. For a normal population we can obtain the cen-

tral moments by differentiating the moment generating function. The moment generating function

for the central moments is as follows

MX (t) = e

t

2 σ

2

2

. (60)

The moments are then as follows. The first central moment is

E (X − μ ) =

d

dt

e

t

2 σ

2

2

t = 0

=t σ

2

e

t

2 σ

2

2

t = 0

The second central moment is

E (X − μ )

2

d

2

dt

2

e

t

2 σ

2

2

t = 0

d

dt

t σ

2

e

t

2 σ

2

2

t = 0

t

2 σ

4

e

t

2 σ

2

2

  • σ

2

e

t

2 σ

2

2

t = 0

=σ

2

The third central moment is