Docsity

The Simple Regression Models - Lecture Notes | EC 228, Study notes of Economics

Toggle sidebar
bg1
Wooldridge, Introductory Econometrics, 4th
ed.
Chapter 2: The simple regression model
Most of this course will be concerned with use
of a regression model: a structure in which
one or more explanatory variables are consid-
ered to generate an outcome variable, or de-
pendent variable.We begin by considering the
simple regression model, in which a single ex-
planatory, or independent, variable is involved.
We often speak of this as ‘two-variable’ regres-
sion, or ‘Y on X regression’. Algebraically,
yi=β0+β1xi+ui(1)
is the relationship presumed to hold in the pop-
ulation for each observation i. The values of y
are expected to lie on a straight line, depending
on the corresponding values of x. Their values
will differ from those predicted by that line by
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d

Partial preview of the text

Download The Simple Regression Models - Lecture Notes | EC 228 and more Study notes Economics in PDF only on Docsity!

Wooldridge, Introductory Econometrics, 4th ed.

Chapter 2: The simple regression model

Most of this course will be concerned with use of a regression model: a structure in which one or more explanatory variables are consid- ered to generate an outcome variable, or de- pendent variable.We begin by considering the simple regression model, in which a single ex- planatory, or independent, variable is involved. We often speak of this as ‘two-variable’ regres- sion, or ‘Y on X regression’. Algebraically,

yi = β 0 + β 1 xi + ui (1)

is the relationship presumed to hold in the pop- ulation for each observation i. The values of y are expected to lie on a straight line, depending on the corresponding values of x. Their values will differ from those predicted by that line by

the amount of the error term, or disturbance, u, which expresses the net effect of all factors other than x on the outcome y−that is, it re- flects the assumption of ceteris paribus. We often speak of x as the ‘regressor’ in this rela- tionship; less commonly we speak of y as the ‘regressand.’ The coefficients of the relation- ship, β 0 and β 1 , are the regression parameters, to be estimated from a sample. They are pre- sumed constant in the population, so that the effect of a one-unit change in x on y is assumed constant for all values of x.

As long as we include an intercept in the rela- tionship, we can always assume that E (u) = 0, since a nonzero mean for u could be absorbed by the intercept term.

The crucial assumption in this regression model involves the relationship between x and u. We

from the regression we estimate, and thus rel- egated to the u term–are not systematically related to years of formal schooling. This may not be a tenable assumption; we might con- sider “innate ability” as such a factor, and it is probably related to success in both the edu- cational process and the workplace. Thus, in- nate ability–which we cannot measure without some proxies–may be positively correlated to the education variable, which would invalidate assumption (2).

The population regression function, given the zero conditional mean assumption, is

E (^) (y | x) = β 0 + β 1 xi (3)

This allows us to separate y into two parts: the systematic part, related to x, and the un- systematic part, which is related to u. As long as assumption (2) holds, those two compo- nents are independent in the statistical sense.

Let us now derive the least squares estimates of the regression parameters.

Let [(xi, yi) : i = 1, ..., n] denote a random sam- ple of size n from the population, where yi and xi are presumed to obey the relation (1). The assumption (2) allows us to state that E(u) = 0 , and given that assumption, that Cov(x, u) = E(xu) = 0, where Cov(·) denotes the covariance between the random variables. These assumptions can be written in terms of the regression error:

E (^) (yi − β 0 − β 1 xi) = 0 (4) E (^) [xi (yi − β 0 − β 1 xi)] = 0

These two equations place two restrictions on the joint probability distribution of x and u. Since there are two unknown parameters to be estimated, we might look upon these equations to provide solutions for those two parameters.

passes through the point of means of the sam- ple data. Substituting this solution into the second normal equation, we now have one equa- tion in one unknown, b 1 :

∑^ n i=

xi (yi − (^) (¯y − b 1 ¯x) − b 1 xi)

∑^ n i=

xi (yi − ¯y) = b 1

∑^ n i=

xi (xi − x¯)

b 1 =

∑n i=1 ∑ (xi^ −^ ¯x) (yi^ −^ y¯) n i=1 (xi^ −^ ¯x)

2

b 1 = Cov(x, y) V ar(x)

where the slope estimate is merely the ratio of the sample covariance of the two variables to the variance of x, which, must be nonzero for the estimates to be computed. This merely implies that not all of the sample values of x

can take on the same value. There must be diversity in the observed values of x. These estimates–b 0 and b 1 −are said to be the ordi- nary least squares (OLS) estimates of the regression parameters, since they can be de- rived by solving the least squares problem:

min b 0 ,b 1

S =

∑^ n i=

e^2 i =

∑^ n i=

(yi −^ b 0 −^ b 1 xi)^2 (8)

Here we minimize the sum of squared residu- als, or differences between the regression line and the values of y, by choosing b 0 and b 1. If we take the derivatives ∂S/∂b 0 and ∂S/∂b 1 and set the resulting first order conditions to zero, the two equations that result are exactly the OLS solutions for the estimated parame- ters shown above. The “least squares” esti- mates minimize the sum of squared residuals, in the sense that any other line drawn through the scatter of (x, y) points would yield a larger

is often of economic interest, whereas the con- stant term in many regressions is devoid of economic meaning. For instance, a regres- sion of major companies’ CEO salaries on the firms’ return on equity–a measure of economic performance–yields the regression estimates

Sˆ = 963.191 + 18. 501 r (10)

where S is the CEO’s annual salary, in thou- sands of 1990 dollars, and r is average re- turn on equity over the prior three years, in per cent. This implies that a one percent in- crease in ROE over the past three years is worth $18,501 to a CEO, on average. The average annual salary for the 209 CEOs in the sample is $1.28 million, so the increment is about 1.4% of that average salary. The SRF can also be used to predict what a CEO will earn for any level of ROE; points on the esti- mated regression function are such predictions.

Mechanics of OLS

Some algebraic properties of the OLS regres- sion line:

(1) The sum (and average) of the OLS resid- uals is zero: ∑^ n i=

ei = 0 (11)

which follows from the first normal equation, which specifies that the estimated regression line goes through the point of means (¯x, ¯y), so that the mean residual must be zero.

(2) By construction, the sample covariance be- tween the OLS residuals and the regressor is zero:

Cov(e, x) =

∑^ n i=

xiei = 0 (12)

This is not an assumption, but follows directly from the second normal equation. The esti- mated coefficients, which give rise to the resid- uals, are chosen to make it so.

as the Total sum of squares, Explained sum of squares, and Residual sum of squares, re- spectively. Note that SST expresses the total variation in y around its mean (and we do not strive to “explain” its mean; only how it varies about its mean). The second quantity, SSE, expresses the variation of the predicted values of y around the mean value of y (and it is trivial to show that ˆy has the same mean as y). The third quantity, SSR, is the same as the least squares criterion S from (8). (Note that some textbooks interchange the definitions of SSE and SSR, since both “explained” and “error” start with E, and “regression” and “residual” start with R). Given these sums of squares, we can generalize the decomposition mentioned above into

SST = SSE + SSR (13)

or, the total variation in y may be divided into that explained and that unexplained, i.e. left

in the residual category. To prove the validity of (13), note that

∑^ n i=

(yi − ¯y)^2 =

∑^ n i=

((yi − yˆi) + (ˆyi − ¯y))^2

∑^ n i=

[ei + (ˆyi − y¯)]^2

∑^ n i=

e^2 i + 2

∑^ n i=

ei (ˆyi − y¯) +

∑^ n i=

(ˆyi −^ y¯)^2

SST = SSR + SSE

given that the middle term in this expression is equal to zero. But this term is the sample covariance of e and y, given a zero mean for e, and by (12) we have established that this is zero.

where R^2 = 1, all of the points lie on the SRF. That is unlikely when n > 2 , but it may be the case that all points lie close to the line, in which case R^2 will approach 1. We can- not make any statistical judgment based di- rectly on R^2 , or even say that a model with a higher R^2 and the same dependent variable is necessarily a better model; but other things equal, a higher R^2 will be forthcoming from a model that captures more of y′s behavior. In cross-sectional analyses, where we are trying to understand the idiosyncracies of individual behavior, very low R^2 values are common, and do not necessarily denote a failure to build a useful model.

Important issues in evaluating applied work: how do the quantities we have estimated change when the units of measurement are changed? In the estimated model of CEO salaries, since the y variable was measured in thousands of

dollars, the intercept and slope coefficient refer to those units as well. If we measured salaries in dollars, the intercept and slope would be multiplied by 1000, but nothing would change. The correlation between y and x is not af- fected by linear transformations, so we would not alter the R^2 of this equation by changing its units of measurement. Likewise, if ROE was measured in decimals rather than per cent, it would merely change the units of measure- ment of the slope coefficient. Dividing r by 100 would cause the slope to be multiplied by

  1. In the original (10), with r in percent, the slope is 18.501 (thousands of dollars per one unit change in r). If we expressed r in decimal form, the slope would be 1850.1. A change in r from 0.10 to 0.11 – a one per cent increase in ROE–would be associated with a change in salary of (0.01)(1850.1)=18.501 thousand dollars. Again, the correlation between salary and ROE would not be altered. This also ap- plies for a transformation such as F = 32+ 95 C;

What if we expect the data to exhibit expo- nential growth, as would population, or sums earning compound interest? If the underlying model is

y = A exp (rt) (14) log y = log A + rt y∗^ = A∗^ + rt (15)

so that the “single-log” transformation may be used to express a constant-growth relation- ship, in which r is the regression slope coef- ficient that directly estimates ∂ log y/∂t. Like- wise, the “double-log” transformation can be used to express a constant-elasticity relation- ship, such as that of a Cobb-Douglas function:

y = Axα^ (16) log y = log A + α log x y∗^ = A∗^ + αx∗

In this context, the slope coefficient α is an estimate of the elasticity of y with respect to x, given that ηy,x = ∂ log y/∂ log x by the defini- tion of elasticity. The original equation is non- linear, but the transformed equation is a linear function which may be estimated by OLS re- gression.

Likewise, a model in which y is thought to de- pend on 1 /x (the reciprocal model) may be estimated by linear regression by just defin- ing a new variable, z, equal to 1/x (presuming x > 0). That model has an interesting inter- pretation if you work out its algebra.

We often use a polynomial form to allow for nonlinearities in a regression relationship. For instance, rather than including only x as a re- gressor, we may include x and x^2. Although this relationship is linear in the parameters, it implies that ∂Y ∂x = β + 2γx, so that the effect