Simple Linear Regression: The Model

Similar documents
Review of Econometrics

Quantitative Analysis of Financial Markets. Summary of Part II. Key Concepts & Formulas. Christopher Ting. November 11, 2017

ECON The Simple Regression Model

Econometrics A. Simple linear model (2) Keio University, Faculty of Economics. Simon Clinet (Keio University) Econometrics A October 16, / 11

ECON3150/4150 Spring 2015

P1.T2. Stock & Watson Chapters 4 & 5. Bionic Turtle FRM Video Tutorials. By: David Harper CFA, FRM, CIPM

The Simple Regression Model. Part II. The Simple Regression Model

2. Linear regression with multiple regressors

L2: Two-variable regression model

Regression and Statistical Inference

Intermediate Econometrics

Two-Variable Regression Model: The Problem of Estimation

Econometrics I KS. Module 2: Multivariate Linear Regression. Alexander Ahammer. This version: April 16, 2018

LECTURE 2 LINEAR REGRESSION MODEL AND OLS

Economics 113. Simple Regression Assumptions. Simple Regression Derivation. Changing Units of Measurement. Nonlinear effects

Homoskedasticity. Var (u X) = σ 2. (23)

Econometrics Multiple Regression Analysis: Heteroskedasticity

Introductory Econometrics

Linear Regression with 1 Regressor. Introduction to Econometrics Spring 2012 Ken Simons

Econometrics Summary Algebraic and Statistical Preliminaries

Econometrics I Lecture 3: The Simple Linear Regression Model

Simple Linear Regression

Lecture: Simultaneous Equation Model (Wooldridge s Book Chapter 16)

Motivation for multiple regression

Introductory Econometrics

The Simple Regression Model. Simple Regression Model 1

Multivariate Regression Analysis

Ch 2: Simple Linear Regression

Applied Statistics and Econometrics

ECON3150/4150 Spring 2016

WISE MA/PhD Programs Econometrics Instructor: Brett Graham Spring Semester, Academic Year Exam Version: A

The Multiple Regression Model Estimation

the error term could vary over the observations, in ways that are related

Lecture 14 Simple Linear Regression

Regression Analysis: Basic Concepts

Heteroskedasticity and Autocorrelation

Intermediate Econometrics

Making sense of Econometrics: Basics

WISE MA/PhD Programs Econometrics Instructor: Brett Graham Spring Semester, Academic Year Exam Version: A

MFin Econometrics I Session 4: t-distribution, Simple Linear Regression, OLS assumptions and properties of OLS estimators

Econometrics I KS. Module 1: Bivariate Linear Regression. Alexander Ahammer. This version: March 12, 2018

ECON2228 Notes 2. Christopher F Baum. Boston College Economics. cfb (BC Econ) ECON2228 Notes / 47

Linear models. Linear models are computationally convenient and remain widely used in. applied econometric research

HOW IS GENERALIZED LEAST SQUARES RELATED TO WITHIN AND BETWEEN ESTIMATORS IN UNBALANCED PANEL DATA?

Linear Regression. In this problem sheet, we consider the problem of linear regression with p predictors and one intercept,

Recent Advances in the Field of Trade Theory and Policy Analysis Using Micro-Level Data

The Simple Linear Regression Model

3. Linear Regression With a Single Regressor

Statistics II. Management Degree Management Statistics IIDegree. Statistics II. 2 nd Sem. 2013/2014. Management Degree. Simple Linear Regression

Structural Equation Modeling An Econometrician s Introduction

Wooldridge, Introductory Econometrics, 4th ed. Chapter 2: The simple regression model

Introductory Econometrics

Simple Linear Regression Model & Introduction to. OLS Estimation

Econometrics. Week 4. Fall Institute of Economic Studies Faculty of Social Sciences Charles University in Prague

INTRODUCTORY ECONOMETRICS

F9 F10: Autocorrelation

Heteroskedasticity. Part VII. Heteroskedasticity

ECON Introductory Econometrics. Lecture 7: OLS with Multiple Regressors Hypotheses tests

Multiple Regression Analysis

Regression with a Single Regressor: Hypothesis Tests and Confidence Intervals

Advanced Econometrics

Least Squares Estimation-Finite-Sample Properties

EMERGING MARKETS - Lecture 2: Methodology refresher

Multiple Regression Analysis: Heteroskedasticity

The Statistical Property of Ordinary Least Squares

Lectures 5 & 6: Hypothesis Testing

Regression Models - Introduction

Introduction to Estimation Methods for Time Series models. Lecture 1

Simple Linear Regression

Applied Statistics and Econometrics

LECTURE 6. Introduction to Econometrics. Hypothesis testing & Goodness of fit

Measuring the fit of the model - SSR

Econometrics - 30C00200

statistical sense, from the distributions of the xs. The model may now be generalized to the case of k regressors:

Environmental Econometrics

Review of Classical Least Squares. James L. Powell Department of Economics University of California, Berkeley

ECON Introductory Econometrics. Lecture 5: OLS with One Regressor: Hypothesis Tests

10 Panel Data. Andrius Buteikis,

Introduction to Econometrics

Chapter 6: Linear Regression With Multiple Regressors

Testing Linear Restrictions: cont.

Heteroskedasticity. We now consider the implications of relaxing the assumption that the conditional

F3: Classical normal linear rgression model distribution, interval estimation and hypothesis testing

1 Introduction to Generalized Least Squares

Business Economics BUSINESS ECONOMICS. PAPER No. : 8, FUNDAMENTALS OF ECONOMETRICS MODULE No. : 3, GAUSS MARKOV THEOREM

Contest Quiz 3. Question Sheet. In this quiz we will review concepts of linear regression covered in lecture 2.

The regression model with one stochastic regressor.

Reference: Davidson and MacKinnon Ch 2. In particular page

Linear Regression with Multiple Regressors

Empirical Market Microstructure Analysis (EMMA)

Introductory Econometrics

Bootstrapping Heteroskedasticity Consistent Covariance Matrix Estimator

Practical Econometrics. for. Finance and Economics. (Econometrics 2)

ECON 3150/4150 spring term 2014: Exercise set for the first seminar and DIY exercises for the first few weeks of the course

Lecture 3: Multiple Regression

Ch 3: Multiple Linear Regression

Introduction to Econometrics Midterm Examination Fall 2005 Answer Key

Review of Statistics

2) For a normal distribution, the skewness and kurtosis measures are as follows: A) 1.96 and 4 B) 1 and 2 C) 0 and 3 D) 0 and 0

The regression model with one fixed regressor cont d

Transcription:

Simple Linear Regression: The Model task: quantifying the effect of change X in X on Y, with some constant β 1 : Y = β 1 X, linear relationship between X and Y, however, relationship subject to a random error: Y i = β 0 + β 1 X i + u i (i = 1,..., n), with dependent variable or regressand Yi, independent variable or regressor Xi, regression coefficients β0 (intercept) and β 1 (slope) disturbance or error term ui. β 0, β 1 usually estimated by ordinary least squares (OLS). Econometric Methods & Appl. (WS 17/18) Lecture 3 Slide 1

Simple Linear Regression: OLS I estimates for β 0, β 1 are obtained by finding the minimizers of min (Y i (b 0 + b 1 X i )) b 0,b 1 OLS delivers ˆβ 1 = (X i X )(Y i Y ) = s XY (X i X ) sx ˆβ 0 = Y ˆβ 1 X fitted values: Ŷi = ˆβ 0 + ˆβ 1 X i residuals: ûi = Y i Ŷ i û i = 0, Ŷ i = n Y i, û i X i = 0. Econometric Methods & Appl. (WS 17/18) Lecture 3 Slide

Simple Linear Regression: OLS II coefficient of determination, R : gives the share of the variance of Y due to variation of X builds on the variance decomposition (Y i Y ) = } {{ } TSS (Ŷ i Y ) + } {{ } ESS û i }{{} SSR which decomposes the total sum of squares into the explained sum of squares and the sum of squared residuals. R defined as R = ESS TSS = 1 SSR TSS with 0 R 1, R = rxy = [ (X i X )(Y i Y )] (Xi X ) (Y = s XY. i Y ) sx s Y standard error of the regression: SER = sû, with s û = 1 n ûi = SSR n. Econometric Methods & Appl. (WS 17/18) Lecture 3 Slide 3

Simple Linear Regression: OLS III to study statistical properties of the OLS estimators, we need some assumptions: 1 E(u i X 1,..., X n ) 0 the regressors X i are assumed to be stochastic, regardless of the value all the X 1,..., X n take, the conditional expectation of u i given these X j (j = 1,..., n) vanishes, this implies that E(Yi X i ) = β 0 + β 1 X i, i.e. the conditional expectation of Y i is given by the regression line β 0 + β 1 X i, assumption 1 implies E(u i ) = E(E(u i X i )) = 0 and Cov(u i, X i ) = 0, in practice, therefore, assumption 1 may be inappropriate if error term and regressor are correlated, for instance because u i comprises variables that are correlated with X i or because there s mutual causation between X and Y, assumption 1 does not imply that Xi and u i are independent, it only implies that u i and X i are uncorrelated, assumption 1 does not imply that X i and u i are independent or uncorrelated, in particular it may be possible that Var(u i X 1,..., X n ) depends on X i. Econometric Methods & Appl. (WS 17/18) Lecture 3 Slide 4

Simple Linear Regression: OLS IV E(u i u j X 1,..., X n ) 0 for all i j assumption means that for i j, ui and u j are uncorrelated given X 1,..., X n this does imply that u i and u j are uncorrelated for i j: therefore, this assumption may be inappropriate if time series data are given assumption says nothing about Var(ui X 1,..., X n ); if Var(u i X 1,..., X n ) σu for all i = 1,..., n, then the errors are said to be homoskedastic, if not, they are called heteroskedastic 3 P(X 1 =... = X n ) = 0 assumption 3 ensures that β 1 is identified: if X 1 =... = X n, then the values X i are all equal to the same constant and the model would include two different indistinguishable constants Econometric Methods & Appl. (WS 17/18) Lecture 3 Slide 5

Simple Linear Regression: Properties of OLS estimators I under assumptions 1 and 3, we have: ˆβ 1 = β 1 + 1 (X i X)u i n (X i X) = β 1 + 1 n 1 n (X i X)u i s X conditionally and unconditionally unbiased for β 1 ˆβ 0 = β 0 + 1 n (X X X i)u i 1 n (X i X) = β 0 + 1 n (X X X i)u i s X conditionally and unconditionally unbiased for β 0 is both is both Econometric Methods & Appl. (WS 17/18) Lecture 3 Slide 6

Simple Linear Regression: Properties of OLS estimators II under assumptions 1,, and 3, we have: Var( ˆβ1 X 1,..., X n ) = 1 (X i X) Var(u n (sx) i X 1,..., X n ) Var( ˆβ 0 X 1,..., X n ) = 1 (X X X i) n (s X) Var(u i X 1,..., X n ) under homoskedasticity, these formulas simplify to Var( ˆβ 1 X 1,..., X n ) = 1 σu n sx ) and Var( ˆβ 0 X 1,..., X n ) = 1 n (1 + X σu. s X Econometric Methods & Appl. (WS 17/18) Lecture 3 Slide 7

Simple Linear Regression: Estimating the OLS estimators variances under assumptions 1,, and 3, Var( ˆβ 1 X 1,..., X n ) can be estimated by Var HC ( ˆβ 1 X 1,..., X n ) := 1 (X i X) n(n ) û (sx) i, Var( ˆβ0 X 1,..., X n ) can be estimated by Var HC ( ˆβ 0 X 1,..., X n ) := 1 (X X X i) n(n ) û (sx) i under homoskedasticity, σu can be estimated by sû = 1 n ûi, Var( ˆβ 1 X 1,..., X n ) can be estimated by Var( ˆβ 1 X 1,..., X n ) := 1 s û n sx Var( ˆβ 0 X 1,..., X n ) can be estimated ) by Var( ˆβ 0 X 1,..., X n ) := 1 n (1 + X sû. s X Econometric Methods & Appl. (WS 17/18) Lecture 3 Slide 8

Simple Linear Regression: distribution of the OLS estimators in case of u i i.i.d. N(0, σ u), both t 1 := t 0 := ˆβ 0 β 0 Var( ˆβ0 X 1,...,X n) ˆβ 1 β 1 Var( ˆβ 1 X 1,...,X n) and are t-distributed with n degrees of freedom this can be exploited to develop procedures for testing the hypotheses whether β0 (β 1 ) is equal to (smaller than, larger than) a given value constructing confidence intervals for β0, β 1. Econometric Methods & Appl. (WS 17/18) Lecture 3 Slide 9

Simple Linear Regression: asymptotic distribution of the OLS estimators ( ) ˆβ0 if X n and sx converge for n, then ˆβ := converges in ˆβ 1 case of ( i.i.d. ) errors u (under some technical assumptions) to β0 β :=, more precisely: the conditional distribution of β 1 n( ˆβ β) ( given X1,..., X) n converges to N (0, V ), with V := σ u µ X + σx µ X 1, µ σx µ X 1 X := lim X = lim X n n n i, and σx := lim n s X = lim 1 (X n n i X n ). V can be estimated by ( ) V := s û X X. sx X 1 this can be exploited for developing tests and confidence regions. Econometric Methods & Appl. (WS 17/18) Lecture 3 Slide 10

Simple Linear Regression: asymptotic distribution of the OLS estimators under heteroskedasticity denoting ω i := Var(u i X 1,..., X n ) and additionally assuming that 1 ω n i, 1 X n i ω i, and 1 X n i ω i converge to some constants, the conditional distribution of n( ˆβ β) given X 1,..., X n converges to N (0, V ), with V 1 1 := lim (X i X) ω i (X i X)(X X X i)ω i n (sx) n (X i X)(X X X i)ω i (X X X i) ω i which can be( estimated by ) (X i X) ûi (X i X)(X X X i)ûi 1 1 (sx) n (X i X)(X X X i)ûi (X X X i) ûi again, this can be exploited for developing tests and confidence regions. Econometric Methods & Appl. (WS 17/18) Lecture 3 Slide 11

Simple Linear Regression: Gauss-Markov Theorem if the errors are homoskedastic, then the OLS estimators are efficient among all linear (conditionally) unbiased estimators, i.e. all estimators of the form n a i Y i with a i possibly depending on X 1,..., X n, but not on Y 1,..., Y n, and with E( n a i Y i X 1,..., X n ) equal to β 1 (or β 0 ) have a variance at least as large as that of the corresponding OLS estimator if the errors are heteroskedastic, then there exist (conditionally) unbiased linear estimators for β 0, β 1 with smaller variances than those of the OLS estimators Econometric Methods & Appl. (WS 17/18) Lecture 3 Slide 1