Econometrics I KS. Module 1: Bivariate Linear Regression. Alexander Ahammer. This version: March 12, 2018
|
|
- Bernice Lane
- 6 years ago
- Views:
Transcription
1 Econometrics I KS Module 1: Bivariate Linear Regression Alexander Ahammer Department of Economics Johannes Kepler University of Linz This version: March 12, 2018 Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 1 / 40
2 Getting started What do we need to do Econometrics? Econometrics tries to answer economic questions using statistical methods. What do we need to do econometrics? 1 An economic question How does education affect wages? Does reduced class size improve students test scores? What determines a country s GDP growth? 2 Data Cross-sectional data (y i, x i), i = 1,..., n Time-series data (y t, x t), t = 1,..., T Panel data (y it, x it), i = 1,..., n; t = 1,..., T 3 A functional relationship Linear relation: y i = β 0 + β 1x i + u i Nonlinear and additive: y i = g(x i, β 1) + u i Nonlinear and non-additive: h(y i, x i, u i, β 1) Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 2 / 40
3 Getting started What do we need to do Econometrics? 4 An object of interest Typically we are interested in the slope parameter β 1 For non-linear models there are other interesting effects 5 Assumptions Marginal effects at the mean Marginal effects at representative values Average marginal effects Are the u i independent? There can be spatial or time correlation. Are the u i identically distributed? Are they stationary? Is u i correlated with x i? Do we have an endogeneity problem? 6 An estimator In the linear case, the OLS estimator is most popular. In non-linear cases, usually Maximum Likelihood is used. For semi-parametric models: GMM and many more Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 3 / 40
4 Preliminaries The simple linear regression model In econometrics, we are often interested in describing a linear relationship between a dependent variable y i and k covariates x i = (x i1, x i2,..., x ik ). A simple bivariate (k = 1) regression model for the population reads where β 0 is the intercept, β 1 is the slope parameter, and u is an error term with E(u) = 0. y = β 0 + β 1 x + u, (1) For an i.i.d. sample (y i, x i ) of size n: y i = β 0 + β 1 x i + u i, i = 1,..., n (2) Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 4 / 40
5 Preliminaries The simple linear regression model Holding u fixed, β 1 = y/ x. The linearity of (1) implies that a one-unit change in x has the same effect on y, regardless of the initial value of x. Crucial assumption necessary for the ceteris paribus interpretation: the expected value of u does not depend on the value of x, i.e. E(u x) = E(u) = 0. (3) Then we can write the population regression function as E(y x) = β 0 + β 1 x (4) A one-unit increase in x changes the expected value of y by β 1. Implication: for any x the distribution of y is centered around E(y x). Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 5 / 40
6 Getting started A real world example 1 An economic question How does the share of foreign-born in the population affect GDP? 2 Data Data from the OECD 2011 cross-section Descriptive statistics: Variable Obs. Mean Std. dev. Min. Max. Share of foreign-born in % GDP per capita in $ Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 6 / 40
7 Getting started A real world example 100 GDP vs. share of foreigners LUX GDP per capita in $ POL 20 TUR MEX NOR USA DEN NED AUT GERSWE IRE FIN BEL ICE FRA ITA UK SPA CZE GREPOR SLO HUN EST CAN NZL ISR CHE AUS % of population foreign-born Source: own calculations based on OECD.Stat data Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 7 / 40
8 Getting started A real world example 3 A functional relationship We assume a linear relationship: GDP = β 0 + β 1share + u (5) where GDP is per capita GDP and share is the share of foreign-born in the total population. Can you think of other plausible relationships? Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 8 / 40
9 Getting started A real world example 100 GDP vs. share of foreigners LUX GDP per capita in $ POL 20 TUR MEX NOR USA DEN NED AUT GERSWE IRE FIN BEL ICE FRA ITA UK SPA CZE GREPOR SLO HUN EST CAN NZL ISR CHE AUS % of population foreign-born Source: own calculations based on OECD.Stat data Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 9 / 40
10 Getting started A real world example 100 GDP vs. share of foreigners LUX GDP per capita in $ POL 20 TUR MEX NOR USA DEN NED AUT GERSWE IRE FIN BEL ICE FRA ITA UK SPA CZE GREPOR SLO HUN EST CAN NZL ISR CHE AUS % of population foreign-born Source: own calculations based on OECD.Stat data Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 10 / 40
11 Getting started A real world example 4 An object of interest Our regression model reads: GDP = β 0 + β 1share + u (6) The intercept β 0 is precisely the (hypothetical) level of GPD when the share of foreign-born is zero. Is that interesting? Why do we need an intercept? We are rather interested in the slope parameter β 1. β 1 is the effect of a one percentage point increase in the share of foreign-born on GDP. What sign do you expect for β 1? How do we estimate β 1? Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 11 / 40
12 Getting started A real world example 5 Assumptions Assumption SLR.1 Linear in parameters The population model is linear: GDP = β 0 + β 1 share + u. Assumption SLR.2 Random sampling We have a random sample {(GDP i, share i ) i = 1,..., n} that follows the population model: GDP i = β 0 + β 1 share i + u i. Assumption SLR.3 Sample variation in the expl. variable The sample outcomes on share, namely {share i, i = 1,..., n}, are not all the same value Var(share i ) 0. Assumption SLR.4 Zero conditional mean The error u has an expected value of zero given any values of the explanatory variable, i.e., E(u i share i ) = 0 i = 1,..., n. Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 12 / 40
13 Getting started A real world example 6 An estimator Given that we have a linear model, we choose Ordinary Least Squares (OLS) to obtain an estimate for β 1 (and β 0). OLS picks ˆβ 0 and ˆβ 1 that minimize the sum of squared residuals: arg min ˆβ 0, ˆβ 1 n û 2 i (7) where is the residual for observation i. Hence, arg min ˆβ 0, ˆβ 1 û i = y i ˆβ 0 ˆβ 1x 1 (8) n (y i ˆβ 0 ˆβ 1x 1) 2 (9) 7 We will show later that whenever assumptions SLR.1 SLR.4 hold, OLS is unbiased. If errors are homoskedastic, OLS is efficient as well (BLUE). Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 13 / 40
14 Intermezzo Deriving the OLS estimate Define a fitted value for y when x = x i as ŷ i = ˆβ 0 + ˆβ 1 x i. (10) Define a residual for observation i as the difference between the actual (observed) y i and its fitted value, û i = y i ŷ i = y i ˆβ 0 ˆβ 1 x i. (11) Now choose ˆβ 0 and ˆβ 1 to make the sum of squared residuals, i.e. as small as possible, i.e. n û 2 i = arg min ˆβ 0, ˆβ 1 n (y i ˆβ 0 ˆβ 1 x i ) 2 (12) n (y i ˆβ 0 ˆβ 1 x 1 ) 2 (13) Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 14 / 40
15 Intermezzo Deriving the OLS estimate In order to solve this minimization problem, the partial derivatives of (13) with respect to ˆβ 0 and ˆβ 1 must be zero: n û2 i ˆβ 0 n û2 i ˆβ 1 Note that (14) can be written as = 2 = 2 n (y i ˆβ 0 ˆβ 1 x i ) = 0 (14) n (y i ˆβ 0 ˆβ 1 x i )x i = 0 (15) where ȳ = n 1 n y i and x = n 1 n x i. ȳ = ˆβ 0 + ˆβ 1 x, (16) Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 15 / 40
16 Intermezzo Deriving the OLS estimate Figure: Residuals and fitted values. Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 16 / 40
17 Intermezzo Deriving the OLS estimate Figure: OLS minimizes the sum of squared residuals. Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 17 / 40
18 Intermezzo Deriving the OLS estimate Figure: OLS minimizes the sum of squared residuals. Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 18 / 40
19 Intermezzo Deriving the OLS estimate From (16) we can see that once we have ˆβ 1, ˆβ 0 can easily be obtained: ˆβ 0 = ȳ ˆβ 1 x. (17) Plugging (17) into (15) yields n x i [y i (ȳ ˆβ 1 x) ˆβ 1 x i ] = 0 (18) which, upon rearrangement, gives n x i (y i ȳ) = ˆβ n 1 x i (x i x) (19) From basic properties of the summation operator [see (A.7) and (A.8) in the n textbook] we know x i(x i x) = n (x i x) 2 and n x i(y i ȳ) = n (x i x)(y i ȳ). Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 19 / 40
20 Intermezzo Deriving the OLS estimate Therefore, ˆβ 1 can be written as ˆβ 1 = n x i(y i ȳ) n (x i x) 2 (20) or as ˆβ 1 = n (x i x)(y i ȳ) n (x i x) 2 (21) Equation (21) is simply the sample covariance between x and y divided by the sample variance of x: Cov(x, y) ˆβ 1 = Var(x) (22) So, if the correlation between x and y is positive, ˆβ 1 will be positive as well. Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 20 / 40
21 Getting started A real world example, cont d Back to our data these are the first 15 countries in the dataset:. list in 1/15, sep(0) country foreign GDP 1. AUS AUT BEL CAN CZE DEN EST FIN FRA GER GRE HUN ICE IRE ISR Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 21 / 40
22 Getting started A real world example, cont d Now we perform the OLS regression:. reg GDP foreign Source SS df MS Number of obs = 30 F( 1, 28) = Model Prob > F = Residual R-squared = Adj R-squared = Total Root MSE = GDP Coef. Std. Err. t P> t [95% Conf. Interval] foreign _cons Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 22 / 40
23 Getting started A real world example, cont d 100 GDP vs. share of foreigners LUX GDP per capita in $ POL 20 TUR MEX NOR USA DEN NED AUT GERSWE IRE FIN BEL ICE FRA ITA UK SPA CZE GREPOR SLO HUN EST CAN NZL ISR CHE AUS % of population foreign-born Source: own calculations based on OECD.Stat data Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 23 / 40
24 Getting started A real world example, cont d. predict yhat, xb. predict uhat, r. list in 1/15, sep(0) country foreign GDP yhat uhat 1. AUS AUT BEL CAN CZE DEN EST FIN FRA GER GRE HUN ICE IRE ISR Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 24 / 40
25 Ordinary Least Squares Now we look at the OLS mechanics in a bit more depth. Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 25 / 40
26 Ordinary Least Squares Statistical properties Some important (algebraic) properties of OLS: Residuals and fitted values Each ŷ i lies on the OLS regression line. If û i < 0, then ŷ i overpredicts y i, if û i > 0, then ŷ i underpredicts y i. n Note that ûi = 0 by construction! This follows from the first-order condition in (14). n Analogously ûixi = 0, follows from the second f.o.c. (15). Goodness-of-fit We use the R 2 as a measure of how well the explanatory variable x explains the dependent variable y, R 2 = SSE SST = 1 SSR SST where SSE = n (ŷi ȳ)2, SSR = n û2 i, and SST = n (yi ȳ)2. (23) Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 26 / 40
27 Ordinary Least Squares Expected value and variance We will now study expected values and variances of the OLS estimates. Recall the four assumption we made earlier: Assumption SLR.1 Linear in parameters The population model is linear: y = β 0 + β 1x + u. Assumption SLR.2 Random sampling We have a random sample of n observations, {(y i, x i) i = 1,..., n}, that follows the population model: y i = β 0 + β 1x i + u i. Assumption SLR.3 Sample variation in the expl. variable The sample outcomes on x, namely {x i, i = 1,..., n}, are not all the same value Var(x i) 0. Assumption SLR.4 Zero conditional mean The error u has an expected value of zero given any values of the explanatory variable, i.e. E(u i x i) = 0 i = 1,..., n. Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 27 / 40
28 Ordinary Least Squares Expected values Theorem: Unbiasedness of OLS Under assumptions SLR.1 through SLR.4, E( ˆβ 0 ) = β 0, and E( ˆβ 1 ) = β 1 (24) for any values of β 0 and β 1. In other words, ˆβ 0 is an unbiased estimate for β 0, and ˆβ 1 is an unbiased estimate for β 1. Proof. The OLS estimator is given by ˆβ 1 = n (x i x)(y i ȳ) n (x i x) 2 = n (x i x)y i (x i x)ȳ n (x i x) 2 (25) Because n (x i x)ȳ = ȳ n (x i x) = ȳ(n x n x) = 0, we have ˆβ 1 = n (x i x)y i n (x i x) 2 (26) Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 28 / 40
29 Now, define φ i = x i x n (x i x) 2 which has the following properties: n n φ i = (x i x) n (x i x) = 0 2 (27) n φ i x i = n (x i x)x i n (x i x) 2 = 1 (28) Substituting y i = β 0 + β 1 x i + u i and φ i into equation (26) gives ˆβ 1 = = n φ i (β 0 + β 1 x i + u i ) (29) n φ i β 0 + n φ i β 1 x i + n φ i u i (30) Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 29 / 40
30 Due to (27) and (28), equation (30) becomes ˆβ 1 = 0 + β 1 + n φ i u i (31) Taking expectations on both sides gives ( n ) E( ˆβ 1 ) = E(β 1 ) + E φ i u i = E(β 1 ) + n E(φ i u i ) (32) Recall that the population parameter β 1 is deterministic, so E(β 1 ) = β 1. Furthermore, in SLR.4 we have assumed that E(u i ) = 0, thus E( ˆβ 1 ) = β 1 (33) This concludes the proof for β 1. The proof for β 0 is left as an exercise. Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 30 / 40
31 Ordinary Least Squares Expected variances In addition to knowing that the sampling distribution of ˆβ 1 is centered around β 1 (i.e., ˆβ 1 is unbiased), it is important to know how far we can expect ˆβ 1 to be away from β 1 on average. We are interested in the variance or the standard deviation of the OLS estimator. This helps to think about efficiency of estimators. If we assume that the unobservable term u has a constant (and finite) variance (homoskedasticity), it is easier to describe the variance of the OLS estimator. The opposite of homoskedasticity is heteroskedasticity. Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 31 / 40
32 Ordinary Least Squares Expected variances Homoskedastic error Heteroskedastic error, Var[u] = 0.1*inc 3 u 0 0 u Income Income Figure: Simulated error structures, with Var(u) being conditionally constant (left graph), and Var(u) being a function of one of the explanatory variables, Var(u) = 0.1 inc 3. Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 32 / 40
33 Ordinary Least Squares Expected variances Assumption SLR.1 Linear in parameters The population model is linear: y = β 0 + β 1x + u. Assumption SLR.2 Random sampling We have a random sample {(y i, x i) i = 1,..., n} that follows the population model: y i = β 0 + β 1x i + u i. Assumption SLR.3 Sample variation in the expl. variable The sample outcomes on x, namely {x i, i = 1,..., n}, are not all the same value Var(x i) 0. Assumption SLR.4 Zero conditional mean The error u has an expected value of zero given any values of the explanatory variable, i.e. E(u i x i) = 0 i = 1,..., n. Assumption SLR.5 Homoskedasticity The error u has the same variance given any value of the explanatory variable., i.e. Var(u i x i) = σ 2 i = 1,..., n. Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 33 / 40
34 Ordinary Least Squares Expected variances Assumption SLR.5: Homoskedasticity The error u has the same variance given any value of the explanatory variable. In other words Var(u x) = σ 2 (34) where σ 2 R is some constant. This assumption does not affect (un)biasedness of OLS. If Var(u x) depends on x, the error term is said to exhibit heteroskedasticity. See example 2.13 in Wooldridge (2013). Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 34 / 40
35 Ordinary Least Squares Expected variances Figure: What do we see here? [Source: Wooldridge (2013), Figure 2.8] Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 35 / 40
36 Ordinary Least Squares Expected variances Figure: What do we see here? [Source: Wooldridge (2013), Figure 2.9] Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 36 / 40
37 Ordinary Least Squares Expected variances Theorem: Sampling variances of the OLS estimators Under assumptions SLR.1 through SLR.5, ( Var( ˆβ σ 2 ) 1 ) = n (x 1 x) 2 (35) and Var( ˆβ 0 ) = ( σ 2 n 1 n ) x2 i n (x 1 x) 2 (36) where these are conditional on the sample values {x 1,..., x n } Proof. See Wooldridge (2013), pp These formulas are invalid in the case of heteroskedasticity. Note that the error variance σ 2 is unobserved. Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 37 / 40
38 Ordinary Least Squares Expected variances Goal: Obtain standard errors. We know that σ 2 = E(u 2 ), so n 1 n u2 i is an unbiased estimator of σ2. Replacing u i with the estimated û i, we have n 1 n It turns out that this estimator is biased. Bias diminishes as n. û2 i. Note that there are only n 2 degrees of freedom in the OLS residuals due to the two first-order conditions (14) and (15), so ˆσ 2 = 1 n 2 n û 2 i = SSR n 2 (37) is an unbiased estimator for σ 2. Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 38 / 40
39 Ordinary Least Squares Expected variances Theorem: Unbiased esimation of σ 2 Under assumptions SLR.1 through SLR.5, E(ˆσ 2 ) = σ 2 (38) where ˆσ 2 = 1 n k 1 n û 2 i = SSR n k 1 (39) Proof. See Wooldridge (2013), p. 54. The term (n k 1) is the degrees of freedom adjustment for the general OLS problem with n observations and k independent variables. ˆσ = ˆσ 2 is called the standard error of regression. Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 39 / 40
40 Literature Main reference: Wooldridge, J. M. (2015). Introductory Econometrics: A Modern Approach, 5th ed., South Western College Publishing. Thanks to Martin Halla for providing the basis for these slides. Alexander Ahammer (JKU) Module 1: Bivariate Linear Regression 40 / 40
Econometrics I KS. Module 2: Multivariate Linear Regression. Alexander Ahammer. This version: April 16, 2018
Econometrics I KS Module 2: Multivariate Linear Regression Alexander Ahammer Department of Economics Johannes Kepler University of Linz This version: April 16, 2018 Alexander Ahammer (JKU) Module 2: Multivariate
More informationECON The Simple Regression Model
ECON 351 - The Simple Regression Model Maggie Jones 1 / 41 The Simple Regression Model Our starting point will be the simple regression model where we look at the relationship between two variables In
More informationECON3150/4150 Spring 2015
ECON3150/4150 Spring 2015 Lecture 3&4 - The linear regression model Siv-Elisabeth Skjelbred University of Oslo January 29, 2015 1 / 67 Chapter 4 in S&W Section 17.1 in S&W (extended OLS assumptions) 2
More informationECON3150/4150 Spring 2016
ECON3150/4150 Spring 2016 Lecture 4 - The linear regression model Siv-Elisabeth Skjelbred University of Oslo Last updated: January 26, 2016 1 / 49 Overview These lecture slides covers: The linear regression
More informationThe Simple Regression Model. Part II. The Simple Regression Model
Part II The Simple Regression Model As of Sep 22, 2015 Definition 1 The Simple Regression Model Definition Estimation of the model, OLS OLS Statistics Algebraic properties Goodness-of-Fit, the R-square
More informationECON2228 Notes 2. Christopher F Baum. Boston College Economics. cfb (BC Econ) ECON2228 Notes / 47
ECON2228 Notes 2 Christopher F Baum Boston College Economics 2014 2015 cfb (BC Econ) ECON2228 Notes 2 2014 2015 1 / 47 Chapter 2: The simple regression model Most of this course will be concerned with
More informationEconometrics I Lecture 3: The Simple Linear Regression Model
Econometrics I Lecture 3: The Simple Linear Regression Model Mohammad Vesal Graduate School of Management and Economics Sharif University of Technology 44716 Fall 1397 1 / 32 Outline Introduction Estimating
More informationEssential of Simple regression
Essential of Simple regression We use simple regression when we are interested in the relationship between two variables (e.g., x is class size, and y is student s GPA). For simplicity we assume the relationship
More informationThe Simple Linear Regression Model
The Simple Linear Regression Model Lesson 3 Ryan Safner 1 1 Department of Economics Hood College ECON 480 - Econometrics Fall 2017 Ryan Safner (Hood College) ECON 480 - Lesson 3 Fall 2017 1 / 77 Bivariate
More informationIntroductory Econometrics
Based on the textbook by Wooldridge: : A Modern Approach Robert M. Kunst robert.kunst@univie.ac.at University of Vienna and Institute for Advanced Studies Vienna October 16, 2013 Outline Introduction Simple
More informationEmpirical Application of Simple Regression (Chapter 2)
Empirical Application of Simple Regression (Chapter 2) 1. The data file is House Data, which can be downloaded from my webpage. 2. Use stata menu File Import Excel Spreadsheet to read the data. Don t forget
More informationApplied Statistics and Econometrics
Applied Statistics and Econometrics Lecture 6 Saul Lach September 2017 Saul Lach () Applied Statistics and Econometrics September 2017 1 / 53 Outline of Lecture 6 1 Omitted variable bias (SW 6.1) 2 Multiple
More informationMultiple Linear Regression CIVL 7012/8012
Multiple Linear Regression CIVL 7012/8012 2 Multiple Regression Analysis (MLR) Allows us to explicitly control for many factors those simultaneously affect the dependent variable This is important for
More informationα version (only brief introduction so far)
Econometrics I KS Module 8: Panel Data Econometrics Alexander Ahammer Department of Economics Johannes Kepler University of Linz This version: June 18, 2018 α version (only brief introduction so far) Alexander
More informationIntermediate Econometrics
Intermediate Econometrics Markus Haas LMU München Summer term 2011 15. Mai 2011 The Simple Linear Regression Model Considering variables x and y in a specific population (e.g., years of education and wage
More informationECO220Y Simple Regression: Testing the Slope
ECO220Y Simple Regression: Testing the Slope Readings: Chapter 18 (Sections 18.3-18.5) Winter 2012 Lecture 19 (Winter 2012) Simple Regression Lecture 19 1 / 32 Simple Regression Model y i = β 0 + β 1 x
More informationMultiple Regression Analysis. Part III. Multiple Regression Analysis
Part III Multiple Regression Analysis As of Sep 26, 2017 1 Multiple Regression Analysis Estimation Matrix form Goodness-of-Fit R-square Adjusted R-square Expected values of the OLS estimators Irrelevant
More informationBasic econometrics. Tutorial 3. Dipl.Kfm. Johannes Metzler
Basic econometrics Tutorial 3 Dipl.Kfm. Introduction Some of you were asking about material to revise/prepare econometrics fundamentals. First of all, be aware that I will not be too technical, only as
More information5. Let W follow a normal distribution with mean of μ and the variance of 1. Then, the pdf of W is
Practice Final Exam Last Name:, First Name:. Please write LEGIBLY. Answer all questions on this exam in the space provided (you may use the back of any page if you need more space). Show all work but do
More informationCourse Econometrics I
Course Econometrics I 4. Heteroskedasticity Martin Halla Johannes Kepler University of Linz Department of Economics Last update: May 6, 2014 Martin Halla CS Econometrics I 4 1/31 Our agenda for today Consequences
More informationChapter 2: simple regression model
Chapter 2: simple regression model Goal: understand how to estimate and more importantly interpret the simple regression Reading: chapter 2 of the textbook Advice: this chapter is foundation of econometrics.
More informationTHE MULTIVARIATE LINEAR REGRESSION MODEL
THE MULTIVARIATE LINEAR REGRESSION MODEL Why multiple regression analysis? Model with more than 1 independent variable: y 0 1x1 2x2 u It allows : -Controlling for other factors, and get a ceteris paribus
More informationThe Simple Regression Model. Simple Regression Model 1
The Simple Regression Model Simple Regression Model 1 Simple regression model: Objectives Given the model: - where y is earnings and x years of education - Or y is sales and x is spending in advertising
More informationSimple Linear Regression: The Model
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
More informationHomoskedasticity. Var (u X) = σ 2. (23)
Homoskedasticity How big is the difference between the OLS estimator and the true parameter? To answer this question, we make an additional assumption called homoskedasticity: Var (u X) = σ 2. (23) This
More informationECON3150/4150 Spring 2016
ECON3150/4150 Spring 2016 Lecture 6 Multiple regression model Siv-Elisabeth Skjelbred University of Oslo February 5th Last updated: February 3, 2016 1 / 49 Outline Multiple linear regression model and
More informationWooldridge, Introductory Econometrics, 4th ed. Chapter 2: The simple regression model
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
More informationLecture 4: Multivariate Regression, Part 2
Lecture 4: Multivariate Regression, Part 2 Gauss-Markov Assumptions 1) Linear in Parameters: Y X X X i 0 1 1 2 2 k k 2) Random Sampling: we have a random sample from the population that follows the above
More informationSimple Linear Regression
Simple Linear Regression In simple linear regression we are concerned about the relationship between two variables, X and Y. There are two components to such a relationship. 1. The strength of the relationship.
More informationLab 6 - Simple Regression
Lab 6 - Simple Regression Spring 2017 Contents 1 Thinking About Regression 2 2 Regression Output 3 3 Fitted Values 5 4 Residuals 6 5 Functional Forms 8 Updated from Stata tutorials provided by Prof. Cichello
More informationECON Introductory Econometrics. Lecture 6: OLS with Multiple Regressors
ECON4150 - Introductory Econometrics Lecture 6: OLS with Multiple Regressors Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 6 Lecture outline 2 Violation of first Least Squares assumption
More informationApplied Statistics and Econometrics
Applied Statistics and Econometrics Lecture 5 Saul Lach September 2017 Saul Lach () Applied Statistics and Econometrics September 2017 1 / 44 Outline of Lecture 5 Now that we know the sampling distribution
More informationMultivariate Regression Analysis
Matrices and vectors The model from the sample is: Y = Xβ +u with n individuals, l response variable, k regressors Y is a n 1 vector or a n l matrix with the notation Y T = (y 1,y 2,...,y n ) 1 x 11 x
More informationLecture 4: Multivariate Regression, Part 2
Lecture 4: Multivariate Regression, Part 2 Gauss-Markov Assumptions 1) Linear in Parameters: Y X X X i 0 1 1 2 2 k k 2) Random Sampling: we have a random sample from the population that follows the above
More information4 Instrumental Variables Single endogenous variable One continuous instrument. 2
Econ 495 - Econometric Review 1 Contents 4 Instrumental Variables 2 4.1 Single endogenous variable One continuous instrument. 2 4.2 Single endogenous variable more than one continuous instrument..........................
More informationEnvironmental Econometrics
Environmental Econometrics Syngjoo Choi Fall 2008 Environmental Econometrics (GR03) Fall 2008 1 / 37 Syllabus I This is an introductory econometrics course which assumes no prior knowledge on econometrics;
More information4 Instrumental Variables Single endogenous variable One continuous instrument. 2
Econ 495 - Econometric Review 1 Contents 4 Instrumental Variables 2 4.1 Single endogenous variable One continuous instrument. 2 4.2 Single endogenous variable more than one continuous instrument..........................
More informationLecture 8: Instrumental Variables Estimation
Lecture Notes on Advanced Econometrics Lecture 8: Instrumental Variables Estimation Endogenous Variables Consider a population model: y α y + β + β x + β x +... + β x + u i i i i k ik i Takashi Yamano
More informationECON Introductory Econometrics. Lecture 5: OLS with One Regressor: Hypothesis Tests
ECON4150 - Introductory Econometrics Lecture 5: OLS with One Regressor: Hypothesis Tests Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 5 Lecture outline 2 Testing Hypotheses about one
More informationThe general linear regression with k explanatory variables is just an extension of the simple regression as follows
3. Multiple Regression Analysis The general linear regression with k explanatory variables is just an extension of the simple regression as follows (1) y i = β 0 + β 1 x i1 + + β k x ik + u i. Because
More informationMultiple Regression Analysis
Multiple Regression Analysis y = 0 + 1 x 1 + x +... k x k + u 6. Heteroskedasticity What is Heteroskedasticity?! Recall the assumption of homoskedasticity implied that conditional on the explanatory variables,
More informationECON Introductory Econometrics. Lecture 13: Internal and external validity
ECON4150 - Introductory Econometrics Lecture 13: Internal and external validity Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 9 Lecture outline 2 Definitions of internal and external
More informationWarwick Economics Summer School Topics in Microeconometrics Instrumental Variables Estimation
Warwick Economics Summer School Topics in Microeconometrics Instrumental Variables Estimation Michele Aquaro University of Warwick This version: July 21, 2016 1 / 31 Reading material Textbook: Introductory
More informationIntro to Applied Econometrics: Basic theory and Stata examples
IAPRI-MSU Technical Training Intro to Applied Econometrics: Basic theory and Stata examples Training materials developed and session facilitated by icole M. Mason Assistant Professor, Dept. of Agricultural,
More informationStatistical Inference with Regression Analysis
Introductory Applied Econometrics EEP/IAS 118 Spring 2015 Steven Buck Lecture #13 Statistical Inference with Regression Analysis Next we turn to calculating confidence intervals and hypothesis testing
More informationStatistics II. Management Degree Management Statistics IIDegree. Statistics II. 2 nd Sem. 2013/2014. Management Degree. Simple Linear Regression
Model 1 2 Ordinary Least Squares 3 4 Non-linearities 5 of the coefficients and their to the model We saw that econometrics studies E (Y x). More generally, we shall study regression analysis. : The regression
More informationGreene, Econometric Analysis (7th ed, 2012)
EC771: Econometrics, Spring 2012 Greene, Econometric Analysis (7th ed, 2012) Chapters 2 3: Classical Linear Regression The classical linear regression model is the single most useful tool in econometrics.
More informationECNS 561 Multiple Regression Analysis
ECNS 561 Multiple Regression Analysis Model with Two Independent Variables Consider the following model Crime i = β 0 + β 1 Educ i + β 2 [what else would we like to control for?] + ε i Here, we are taking
More informationLinear Regression. Junhui Qian. October 27, 2014
Linear Regression Junhui Qian October 27, 2014 Outline The Model Estimation Ordinary Least Square Method of Moments Maximum Likelihood Estimation Properties of OLS Estimator Unbiasedness Consistency Efficiency
More informationLab 07 Introduction to Econometrics
Lab 07 Introduction to Econometrics Learning outcomes for this lab: Introduce the different typologies of data and the econometric models that can be used Understand the rationale behind econometrics Understand
More informationGov 2000: 9. Regression with Two Independent Variables
Gov 2000: 9. Regression with Two Independent Variables Matthew Blackwell Fall 2016 1 / 62 1. Why Add Variables to a Regression? 2. Adding a Binary Covariate 3. Adding a Continuous Covariate 4. OLS Mechanics
More informationPlease discuss each of the 3 problems on a separate sheet of paper, not just on a separate page!
Econometrics - Exam May 11, 2011 1 Exam Please discuss each of the 3 problems on a separate sheet of paper, not just on a separate page! Problem 1: (15 points) A researcher has data for the year 2000 from
More informationUniversity of California at Berkeley Fall Introductory Applied Econometrics Final examination. Scores add up to 125 points
EEP 118 / IAS 118 Elisabeth Sadoulet and Kelly Jones University of California at Berkeley Fall 2008 Introductory Applied Econometrics Final examination Scores add up to 125 points Your name: SID: 1 1.
More information2. Linear regression with multiple regressors
2. Linear regression with multiple regressors Aim of this section: Introduction of the multiple regression model OLS estimation in multiple regression Measures-of-fit in multiple regression Assumptions
More informationThe Classical Linear Regression Model
The Classical Linear Regression Model ME104: Linear Regression Analysis Kenneth Benoit August 14, 2012 CLRM: Basic Assumptions 1. Specification: Relationship between X and Y in the population is linear:
More informationEconometrics Summary Algebraic and Statistical Preliminaries
Econometrics Summary Algebraic and Statistical Preliminaries Elasticity: The point elasticity of Y with respect to L is given by α = ( Y/ L)/(Y/L). The arc elasticity is given by ( Y/ L)/(Y/L), when L
More informationstatistical sense, from the distributions of the xs. The model may now be generalized to the case of k regressors:
Wooldridge, Introductory Econometrics, d ed. Chapter 3: Multiple regression analysis: Estimation In multiple regression analysis, we extend the simple (two-variable) regression model to consider the possibility
More informationIntermediate Econometrics
Intermediate Econometrics Heteroskedasticity Text: Wooldridge, 8 July 17, 2011 Heteroskedasticity Assumption of homoskedasticity, Var(u i x i1,..., x ik ) = E(u 2 i x i1,..., x ik ) = σ 2. That is, the
More informationRecent Advances in the Field of Trade Theory and Policy Analysis Using Micro-Level Data
Recent Advances in the Field of Trade Theory and Policy Analysis Using Micro-Level Data July 2012 Bangkok, Thailand Cosimo Beverelli (World Trade Organization) 1 Content a) Classical regression model b)
More informationProblem Set 1 ANSWERS
Economics 20 Prof. Patricia M. Anderson Problem Set 1 ANSWERS Part I. Multiple Choice Problems 1. If X and Z are two random variables, then E[X-Z] is d. E[X] E[Z] This is just a simple application of one
More informationIntroductory Econometrics
Based on the textbook by Wooldridge: : A Modern Approach Robert M. Kunst robert.kunst@univie.ac.at University of Vienna and Institute for Advanced Studies Vienna November 23, 2013 Outline Introduction
More informationMotivation for multiple regression
Motivation for multiple regression 1. Simple regression puts all factors other than X in u, and treats them as unobserved. Effectively the simple regression does not account for other factors. 2. The slope
More informationRegression with a Single Regressor: Hypothesis Tests and Confidence Intervals
Regression with a Single Regressor: Hypothesis Tests and Confidence Intervals (SW Chapter 5) Outline. The standard error of ˆ. Hypothesis tests concerning β 3. Confidence intervals for β 4. Regression
More informationMultivariate Regression: Part I
Topic 1 Multivariate Regression: Part I ARE/ECN 240 A Graduate Econometrics Professor: Òscar Jordà Outline of this topic Statement of the objective: we want to explain the behavior of one variable as a
More informationECON Introductory Econometrics. Lecture 7: OLS with Multiple Regressors Hypotheses tests
ECON4150 - Introductory Econometrics Lecture 7: OLS with Multiple Regressors Hypotheses tests Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 7 Lecture outline 2 Hypothesis test for single
More informationWeek 3: Simple Linear Regression
Week 3: Simple Linear Regression Marcelo Coca Perraillon University of Colorado Anschutz Medical Campus Health Services Research Methods I HSMP 7607 2017 c 2017 PERRAILLON ALL RIGHTS RESERVED 1 Outline
More informationLinear Regression with 1 Regressor. Introduction to Econometrics Spring 2012 Ken Simons
Linear Regression with 1 Regressor Introduction to Econometrics Spring 2012 Ken Simons Linear Regression with 1 Regressor 1. The regression equation 2. Estimating the equation 3. Assumptions required for
More informationLECTURE 6. Introduction to Econometrics. Hypothesis testing & Goodness of fit
LECTURE 6 Introduction to Econometrics Hypothesis testing & Goodness of fit October 25, 2016 1 / 23 ON TODAY S LECTURE We will explain how multiple hypotheses are tested in a regression model We will define
More informationThe Multiple Regression Model Estimation
Lesson 5 The Multiple Regression Model Estimation Pilar González and Susan Orbe Dpt Applied Econometrics III (Econometrics and Statistics) Pilar González and Susan Orbe OCW 2014 Lesson 5 Regression model:
More information1 Warm-Up: 2 Adjusted R 2. Introductory Applied Econometrics EEP/IAS 118 Spring Sylvan Herskowitz Section #
Introductory Applied Econometrics EEP/IAS 118 Spring 2015 Sylvan Herskowitz Section #10 4-1-15 1 Warm-Up: Remember that exam you took before break? We had a question that said this A researcher wants to
More informationECON2228 Notes 7. Christopher F Baum. Boston College Economics. cfb (BC Econ) ECON2228 Notes / 41
ECON2228 Notes 7 Christopher F Baum Boston College Economics 2014 2015 cfb (BC Econ) ECON2228 Notes 6 2014 2015 1 / 41 Chapter 8: Heteroskedasticity In laying out the standard regression model, we made
More informationL2: Two-variable regression model
L2: Two-variable regression model Feng Li feng.li@cufe.edu.cn School of Statistics and Mathematics Central University of Finance and Economics Revision: September 4, 2014 What we have learned last time...
More information9. Linear Regression and Correlation
9. Linear Regression and Correlation Data: y a quantitative response variable x a quantitative explanatory variable (Chap. 8: Recall that both variables were categorical) For example, y = annual income,
More informationApplied Econometrics (QEM)
Applied Econometrics (QEM) The Simple Linear Regression Model based on Prinicples of Econometrics Jakub Mućk Department of Quantitative Economics Jakub Mućk Applied Econometrics (QEM) Meeting #2 The Simple
More informationECON Introductory Econometrics. Lecture 4: Linear Regression with One Regressor
ECON4150 - Introductory Econometrics Lecture 4: Linear Regression with One Regressor Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 4 Lecture outline 2 The OLS estimators The effect of
More informationSection Least Squares Regression
Section 2.3 - Least Squares Regression Statistics 104 Autumn 2004 Copyright c 2004 by Mark E. Irwin Regression Correlation gives us a strength of a linear relationship is, but it doesn t tell us what it
More informationEconomics 113. Simple Regression Assumptions. Simple Regression Derivation. Changing Units of Measurement. Nonlinear effects
Economics 113 Simple Regression Models Simple Regression Assumptions Simple Regression Derivation Changing Units of Measurement Nonlinear effects OLS and unbiased estimates Variance of the OLS estimates
More informationOrdinary Least Squares Regression
Ordinary Least Squares Regression Goals for this unit More on notation and terminology OLS scalar versus matrix derivation Some Preliminaries In this class we will be learning to analyze Cross Section
More informationProblem Set 10: Panel Data
Problem Set 10: Panel Data 1. Read in the data set, e11panel1.dta from the course website. This contains data on a sample or 1252 men and women who were asked about their hourly wage in two years, 2005
More informationMultiple Regression Analysis: Heteroskedasticity
Multiple Regression Analysis: Heteroskedasticity y = β 0 + β 1 x 1 + β x +... β k x k + u Read chapter 8. EE45 -Chaiyuth Punyasavatsut 1 topics 8.1 Heteroskedasticity and OLS 8. Robust estimation 8.3 Testing
More informationEconometrics Midterm Examination Answers
Econometrics Midterm Examination Answers March 4, 204. Question (35 points) Answer the following short questions. (i) De ne what is an unbiased estimator. Show that X is an unbiased estimator for E(X i
More informationLECTURE 2 LINEAR REGRESSION MODEL AND OLS
SEPTEMBER 29, 2014 LECTURE 2 LINEAR REGRESSION MODEL AND OLS Definitions A common question in econometrics is to study the effect of one group of variables X i, usually called the regressors, on another
More informationEconometrics - 30C00200
Econometrics - 30C00200 Lecture 11: Heteroskedasticity Antti Saastamoinen VATT Institute for Economic Research Fall 2015 30C00200 Lecture 11: Heteroskedasticity 12.10.2015 Aalto University School of Business
More informationLecture 3: Multivariate Regression
Lecture 3: Multivariate Regression Rates, cont. Two weeks ago, we modeled state homicide rates as being dependent on one variable: poverty. In reality, we know that state homicide rates depend on numerous
More informationECONOMETRICS Introduction & First Principles
ECONOMETRICS Introduction & First Principles DA V I D C. BR O A D S T O C K Research Institute of Economics & Management, China. OSEC Pre-Master Course, 2015. COURSE OUTLINE Part 1. Introduction to econometrics:
More information2.1. Consider the following production function, known in the literature as the transcendental production function (TPF).
CHAPTER Functional Forms of Regression Models.1. Consider the following production function, known in the literature as the transcendental production function (TPF). Q i B 1 L B i K i B 3 e B L B K 4 i
More informationCourse Econometrics I
Course Econometrics I 3. Multiple Regression Analysis: Binary Variables Martin Halla Johannes Kepler University of Linz Department of Economics Last update: April 29, 2014 Martin Halla CS Econometrics
More informationTwo-Variable Regression Model: The Problem of Estimation
Two-Variable Regression Model: The Problem of Estimation Introducing the Ordinary Least Squares Estimator Jamie Monogan University of Georgia Intermediate Political Methodology Jamie Monogan (UGA) Two-Variable
More informationSample Problems. Note: If you find the following statements true, you should briefly prove them. If you find them false, you should correct them.
Sample Problems 1. True or False Note: If you find the following statements true, you should briefly prove them. If you find them false, you should correct them. (a) The sample average of estimated residuals
More informationCh 2: Simple Linear Regression
Ch 2: Simple Linear Regression 1. Simple Linear Regression Model A simple regression model with a single regressor x is y = β 0 + β 1 x + ɛ, where we assume that the error ɛ is independent random component
More informationPractical Econometrics. for. Finance and Economics. (Econometrics 2)
Practical Econometrics for Finance and Economics (Econometrics 2) Seppo Pynnönen and Bernd Pape Department of Mathematics and Statistics, University of Vaasa 1. Introduction 1.1 Econometrics Econometrics
More informationRegression and Statistical Inference
Regression and Statistical Inference Walid Mnif wmnif@uwo.ca Department of Applied Mathematics The University of Western Ontario, London, Canada 1 Elements of Probability 2 Elements of Probability CDF&PDF
More informationApplied Econometrics (QEM)
Applied Econometrics (QEM) based on Prinicples of Econometrics Jakub Mućk Department of Quantitative Economics Jakub Mućk Applied Econometrics (QEM) Meeting #3 1 / 42 Outline 1 2 3 t-test P-value Linear
More informationHandout 11: Measurement Error
Handout 11: Measurement Error In which you learn to recognise the consequences for OLS estimation whenever some of the variables you use are not measured as accurately as you might expect. A (potential)
More informationAnswer all questions from part I. Answer two question from part II.a, and one question from part II.b.
B203: Quantitative Methods Answer all questions from part I. Answer two question from part II.a, and one question from part II.b. Part I: Compulsory Questions. Answer all questions. Each question carries
More informationEconometrics Multiple Regression Analysis: Heteroskedasticity
Econometrics Multiple Regression Analysis: João Valle e Azevedo Faculdade de Economia Universidade Nova de Lisboa Spring Semester João Valle e Azevedo (FEUNL) Econometrics Lisbon, April 2011 1 / 19 Properties
More informationECO375 Tutorial 8 Instrumental Variables
ECO375 Tutorial 8 Instrumental Variables Matt Tudball University of Toronto Mississauga November 16, 2017 Matt Tudball (University of Toronto) ECO375H5 November 16, 2017 1 / 22 Review: Endogeneity Instrumental
More informationFinal Exam. Economics 835: Econometrics. Fall 2010
Final Exam Economics 835: Econometrics Fall 2010 Please answer the question I ask - no more and no less - and remember that the correct answer is often short and simple. 1 Some short questions a) For each
More information2. (3.5) (iii) Simply drop one of the independent variables, say leisure: GP A = β 0 + β 1 study + β 2 sleep + β 3 work + u.
BOSTON COLLEGE Department of Economics EC 228 Econometrics, Prof. Baum, Ms. Yu, Fall 2003 Problem Set 3 Solutions Problem sets should be your own work. You may work together with classmates, but if you
More information1 Linear Regression Analysis The Mincer Wage Equation Data Econometric Model Estimation... 11
Econ 495 - Econometric Review 1 Contents 1 Linear Regression Analysis 4 1.1 The Mincer Wage Equation................. 4 1.2 Data............................. 6 1.3 Econometric Model.....................
More information