Docsity

Single Linear Regression, Lectures de Econométrie et économie des mathématiques

Toggle sidebar
bg1
Lecture 4: Linear Regression with One Regressor
Lecture 4: Linear Regression with One Regressor 1 / 65
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28

Aperçu partiel du texte

Télécharge Single Linear Regression et plus Lectures au format PDF de Econométrie et économie des mathématiques sur Docsity uniquement!

Lecture 4 : Linear Regression with One Regressor

Outline

(^1) The Linear Regression Model

2 The OLS Estimation Method for a Linear Regression Model

(^3) The Algebraic Properties of the OLS Estimator

(^4) Measures of Fit

(^5) The Least Squares Assumptions

6 Sampling Distribution of the OLS Estimators

The meaning of regression in statistics?

In statistics, regression analysis focus on the conditional mean of the dependent variable given the independent variables, which is a function of the values of independent variables. A very simple functional form of a conditional expectation is a linear function. That is, we can model the conditional mean as follows,

E(Y | X = x) = f (x) = β 0 + β 1 x (1) The above equation is a simple linear regression function.

Research question:

Let’s introduce a regression analysis with the application of test scores versus class sizes in California school districts. Can reducing class sizes increase students’ test scores?

How can we answer this question?

Compute conditional means

Compute the expected values of test scores, given the different class sizes.

E(TestScore|ClassSize = 20 ) E(TestScore|ClassSize = 22 )

The effect of class size on test scores is

E(TestScore|ClassSize = 20 ) − E(TestScore|ClassSize = 22 )

The population regression function for test scores on class

sizes

We use a linear regression function to describe the relationship between test scores and class sizes. The population regression function or the population regression line

E(TestScore|ClassSzie) = β 0 + β 1 ClassSize (2)

The simple linear regression model for test scores on class

sizes

A distinction between the population regression function and

the population regression model

A population regression function It’s a deterministic relation between class size and the expectation of test scores. However, we cannot compute the exact value of the test score of a particular observation. A population regression model It’s a complete description of a data generating process (DGP). The association between test scores and class size is not deterministic, depending on the value of other factors.

Interpret β 1

Denote ∆TestScore and ∆ClassSize to be their respective change. Holding other factors constant, we have

∆TestScore = β 1 ∆ClassSize

where β 0 is removed because it is a constant. Then, we get

β 1 = ∆TestScore ∆ClassSize That is, β 1 measures the change in the test score resulting from a one-unit change in the class size.

Marginal effect

When TestScore and ClassSize are two continuous variable, we can write β 1 as

β 1 = dTestScore dClassSize We often call β 1 as the marginal effect of the class size on the test score.

Interpret β 0

β 0 is the intercept in the model. Sometimes it bears real meanings, but sometimes it merely represents an intercept. In regression model of test scores on class sizes, β 0 is the test score when the class size and other factors are all zero, which is obviously nonsensical.

The general linear regression model

Consider two random variables Y and X. For both, there are n observations so that each observation i = 1 , 2 , 3 ,... is associated with a pair of values of (Xi , Yi ). Then a simple linear regression model that associates Y with X is

Yi = β 0 + β 1 Xi + ui , for i = 1 ,... , n (4) Yi is called the dependent variable, the regressand, or the LHS (left-hand side) variable. Xi is called the independent variable, the regressor, or the RHS (right-hand side) variable.

An graphical illustration of a linear regression model

The OLS Estimation Method for a Linear Regression Model

The intuition for the OLS and minimization

We use the ordinary least squares (OLS) estimation method to estimate the simple linear regression model. Yi = β 0 + β 1 Xi + ui , for i = 1 ,... , n