Docsity

Sample Moments - Lecture Notes | ECON 500, Study notes of Economics

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)
=X
x
xrf(x)(1)
for r = 0, 1, 2, . . . when X is discrete and
µ0
r=E(Xr)
=Z∞
−∞
xrf(x)dx (2)
when X is continuous. The rth moment about the origin isonly defined if E[ Xr] exists. A moment 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)(3)
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)(4)
for r = 0, 1, 2, . . . when X is discrete and
µr=E[(X−µX)r]
=Z∞
−∞
(x−µX)rf(x)dx (5)
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.
Note that
Date: December 7, 2005.
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Sample Moments - Lecture Notes | ECON 500 and more Study notes Economics 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 Xr^ ; symbolically,

μ′ r =E(Xr^ )

x

xr^ f(x) (1) for r = 0, 1, 2,... when X is discrete and μ′ r =E(Xr^ ) =

−∞ xr^ f(x) dx (2) when X is continuous. The rth moment about the origin is only defined if E[ Xr^ ] exists. A moment 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 (Xri ) (3) 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) (4) for r = 0, 1, 2,... when X is discrete and μr =E[ (X − μX )r^ ] =

−∞

(x − μX )r^ f(x) dx (5) 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.

Note that Date : December 7, 2005. 1

μ 1 = E[X − μX ] =

−∞ (x − μX ) f(x) dx = 0

μ 2 = E[(X − μX )^2 ] =

−∞ (x − μX )^2 f(x) dx = V ar(X) = σ^2

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 (Xir − μ′ i, 1 )r^ (7) When the variables are identically distributed, we will drop the i subscript and write μ′r and μ (^) r.

  1. 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 =^1 n

∑^ n i = 1

Xi (8) Corresponding to this statistic is its numerical value, x¯n, which is defined by

x ¯n =^1 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^ ¯nr =^1 n

∑^ n i = 1

Xri (10) This too has a numerical counterpart given by

x ¯rn = (^) n^1 ∑^ n i=

xri (11)

2.2. Properties of Sample Moments.

2.2.1. Expected value of X¯ (^) nr_._ Taking the expected value of equation 10 we obtain

E [^ X¯rn^ ]^ = E X¯nr =^1 n ∑^ n i=

E Xir = (^) n^1 ∑^ n i=

μ′ i,r (12) If the X’s are identically distributed, then

E [^ X¯nr^ ]^ = E X¯nr = n^1 ∑^ n i=

μ′ r = μ′ r (13)

3.2.2. Variance of C (^) nr_._ First consider the case where we have a sample X 1 , X 2 ,... ,Xn.

V ar ( Cnr ) = V ar

n

∑^ n i=

( X

i −^ μ′ i, 1

)r

= (^) n^12 V ar

( (^) ∑n

i=

(X

i −^ μ′ i, 1

)r

If the X’s are independently distributed, then

V ar ( Crn ) = (^) n^12 ∑^ n i=

V ar [(Xi − μ′ i, 1 )r^ ]^ (22) If the X’s are independent and identically distributed, then V ar ( Cnr ) =^1 n V ar [^ ( X − μ′ 1 )r^ ]^ (23) 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^1 n^ )^ = n^1 V ar [ X − μ′ 1 ]

= n^1 V ar [ X − μ ] = n^1 σ^2 − 2 Cov [ X , μ ] + V ar [ μ ]

= n^1 σ^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 (^) nr = (^) n^1 ∑^ n i=

(X

i −^ X¯n

)r (^) , r = 1, 2 , 3 ,.. ., (25)

This is clearly a statistic of which we can compute a numerical value. We denote the numerical value by, mrn, and define it as

mrn =^1 n

∑^ n i = 1

( xi − x¯n)r^ (26) In the special case where r = 1 we have

M (^) n^1 = n^1

∑^ n i = 1

(X

i −^ X¯n

= n^1 ∑^ n i = 1

Xi − X¯n

= X¯n − X¯n = 0

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

4.2.1. Alternative ways to write M (^) nr_._ We can write M (^) n^2 in an alternative useful way by expanding the squared term and then simplifying as follows

M (^) nr = n^1 ∑^ n i = 1

(X

i −^ X¯n

)r

⇒ M (^) n^2 =^1 n ∑^ n i=

(X

i −^ X¯n

= n^1

( (^) ∑n

i = 1

[X 2

i −^2 Xi^ X¯n^ + X¯^ n^2

]

= n^1

∑^ n i = 1

X (^) i^2 − 2 X¯n n

∑n i = 1Xi^ +

n

∑^ n i = 1

X^ ¯ n^2

= n^1

∑^ n i = 1

X i^2 − 2 X¯ n^2 + X¯ n^2

= n^1

( (^) ∑n

i = 1

X (^) i^2

− X¯ n^2

4.2.2. Expected value of M (^) n^2_._ The expected value of M (^) nr is then given by

E (M (^) n^2 )^ =^1 n E

[ (^) ∑n

i = 1

X (^) i^2

]

− E [^ X¯ n^2 ]

=^1 n

∑^ n i=

E [X i^2 ]^ − (E [^ X¯n^ ] )^2 − V ar( X¯n)

= n^1 ∑^ n i = 1

μ′i , 2 −

n

∑^ n i = 1

μ′i , 1

− 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¯ (^) n^2 )^ = [^ E (^ X¯n^ ) ]^2 + V ar( ¯Xn )

and the third line follows from equation 12. If the Xi are independent and identically distributed, then

n

∑^ n i = 1

(X

i −^ X¯

n

∑^ n i = 1

((X

i −^ μ)^ −^ ( ¯X^ −^ μ)

=^1 n ∑^ n i = 1

(Y

i −^ Y¯^

where Yi =Xi − μ Y^ ¯ = X¯ − μ

Obviously,

∑^ n i = 1

(X

i −^ X¯

) (^2) =∑^ n i = 1

( Y

i −^ Y¯^

) (^2) , where Y i =^ Xi −^ μ ,^ Y¯^ = X¯^ −^ μ^ (37)

Now consider the properties of the random variable Yi which is a transformation of Xi. First the expected value.

Yi =Xi − μ E (Yi) = E (Xi) − E ( μ) =μ − μ =

The variance of Yi is

Yi = Xi − μ V ar (Yi) = V ar (Xi ) = σ^2 if Xi are independently and identically distributed

Also consider E(Yi^4 ). We can write this as

E( Y 4 ) =

−∞ y^4 f ( x ) d x

=

−∞ ( x − μ)^4 f(x) d x = μ 4

Now write equation 35 as follows

E

[(

M (^) n^2 )^2

]

=E

n

∑^ n i = 1

(X

i −^ X¯n

 (^) (41a)

=E

n

∑^ n i = 1

( X

i −^ X¯

 (^) (41b)

=E

n

∑^ n i = 1

(Y

i −^ Y¯^

 (^) (41c)

= n^12 E

( (^) ∑n

i = 1

(Y

i −^ Y¯^

 (^) (41d)

Ignoring (^) n^12 for now, expand equation 41 as follows

E

( (^) ∑n

i = 1

(Y

i −^ Y¯^

 =E

( (^) ∑n

i = 1

( Y 2

i −^2 Yi^ Y¯^ + Y¯^2

 (^) (42a)

= E

( (^) ∑n

i = 1

Y (^) i^2 − 2 ¯Y

∑^ n i = 1

Yi +

∑^ n i = 1

Y^ ¯ 2

 (^) (42b)

= E

({ (^) ∑n

i = 1

Y (^) i^2

− 2 n Y¯ 2 + n Y¯ 2

 (^) (42c)

= E

({ (^) ∑n

i = 1

Y (^) i^2

− n Y¯ 2

 (^) (42d)

= E

( (^) ∑n

i = 1

Y (^) i^2

− 2 n Y¯ 2 ∑^ n i = 1

Y (^) i^2 + n^2 Y¯ 4

 (^) (42e)

= E

( (^) ∑n

i = 1

Y (^) i^2

 (^) − 2 n E

[

Y^ ¯ 2

∑^ n i = 1

Y (^) i^2

]

  • n^2 E (^ Y¯ 4 )^ (42f)

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

Now consider the third term on the right side of 42 (ignoring n^2 for now) which we can write as

E [^ Y¯ 4 ]^ = n^14 E

∑^ n i = 1

Yi ∑n j = 1

Yj ∑n k = 1

Yk ∑n ` = 1

Y`

 (^) (45a)

= (^) n^12 E

∑^ n i = 1

Y (^) i^4 +

i 6 = k Y^ i^2 Y^ k^2 +^ ∑ ∑ i 6 = j Y^ i^2 Y^ j^2 +^ ∑ i 6 = j

Y (^) i^2 Y (^) j^2 + · · ·

 (^) (45b)

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 Yi in a non-squared form, the expected value of which will be zero. Given that the Yi are independently and identically distributed, the expected value of each of the double sums is the same, which gives

E [^ Y¯ 4 ]^ = n^14 E

∑^ n i = 1

Y (^) i^4 +

i 6 = k Y^ i^2 Y^ k^2 +^ ∑ ∑ i 6 = j Y^ i^2 Y^ j^2 +^ ∑ i 6 = j

Y (^) i^2 Y (^) j^2 + · · ·

 (^) (46a)

= n^14

[ (^) ∑n

i = 1

E Y (^) i^4 + 3

i 6 = j Y^ i^2 Y^ j^2 +^ terms containing^ EXi

]

(46b)

= n^14

[ (^) ∑n

i = 1

E Y (^) i^4 + 3

i 6 = j Y^ i^2 Y^ j^2

]

(46c)

= n^14

[

n μ 4 + 3 n (n − 1) ( μ 2 )^2

]

(46d)

= n^14 [n μ 4 + 3 n (n − 1) σ^4 ]^ (46e)

= n^13

[

μ 4 + 3 (n − 1 ) σ^4

]

(46f)

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

E

( (^) ∑n

i = 1

( Y

i −^ Y¯^

 =E

( (^) ∑n

i = 1

(Y 2

i −^2 Yi^ Y¯^ + Y¯^2

 (^) (47a)

=E

( (^) ∑n

i = 1

Y (^) i^2

 (^) − 2 n E

[

Y^ ¯ 2

∑^ n i = 1

Y (^) i^2

]

  • n^2 E (^ Y¯ 4 )^ (47b)

=nμ 4 + n(n − 1 )μ^22 − 2 n

[ 1

n

[ (^) μ 4 + (n^ −^ 1 )^ μ^22 ] ] + n 2 [^1 n^3

[ (^) μ 4 + 3 (n^ −^ 1 )^ μ^22

]]

(47c) =n μ 4 + n (n − 1 ) μ^22 − 2 [μ 4 + (n − 1 ) μ^22 ]^ +

[ 1

n

[μ 4 + 3 (n^ −^ 1 )^ μ^22

]]

(47d) = n

2 n μ^4 −^

2 n n μ^4 +

n μ^4 +^

n^2 (n − 1 ) n μ

(^22) − 2 n^ (n^ −^ 1 ) n μ

(^22) + 3(n^ −^ 1 ) n μ

(^22) (47e)

= n

(^2) − 2 n + 1 n μ^4 +

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

(^22) (47f)

= n

(^2) − 2 n + 1 n μ^4 +

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

(^4) (47g)

Now rewrite equation 41 including (^) n^12 as follows

E

[(

M (^) n^2

) 2 ]

= n^12 E

( (^) ∑n

i = 1

Yi − Y¯

) 2 )^2

 (^) (48a)

= n^12

( (^) n (^2) − 2 n + 1 n μ^4 +

(n − 1) (n^2 − 2 n + 3 ) n σ^4

(48b)

= n

(^2) − 2 n + 1 n^3 μ^4 +

(n − 1 ) (n^2 − 2 n + 3) n^3 σ^4 (48c) = (^ n^ −^ 1 )

2 n^3 μ^4 +

(n − 1 ) (n^2 − 2 n + 3) n^3 σ^4 (48d) Now substitute equations 34 and 48 into equation 33 to obtain

V ar (M (^) n^2 )^ =E

[(

M (^) n^2 )^2

]

− (^ E M (^) n^2 )^2

= (n^ −^ 1 )

2 n^3 μ^4 +

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

(^4) − (^ n^ −^ 1 )^2 n^2 σ

4

We can simplify this as

V ar

S n^2

= n

2 ( n − 1 )^2 V ar^

M (^) n^2

= n

2 ( n − 1 )^2

( (^) ( n − 1) 2 μ 4 n^3 −^

( n − 1) (n − 3) σ^4 n^3

= μ n^4 − (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

= M (^) n^2

5.5. Expected value of σˆ^2. We can compute the expected value of σˆ^2 by substituting in from equation 31 as follows

E

σˆ^2

=E

M (^) n^2

= n^ − n 1 σ^2

5.6. Variance of σˆ^2. We can compute the variance of ˆσ^2 by substituting in from equation 50 as follows

V ar

σˆ^2

= V ar

M (^) n^2

= (n^ −^ 1)

(^2) μ 4 n^3 −^

(n − 1) (n − 3) σ^4 n^3 = μ^4 −^ μ

(^22) n −^

2 (μ 4 − 2 μ^22 ) n^2 +^

μ 4 − 3 μ^22 n^3

We can also write this in an alternative fashion V ar (ˆσ^2 )^ =V ar (^ M (^) n^2 ) = (^ n^ −^ 1)^

(^2) μ 4 n^3 −^

( n − 1 ) (n − 3 ) σ^4 n^3 = (^ n^ −^ 1)^

(^2) μ 4 n^3 −^

( n − 1 ) (n − 3 ) μ^22 n^3 = n

(^2) μ 4 − 2 n μ 4 + μ 4 n^3 −^

n^2 μ^22 − 4 n μ^22 + 3 μ^22 n^3 = n

(^2) ( μ 4 − μ (^22) ) − 2 n ( μ 4 − 2 μ (^22) ) + μ 4 − 3 μ (^22) n^3 = μ^4 −^ μ

(^22) n −^

2 (μ 4 − 2 μ^22 ) n^2 +^

μ 4 − 3 μ^22 n^3

6. NORMAL POPULATIONS

6.1. Central moments of the normal distribution. For a normal population we can obtain the central mo- ments by differentiating the moment generating function. The moment generating function for the central moments is as follows

MX (t) = e t (^2 2) σ 2

. (59)

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

E(X − μ) = (^) dtd

e t (^2 2) σ 2 ) |t = 0 = t σ^2

e t (^2 2) σ 2 ) |t = 0 = 0

The second central moment is

E(X − μ )^2 = d

2 dt^2

e t (^2 2) σ 2 ) |t = 0

= (^) dtd

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

E(X − μ )^3 = d

3 dt^3

e t (^2 2) σ 2 ) |t = 0

= (^) dtd

t^2 σ^4

e t (^2 2) σ 2 )

  • σ^2

e t (^2 2) σ 2 )) |t = 0 =

t^3 σ^6

e t^2 2 σ^2

  • 2 t σ^4

e t^2 2 σ^2

  • t σ^4

e t^2 2 σ^2

|t = 0

t^3 σ^6

e t (^2 2) σ 2 )

  • 3 t σ^4

e t (^2 2) σ 2 )) |t = 0 = 0

The fourth central moment is