christopher dougherty ec220 - introduction to econometrics (review chapter) slideshow: exercise r.4...

11
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: exercise r.4 Original citation: Dougherty, C. (2012) EC220 - Introduction to econometrics (review chapter). [Teaching Resource] © 2012 The Author This version available at: http:// learningresources.lse.ac.uk/141/ Available in LSE Learning Resources Online: May 2012 This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. This license allows the user to remix, tweak, and build upon the work even for commercial purposes, as long as the user credits the author and licenses their new creations under the identical terms. http://creativecommons.org/licenses/by-sa/3.0/ http://learningresources.lse.ac.uk/

Upload: luis-folsom

Post on 01-Apr-2015

235 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: exercise r.4 Original citation: Dougherty, C. (2012) EC220 - Introduction

Christopher Dougherty

EC220 - Introduction to econometrics (review chapter)Slideshow: exercise r.4

 

 

 

 

Original citation:

Dougherty, C. (2012) EC220 - Introduction to econometrics (review chapter). [Teaching Resource]

© 2012 The Author

This version available at: http://learningresources.lse.ac.uk/141/

Available in LSE Learning Resources Online: May 2012

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. This license allows the user to remix, tweak, and build upon the work even for commercial purposes, as long as the user credits the author and licenses their new creations under the identical terms. http://creativecommons.org/licenses/by-sa/3.0/

 

 http://learningresources.lse.ac.uk/

Page 2: Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: exercise r.4 Original citation: Dougherty, C. (2012) EC220 - Introduction

EXERCISE R.4

1

R.4* Find the expected value of X in Exercise R.2.

[R.2* A random variable X is defined to be the larger of the numbers when two dice are thrown, or the number if they are the same. Find the probability distribution for X.]

Page 3: Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: exercise r.4 Original citation: Dougherty, C. (2012) EC220 - Introduction

Definition of E(X), the expected value of X:

2

The expected value of a random variable, also known as its population mean, is the weighted average of its possible values, the weights being the probabilities attached to the values.

n

iiinn pxpxpxXE

111 ...)(

EXERCISE R.4

Page 4: Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: exercise r.4 Original citation: Dougherty, C. (2012) EC220 - Introduction

EXERCISE R.4

The left side of the table above shows in abstract how an expected value should be calculated.

xi pi xi pi

x1 p1 x1 p1

x2 p2 x2 p2

x3 p3 x3 p3

... ... ...

... ... ...xn pn xn pn

xi pi = E(X)

3

Page 5: Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: exercise r.4 Original citation: Dougherty, C. (2012) EC220 - Introduction

EXERCISE R.4

The random variable X defined in Exercise R.2 could be any of the integers from 1 to 6 with probabilities as shown.

xi pi xi pi xi pi

x1 p1 x1 p1 1 1/36

x2 p2 x2 p2 2 3/36

x3 p3 x3 p3 3 5/36

... ... ... 4 7/36

... ... ... 5 9/36

xn pn xn pn 6 11/36

xi pi = E(X)

4

Page 6: Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: exercise r.4 Original citation: Dougherty, C. (2012) EC220 - Introduction

EXERCISE R.4

Before calculating the expected value, it is a good idea to make an initial guess. The higher values of X have the greatest probabilities, so the expected value is likely to be between 4 and 5.

xi pi xi pi xi pi

x1 p1 x1 p1 1 1/36

x2 p2 x2 p2 2 3/36

x3 p3 x3 p3 3 5/36

... ... ... 4 7/36

... ... ... 5 9/36

xn pn xn pn 6 11/36

xi pi = E(X)

5

Page 7: Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: exercise r.4 Original citation: Dougherty, C. (2012) EC220 - Introduction

EXERCISE R.4

X could be equal to 1 with probability 1/36, so the first entry in the calculation of the expected value is 1/36.

xi pi xi pi xi pi xi pi

x1 p1 x1 p1 1 1/36 1/36

x2 p2 x2 p2 2 3/36

x3 p3 x3 p3 3 5/36

... ... ... 4 7/36

... ... ... 5 9/36

xn pn xn pn 6 11/36

xi pi = E(X)

6

Page 8: Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: exercise r.4 Original citation: Dougherty, C. (2012) EC220 - Introduction

EXERCISE R.4

Similarly for the other 5 possible values.

xi pi xi pi xi pi xi pi

x1 p1 x1 p1 1 1/36 1/36

x2 p2 x2 p2 2 3/36 6/36

x3 p3 x3 p3 3 5/36 15/36

... ... ... 4 7/36 28/36

... ... ... 5 9/36 45/36

xn pn xn pn 6 11/36 66/36

xi pi = E(X)

7

Page 9: Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: exercise r.4 Original citation: Dougherty, C. (2012) EC220 - Introduction

EXERCISE R.4

To obtain the expected value, we sum the entries in this column.

xi pi xi pi xi pi xi pi

x1 p1 x1 p1 1 1/36 1/36

x2 p2 x2 p2 2 3/36 6/36

x3 p3 x3 p3 3 5/36 15/36

... ... ... 4 7/36 28/36

... ... ... 5 9/36 45/36

xn pn xn pn 6 11/36 66/36

xi pi = E(X) 161/36

8

Page 10: Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: exercise r.4 Original citation: Dougherty, C. (2012) EC220 - Introduction

xi pi xi pi xi pi xi pi

x1 p1 x1 p1 1 1/36 1/36

x2 p2 x2 p2 2 3/36 6/36

x3 p3 x3 p3 3 5/36 15/36

... ... ... 4 7/36 28/36

... ... ... 5 9/36 45/36

xn pn xn pn 6 11/36 66/36

xi pi = E(X) 161/36 = 4.47

The expected value turns out to be 4.47, which is in line with our initial guess.

EXERCISE R.4

9

Page 11: Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: exercise r.4 Original citation: Dougherty, C. (2012) EC220 - Introduction

Copyright Christopher Dougherty 1999–2006. This slideshow may be freely copied for personal use.

26.08.06