Docsity

EC3202: Econometrics I - Overview of Regression Analysis, Appunti di Econometria

Toggle sidebar
bg1
EC3202: Econometrics I
Alex Trew
Email: awt2; Tel: (46)1950; Room: G12E
Office Hours: Wednesday 9–11am.
Lecture 1: Overview of Regression Analysis
Studenmund, Ch.1
Today
1. Dependent and Independent Variables
•Causality
2. Single equation regression models
•Cross section
•No time series.
3. Linearity
4. Stochastic error term
5. Extending the notation; general model
6. The estimated regression
7. Examples
8. Theoretical & estimated regression equations
•Ordinary Least Squares (OLS)
EC3202 Lecture 1: Overview of Regression Analysis 1 of 15
Preliminaries
Assessment
•Class Test (40%); multiple choice on whole syllabus. 26th November. Calculators
•Joint Project (50%); 3,000 words. Due at MIDDAY, 17th December
•Presentation (10%); 10–12 mins. 16–17th December, in F2
Labs – Economics Computer Room nr. Sch VI
•Learning how to use Eviews
•Sign up in on MMS
•We are limited in space, so stick to your lab please
•Questions will be placed on WebCT; answers will follow after
•Lab questions vs. Pro ject work
Group Project
•To be completed in pairs. Data will be provided; you select the question
•Emphasis is on econometric methodology; not on novelty of the economic question
•Information online; lecture in Week 4
•It is an unsupervised project, though you will have open lectures and individual
meetings with lab tutors
Use of WebCT.
•Lecture notes and lab material will be there
•Soon: Data sources for your project, plus other material
EC3202 Lecture 1: Overview of Regression Analysis 2 of 15
Why Econometrics?
Three principle uses:
1. Quantitative description of economic relationships
•What is the demand for oranges as a function of prices of oranges, apples and incomes?
2. Hypothesis testing
•Is the price of apples significantly related to the demand for oranges?
3. Forecasting
•How might we expect the demand for oranges to change if incomes were to fall by 10%?
•We won’t be stressing this aspect
Moreover
•A confidence in interpreting and representing data is one of the most highly valued skills
•You will be able to do more than draw pie-charts, ideally you will have a basic
understanding of the complexities in data, sampling, hypotheses testing, and so on.
EC3202 Lecture 1: Overview of Regression Analysis 3 of 15
pf3
pf4

Anteprima parziale del testo

Scarica EC3202: Econometrics I - Overview of Regression Analysis e più Appunti in PDF di Econometria solo su Docsity!

EC3202: Econometrics I

Alex Trew

Email: awt2; Tel: (46)1950; Room: G12E

Office Hours: Wednesday 9–11am.

Lecture 1: Overview of Regression Analysis

Studenmund, Ch.

Today

  1. Dependent and Independent Variables
    • Causality
  2. Single equation regression models
    • Cross section
    • No time series.
  3. Linearity
  4. Stochastic error term
  5. Extending the notation; general model
  6. The estimated regression
  7. Examples
  8. Theoretical & estimated regression equations
    • Ordinary Least Squares (OLS)

EC3202 Lecture 1: Overview of Regression Analysis 1 of 15

Preliminaries

Assessment

  • Class Test (40%); multiple choice on whole syllabus. 26th November. Calculators
  • Joint Project (50%); 3,000 words. Due at MIDDAY, 17th December
  • Presentation (10%); 10–12 mins. 16–17th December, in F

Labs – Economics Computer Room nr. Sch VI

  • Learning how to use Eviews
  • Sign up in on MMS
  • We are limited in space, so stick to your lab please
  • Questions will be placed on WebCT; answers will follow after
  • Lab questions vs. Project work

Group Project

  • To be completed in pairs. Data will be provided; you select the question
  • Emphasis is on econometric methodology; not on novelty of the economic question
  • Information online; lecture in Week 4
  • It is an unsupervised project, though you will have open lectures and individual

meetings with lab tutors

Use of WebCT.

  • Lecture notes and lab material will be there
  • Soon: Data sources for your project, plus other material

Why Econometrics?

Three principle uses:

1. Quantitative description of economic relationships

  • What is the demand for oranges as a function of prices of oranges, apples and incomes?

2. Hypothesis testing

  • Is the price of apples significantly related to the demand for oranges?

3. Forecasting

  • How might we expect the demand for oranges to change if incomes were to fall by 10%?
  • We won’t be stressing this aspect

Moreover

  • A confidence in interpreting and representing data is one of the most highly valued skills
  • You will be able to do more than draw pie-charts, ideally you will have a basic

understanding of the complexities in data, sampling, hypotheses testing, and so on.

Econometric Fundamentals

The PDF: Probability Distribution Function of a Normal (Gaussian) Distribution

f (x) =

1 √

2 πσ

2

exp

1

2

(x−μ)

2

σ

2

  • Estimates from a single sample of size n are ˆμ and σˆ
  • Repeated random sampling of a variable X gives the sampling distribution;

μ ˆ ∼ N (μ,

σ

2

n

  • What if we don’t know μ or σ: We can use μˆ, σˆ and n to make probabilistic inferences
  • This course is about taking those estimates, identifying the degree to which inferences

about the true values can be made and then testing hypotheses about underlying

relationships given our known degrees of confidence

EC3202 Lecture 1: Overview of Regression Analysis 4 of 15

An important assumption is that the sample observations are i.i.d. – independent and

identically distributed

Central Limit Theorem: As sample size n → ∞, the distribution of the samples becomes well

approximated by the Normal distribution N (μ, σ), regardless of the underlying population

distribution

  • Further, for quite small n, the sampling distribution begins to look Normal

Think of 2 variables, X and Y

  • Suppose Y is some unknown function of X. So, Y = f (X)
  • When we estimate this relationship using data we need to estimate also the

distributions from which the data are sampled

  • We also need to specify a functional form, e.g.,

Y = β 0

  • β 1

X

  • where β 0

and β 1

are constants (not related to X or Y )

Suppose that we hypothesise that β 1 is positive; we want to test this hypothesis using data

  • Using our dataset containing X and Y , we estimate our candidate function using

regression analysis

. We are ”regressing Y on X”

EC3202 Lecture 1: Overview of Regression Analysis 5 of 15

  • The regression yields estimates for the coefficients

β 0 and

β 1

Given those estimates, we can address the hypothesis,

  • Is

β 1 higher than zero? Is

β 1 significantly higher than zero?

Before we even get to that question, we need to make sure that the estimator – the method we

used to obtained the estimates – is appropriate

  • We need to ensure that, among other things, . The function is specified correctly (or at least close to correctly) . Our sample is large enough . We have the right variables; neither too many nor too few = parsimony

Then, our underlying distributional assertions – which can be assessed against the observed

distribution of the sample – allow us to consider the confidence with which we can reject the

hypothesis that β 1

Dependent Variables, Independent Variables and Causality

We suggested above some relationship Y = f (X)

  • Suppose that there are many ‘X’-variables, Y = f (X 1

, X

2

  • We can model the demand for oranges with data on the price of oranges, the price of

apples and incomes.

Y is the dependent variable. Also called the explained, or endogenous, variable

X 1

, X 2

, ... are the independent variables. Also referred to as the explanatory,

or exogenous, variables.

In other words, we suggest that changes in Y are ‘explained by’ some

combination of changes in X 1

, X 2

, ...

But we are not proving a relationship by estimating the regression

And this says nothing about causality

Estimated Regression Equations

We cannot directly observe the underlying ‘true’ model

• Y

i

= β 0

  • β 1

X

1 i

  • β 2

X

2 i

  • ... + β K

X

Ki

  • ε i

Instead, we estimate a regression equation given the data we do observe for

Y, X 1

, X 2

, ...X K

• Y

i

β 0

β 1

X

1 i

β 2

X

2 i

β K

X

Ki

  • e i

Y

i

β 0

β 1

X

1 i

β 2

X

2 i

β K

X

Ki

The estimation procedure (which we will formalise) gives us estimated

regression coefficients,

ˆ

β 1

, etc.

These coefficient estimates then give us an estimated value for the dependent

variable,

ˆ Y i

, given each observed X i

The estimation method will try to get the best fit of the estimates

ˆ Y i

to the

data Y i

  • The residual, e i

= Y

i

Y

i

  • Different from the error term, ε = Y i

− E(Y

i

|X

i

EC3202 Lecture 1: Overview of Regression Analysis 12 of 15

True and Estimate Regression Lines

X

Y

0

0

Y

i

0

1

X

i

(Estimated Line)

E(Y

i

|X

i

0

1

X

i

(True Line)

X

6

Y

6

Y

6

e

6

6

The true relationship (solid line) cannot be observed. We use observa-

tions (grey dots) to estimate the relationship (dotted line). Consider

observation i = 6 (red dot). With X

6

, our estimated regression has

residual e

6

= Y

6

Y

6

. The true relationship is slightly different; the

stochastic error is ε

6

= E(Y

6

|X

6

) − Y

6

EC3202 Lecture 1: Overview of Regression Analysis 13 of 15

Ordinary Least Squares

The purpose of regression analysis is to go from the theoretical equation to the estimated

equation:

Y

i = β 0

  • β 1

X

1 i

  • β 2

X

2 i

  • ... + β K

X

Ki

  • ε i

Y

i

β 0

β 1

X

1 i

β 2

X

2 i

β K

X

Ki

  • e i

Y

i

β 0

β 1

X

1 i

β 2

X

2 i

β K

X

Ki

We must adopt an appropriate method for estimating the coefficients

  • A method that is efficient, unbiased, etc.

We want a ‘best fit’ of

Y

i to Y i , so why let’s start by minimising the sum of the squared

residuals

In other words,

min

ˆ β 0

, ˆ β 1

,..., ˆ β K

n X

i=

e

2

i

This is the method of Ordinary Least Squares (OLS)

Recap

Revise EC2003 for,

  • Measures of location (mean, etc.); random variables; Normal, t-, and F -distributions;

central limit theorem; hypothesis testing and confidence intervals

Important things to be clear on now,

  • Notation
  • Causality
  • Linearity in variables and coefficients
  • The true stochastic model and the estimated model
  • Stochastic error term vs. residual from a regression
  • The concept of OLS

The sampling distribution and repeated sampling

  • Two samples of size n from the same population with the same underlying distribution

can yield two different estimates of the mean and variance

  • If we take many such samples, we obtain the distribution of sample means, the sampling

distribution

  • We make inferences about the underlying distribution from our estimates
  • Importantly: When the samples are small, the distribution is not quite Normal