some illustrations of econometric problems topic1

59
Some Illustrations of Econometric Problems Topic1

Post on 19-Dec-2015

217 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Some Illustrations of Econometric Problems Topic1

Some Illustrations of Econometric Problems

Topic1

Page 2: Some Illustrations of Econometric Problems Topic1

Econometrics attempts to measure quantitatively the concepts

developed by Economic theory

and use the measures to prove or disprove the latter.

Page 3: Some Illustrations of Econometric Problems Topic1

Problem1: Estimating the demand curve of a product and measuring the price elasticity of demand at a single point

Step1:Collection of data (after sortingvarious problems associated with it. )

Page 4: Some Illustrations of Econometric Problems Topic1

One additional problem: How do you Know that this data is suitable for estimating a demand curve?

The data needs to come from a period such that consumer income prices of related goods and consumer tastes and preferenceshad all remained constant.

Page 5: Some Illustrations of Econometric Problems Topic1

Solution: Adjust data and/or throw some of it out

This is known as theIdentification Problem.

Page 6: Some Illustrations of Econometric Problems Topic1

Step2: Identify that

PED d(lnQ)/d(lnP)

Step3: Change the numbers in the dataset to the natural log form.

That is, change P =2 to lnP = ln2 etc.

Page 7: Some Illustrations of Econometric Problems Topic1

Step4: Propose the regression model

Recognize that = dlnQ/dlnP = PED

lnQ = lnP +

Page 8: Some Illustrations of Econometric Problems Topic1

Step5:  Impose the restrictions of the Classical Linear Regression Model

Perform a linear regression of lnQ on lnP and estimate

Page 9: Some Illustrations of Econometric Problems Topic1

Problem2: Do we suffer from money illusion? Testing the homogeneity property of degree 0 of a demand function

Theory :Demand stays unchanged if all prices as well as consumer income changeby the same proportion.

The rational consumer does not suffer from money illusion.

Page 10: Some Illustrations of Econometric Problems Topic1

The demand function is homogeneous of degree 0.

Procedure of Test:

Step 1: Estimate

lnQ = lnP + lnp1 + lnp2 +

….+ n lnpn + lnY

Test the hypothesis :

n

Page 11: Some Illustrations of Econometric Problems Topic1

Problem3: Does a production function exhibit Constant, Increasing or Decreasing returns to scale?

A Cobb-Douglas production function:

Q = ALaKb A, a, b >0

CRS if a+b =1, IRS if a+b > 1 DRS otherwise.

Page 12: Some Illustrations of Econometric Problems Topic1

Step1: Rewrite the production function as

 lnQ = lnA + alnL + blnK

Step2: Collect data on Q, L and K  

Step3: Transform each number to its natural log form

Page 13: Some Illustrations of Econometric Problems Topic1

Step4: Run a linear regression of lnQ on lnL and lnK and estimate the coefficients a and b.

Step5: Test the hypotheses H0 : a+b =1 versus H1: a+b >1 ; and/or H0 : a+b =1 versus H1: a+b < 1 

Page 14: Some Illustrations of Econometric Problems Topic1

Diagnostic tests

An airliner suspects that the demand relationship post September 11 is not the same as it was before

How does it verify this?

Page 15: Some Illustrations of Econometric Problems Topic1

Chow test

Use the sum of squared errors or squared residuals, or RSS, to evaluate how good an estimated regression line

High RSS means poor fit and vice versa

Page 16: Some Illustrations of Econometric Problems Topic1

Idea:

If the old model is no longer applicable then the use of newly acquired data will produce a larger RSS, compared to the original value of the RSS

So reject the null hypothesis that the demand is unchanged if the new RSS is too large compared to the old value

Page 17: Some Illustrations of Econometric Problems Topic1

A statistic called an F-statistic and a distribution called an F-distribution

is used to quantify the notion of ‘too large’

Page 18: Some Illustrations of Econometric Problems Topic1

Revision of Probability Theory

Topic2

Page 19: Some Illustrations of Econometric Problems Topic1

Suppose that an experiment is scheduled to be undertaken

What is the chance of a success?

What is the chance of a failure?

Page 20: Some Illustrations of Econometric Problems Topic1

Success and Failure are called Outcomes of the experiment or Events

Events may be made up of elementaryevents

Experiment: Tossing a dice

An elementary event : Number 3 shows up

An event : A number less than 3 shows up

Page 21: Some Illustrations of Econometric Problems Topic1

Question: What is the probability of getting a 3?

Answer: 1/6 (assuming all six outcomes are equally likely )

This approach is known asClassical Probability

If we could not assume that all the eventswere equally likely, we might proceed as follows:

Page 22: Some Illustrations of Econometric Problems Topic1

If the experiment was done a large number of times, say 100, and number 3 came up 21 times, then(Probability of getting a 3) = 21/100

This is the Relative Frequency approachto assess probability

Assigning probability values according to One’s own beliefs is the Subjective probability method

Page 23: Some Illustrations of Econometric Problems Topic1

We shall follow the Relative Frequency approach

That is, use past data to assess probability

Page 24: Some Illustrations of Econometric Problems Topic1

Probability Theory  The probability of an event e is

the number   P(e) = f/N where

f is the frequency of the event occurring N is the total frequency and N is ‘large’.

  

Page 25: Some Illustrations of Econometric Problems Topic1

The sample space S is the grey area = 1

Event A: Red oval

Event B: Blue Triangle

A’: Everything that is still grey (not A)

Page 26: Some Illustrations of Econometric Problems Topic1

Red and White and Blue: A or B (A B)

White Area: A and B (A B)

A and B are not mutually exclusive

Page 27: Some Illustrations of Econometric Problems Topic1

The sample space S is the grey area = 1

Event A: Red oval Event B: Blue Triangle

A and B are mutually exclusive

Page 28: Some Illustrations of Econometric Problems Topic1

Axiomatic Probability is a branch of probability theory based on the following axioms.

(1) 0 P(e) 1 (2) If e, f are a pair of events that are

mutually exclusive then probability both e and f occur is zero

P(e and f) = 0  

Page 29: Some Illustrations of Econometric Problems Topic1

(3) P(e) = 1 – P(e’)

  where e’ is the event “ not e”

  (4) P(S) = 1

  that is, the sample space S contains all events that can possibly occur

  (5) P() = 0 where is the non-event

  That is, an event not contained within S will not occur.

Page 30: Some Illustrations of Econometric Problems Topic1

= P(A or B) + P(A and B)

P(B) = Triangle Area P(A) = Oval Area

P(A or B) = r + w + b P(A and B) = w So, P(A) + P(B)

= r + w + b + w

The Addition Rule for 2 events A and B

P(A or B) = P(A) + P(B) - P( A and B)

Page 31: Some Illustrations of Econometric Problems Topic1

Probability Distributions

Page 32: Some Illustrations of Econometric Problems Topic1

Outcome

Deterministic Random

Non-numeric Numeric

Page 33: Some Illustrations of Econometric Problems Topic1

• Throwing a dice and noting the number on the side up has a numeric outcome.

• Let Y be “the result of throwing a dice”

• Y is a random variable because Y can take any of the values 1,2,3,4,5 and 6.

Page 34: Some Illustrations of Econometric Problems Topic1

The probability distribution of Y (assuming a fair dice) is given by the Table below:

Y= y P(Y=y) 1 1/6 2 1/6 3 1/6 4 1/6 5 1/6 6 1/6

Page 35: Some Illustrations of Econometric Problems Topic1

Formally, we denote by xi (for i = 1,2,

….n) the possible values taken by the random variable X. If p(xi) is the

probability assigned to xi, then

 p(xi) = 1 (1)

 

Page 36: Some Illustrations of Econometric Problems Topic1

The Expected Value of a random variable Y ( E(Y) ) is the value the variable is most likely to take, on averageThe Expected Value therefore is also called the Average or Mean of the Probability Distribution.

Page 37: Some Illustrations of Econometric Problems Topic1

• The Standard Deviation of a random

• variable Y ( Ymeasures its dispersion around the expected value.

• The Variance (2Y) is the square of the

standard deviation.

Page 38: Some Illustrations of Econometric Problems Topic1

Expectation:

The Expected value of X, written E(X) is the weighted average of the values X can take. Using notations,

 E(X) ≡p(xi)xi (2)

Page 39: Some Illustrations of Econometric Problems Topic1

• Calculations : For the probability distribution

• discussed,

Y= y P(Y=y) 1 1/6 2 1/6 3 1/6 4 1/6 5 1/6 6 1/6

E(Y) = (1/6) *1 +(1/6) * 2 +(1/6) * 3 +(1/6) * 4 +(1/6) * 5 +(1/6) * 6 = 3.5

2Y

= (1/6) *(1-3.5)2 +(1/6) * (2 -3.5)2 +(1/6) * (3 -3.5)2 +(1/6) * (4 -3.5)2 +(1/6) * (5 -3.5)2 +(1/6) * (6 -3.5)2 = 2.917

Y = 2.917= 1.708

Page 40: Some Illustrations of Econometric Problems Topic1

The expected value of a constant k is k itself

E(k) = k The idea is that if I am always going to get the same number, say 5, then the expected value is 5

Page 41: Some Illustrations of Econometric Problems Topic1

The expected value of a function g(X) is given by

E(g(x)) ≡ p(xi)g(xi) (3)

Example: Suppose that I stand to win the money value of the square of the number that shows up on the dice.

Page 42: Some Illustrations of Econometric Problems Topic1

I throw a 2 I win 4, and if I throw 6, I get 36, etc.

E(X2) = p(xi)xi2 = 1/6* 12 + 1/6* 22 +

1/6* 32+ 1/6* 42+ 1/6* 52+ 1/6* 62 = 15.167

Page 43: Some Illustrations of Econometric Problems Topic1

E(kX) = kE(X) where k is a constant

Variance of X, ( X ) is the spread

around the mean value of X, x . So  

X ≡ E(X - x)

2 where x is mean of X or E(X). 

Page 44: Some Illustrations of Econometric Problems Topic1

E(X-x )2 = E(X2 ) – 2E(Xx )+ E(x

2)

= E(X2 ) – x (X)+ E(x2)

= E(X2 ) – x x + x2

X = E(X2 ) –x

2

(X-x )2 = X2 - 2Xx + x

2

Page 45: Some Illustrations of Econometric Problems Topic1

Standard deviation of X, X =

In the dice-throwing example, x = 3.5 and E(X2) = 15.167. So  

X = 15.167 – (3.5)2 = 2.917

Page 46: Some Illustrations of Econometric Problems Topic1

and so Y = aX

 

Theory: If Y ≡ aX + b where a and b are constants, then

 Y = aX + b ; Y = a2

X

The risk and the return of 10 shares is ten times that of holding one share of the same company. 

Page 47: Some Illustrations of Econometric Problems Topic1

= aE(X) + b

Proof: E(Y) = E(aX +b) = E(aX) + E(b)

= ax + b 

Page 48: Some Illustrations of Econometric Problems Topic1

= E(aX + b - ax –b)2

 

Y = E(Y-Y)2

= E(aX - ax )2  

Page 49: Some Illustrations of Econometric Problems Topic1

= E(a2X2 ) – ax (X)+ E(a2 x2)

= E(aX)2) – 2E(aXax )+ E(ax)2 =

= a2 E(X2 ) – a2 x x + a2 x2

= a2E(X2 ) – a2x2

= a2 (E(X2 ) – x2)

= a2X

Page 50: Some Illustrations of Econometric Problems Topic1

Continuous random variables

Each possible value of the random variable x has zero probability but a positive probability density

Page 51: Some Illustrations of Econometric Problems Topic1

The probability density function (pdf), is denoted by f(x)

f(x) assigns a probability density

to each possible value x the random

variable X may take.

Page 52: Some Illustrations of Econometric Problems Topic1

X

The f(.) function assigns a vertical distance to each value of x

x

Probability Density f(x)

Page 53: Some Illustrations of Econometric Problems Topic1

The integral of the pdf on an interval is the probability that the random variable takes a value within this interval.

P(a X b )

= a b f(x)dx

Page 54: Some Illustrations of Econometric Problems Topic1
Page 55: Some Illustrations of Econometric Problems Topic1

The total probability must be 1

= - + f(x)dx

P(-X )

= 1

Page 56: Some Illustrations of Econometric Problems Topic1

Example: A pdf is given by f(x) where

 f(x) = 3x2 for 0 ≤ x ≤ 1

= 0 otherwise

 

= 0 1 3x2dx

= [x3]0,1 = 13 – 03 = 1

 

0 1 f(x)dx

Proof that the function is indeed a pdf:

Page 57: Some Illustrations of Econometric Problems Topic1

E(X) = X xf(x)dx

= 0 1 x*3x2 dx

= 0 1 3x3dx

= [(3/4)x4]0,1 = 0.75

Page 58: Some Illustrations of Econometric Problems Topic1

The mode is the value of X that has the maximum density. So it is 1.

The median m solves

0 m 3x2dx = 0.5

m3 = 0.5 so that m = 0.794.

[x3]0,m = 0.5

Page 59: Some Illustrations of Econometric Problems Topic1

(X) = 0 1 (X-0.75)23x2dx

= 0 1 3x4dx - 0 1 4.5x3dx

+

0 1 1.6875x2dx

= 0.6 -1.125 + 0.5625 = 0.0375