Lecture #8 & #9 Multiple regression
|
|
- Milton Cannon
- 5 years ago
- Views:
Transcription
1 Lecture #8 & #9 Multiple regression
2 Starting point: Y = f(x 1, X 2,, X k, u) Outcome variable of interest (movie ticket price) a function of several variables. Observables and unobservables. One or more hypotheses (needed)?
3 Vertical integration and ticket prices 1. Would other variables besides VI affect ticket prices? 2. Would the effect of VI on ticket prices depend on other characteristics of the theatre?
4 Multivariate/multiple regression Y = f X, u = β 0 + β 1 X + u E[Y X = x] = β 0 + β 1 x + u
5 Basic multiple regression Y = f X 1, X 2, u = β 0 + β 1 X 1 + β 2 X 2 + u E[Y X = x] = β 0 + β 1 x 1 + β 2 x 2
6 More structure - linear Y = β 0 + β 1 X 1 + β 2 X 2 This is the so-called population regression line (populaatio regressio). Y β 1 = dependent variable (vastemuuttuja) / endogenous variable. X i = independent variable i (selittävä muuttuja) / exogenous variable / regressor i. β 0, β 1, β 2 = parameters of the model.
7 Are all Xs born equal? Depends. Treatment variable = the one of primary interest. Control variable(s) = affects Y but we are not (so much) interested in this. Why include variables that we are not interested in?
8 What type of control variables matter, how & why? 1. cov(x 1, X 2 ) = 0 2. cov(x 1, X 2 ) 0 Key is whether the treatment variable and control variable are correlated or not.
9 What type of control variables matter, how & why? Why is this key? Recall መβ 1 = β 1 + ρ Xu σ u σ X Rewrite u = β 2 X 2 + v
10 What type of control variables matter, how & why? Rewrite cov X i, v = 0 Then መβ 1 = β 1 + β 2 ρ X1 X 2 σ X2 σ X1
11 What type of control variables matter, how & why? If the Xs are correlated, then the bias in β 1 depends on 1. What is the impact of X 2 on Y. 2. What is the correlation between the Xs. 3. How much variance X 2 has relative to X 1.
12 What type of control variables matter, how & why? So are we home if cov(x 1, X 2 ) = 0? Yes and no. If cov(x 1, X 2 ) = 0, then መβ 1 = β 1, but But adding X 2 decreases the standard error / increases the precision of መβ 1.
13 What type of control variables matter, how & why? A 2-variable model (App 6.2 in S&W). 2 explanatory variables and homosc. errors, ρ X1,X 2 = 0. Then = the variance of β 1. σ 2 β1 = 1 n Adding X 2 necessarily decreases σ u 2. σ u 2 2 σ X1
14 VI, TV, and ticket prices Let s look at the following model Highprice = β 0 + β VI VI + β TV TV + u VI TV mean sd N
15 Are VI and TV correlated? TV VI = 0 VI = 1 mean sd N
16 Are VI and TV correlated? Correlation coefficient (p-value 0.00).
17 VI cond on TV exposure 0 VI Years of TV data linear fit
18 Should we suspect that TV affects ticket price? TV and movies substitutes. increasing TV availability = lowering TV price. lower movie tickets.
19 Should we suspect that TV affects ticket price? TV increases awareness of movies. TV increases quality of movies. increasing TV availability = increasing attractiveness of movies. higher movie tickets.
20 Do VI and TV affect movie prices? Highprice vi = 0 vi = 1 mean sd N Highprice TV < 4 TV 4 mean sd N
21 Ticket prices cond on vi Movie Ticket Price VI data linear fit
22 Ticket prices cond on TV exposure Movie Ticket Price Years of TV data linear fit
23 First look univariate regressions Highprice = β 0VI + β VI VI + u Highprice = β 0TV + β TV TV + u
24 Highprice Highprice vi tv const N r F
25 Coeff of VI s.e. of VI p-value of VI Coeff of TV s.e. of TV p-value of TV nobs R2 Joint sign. (1) (2) vi tv const N r F City FE NO YES Size and significance (may) depend on control variables
26 (1) (2) vi tv const N r F City FE NO YES Highprice Highprice vi tv const N r F
27 Issues 1. How do the individual coefficients compare to univariate results? 2. What explains the difference(s)? 3. What about statistical significance of individual coefficients? 4. What about several / all coefficients? 5. What about R 2?
28 Issues 6. What is the interpretation of individual coefficients? 7. (under what assumptions) does OLS work? 8. How to choose which explanatory variables to include / exclude? 9. What if the world is more complicated than linear? 10. What all can go wrong, and how would I know / find out?
29 Issues 1. How do the individual coefficients compare to univariate results? 2. What explains the difference(s)?
30 Q1&Q2 multivariate vs. univariate Compare VI coefficient in the univariate to that in the multivariate regressions. What can you conclude? Recall መβ VI = β VI + β TV ρ XVI X TV σ XTV σ XVI
31 (1) (2) vi tv const N r F City FE NO YES VI TV mean sd N Highprice Highprice vi tv const N r F Corr(VI,TV) = -0.31
32 Q1&Q2 multivariate vs. univariate VI univariate bias Beta_TV corr(vi,tv) sd(tv) sd(vi) bias Beta_VI_univ Beta_VI_multiv Diff = Bias
33 Q1&Q2 multivariate vs. univariate Do the same for TV. What can you conclude?
34 Issues 3. What about statistical significance of individual coefficients? 4. What about the statistical significance of several / all coefficients?
35 Coeff of VI s.e. of VI p-value of VI Coeff of TV s.e. of TV p-value of TV nobs R2 Joint sign. Q3&Q4 statistical significance (1) (2) vi tv const N r F City FE NO YES Size and significance (may) depend on control variables
36 Q3&Q4 statistical significance Highprice = β 0 + β VI VI + β TV TV + u Can we test each coefficient individually as above? What about pairs (or more) of coefficients?
37 Q3&Q4 statistical significance Q#1: are both (β 0 and) β VI =0 and β TV = 0? F-test (and others). Cannot do this by looking at individual (t-) tests. Reason: 2 or more random variables need their joint distribution.
38 Q3&Q4 statistical significance F-test (under homosc.). For illustration only. F = (SSR restricted SSR unrestricted )/q SSR unrestricted /(n k unrestricted 1) F = 2 (R unrestricted 2 R restricted )/q 2 (1 R unrestricted )/(n k unrestricted 1) Modern software calculate the heterosc. robust F-test.
39 regr highprice vi tv, cluster(theaterid) Linear regression Number of obs = 2685 F( 2, 392) = Prob > F = R-squared = Root MSE = (Std. Err. adjusted for 393 clusters in theaterid) Robust highprice Coef. Std. Err. t P> t [95% Conf. Interval] vi tv _cons
40 testparm vi tv ( 1) vi = 0 ( 2) tv = 0 F( 2, 392) = Prob > F =
41 Q3&Q4 statistical significance Q#2: what about β VI =β TV? Need either a direct test modern software allow this (easily). Or a trick (add and substract).
42 . test vi = tv ( 1) vi - tv = 0 F( 1, 392) = Prob > F =
43 Issues 5. What about R 2?
44 Q5 What about R 2? R 2 = ESS TSS = 1 SSR TSS R 2 increases (almost) surely as you add explanatory variables. Adjusted R 2 corrects for this. adjr 2 = 1 n 1 SSR n k 1 TSS = s u 2 s Y 2
45 Q5 What about R 2? n= #obs. k= #explanatory variables. Adjusted R 2 always < R 2.
46 Q5 What about R 2? High R 2 / increase in R 2 says nothing about causality. High R 2 does not mean your model does not have omitted variable bias. High R 2 does not mean you have the right set of explanatory variables. But, as you saw from the F-test formula, (changes in) R 2 are indicative.
47 Issues 6. What is the interpretation of individual coefficients?
48 Q6 interpretation of coefficients. Highprice= f VI, TV, u = β 0 + β VI VI + β TV TV + u E[Highprice VI = vi & TV = tv] = β 0 + β VI vi + β TV tv
49 Q6 interpretation of coefficients. E Highprice VI = vi & TV = tv = β 0 + β VI vi + β TV tv Take (partial derivative) of Highprice wrt. VI. Notice what is assumed of the (interaction) of the effect of VI and TV on Highprice. Effect of VI on Highprice, conditional on the value of TV.
50 Issues 7. (under what assumptions) does OLS work?
51 Q7 assumptions of OLS? A1: conditional distribution of u has mean zero given X. E u X = 0 Implies that u and X are uncorrelated (as cov u, X = 0).
52 Q7 assumptions of OLS? A2: X i, Y i i = 1,, n are i.i.d. The same concept as before, but now over a joint distribution of possibly a large # variables.
53 Q7 assumptions of OLS? A3: X i and Y i have nonzero finite fourth moments. Means that large outliers are (extremely) unlikely.
54 Q7 assumptions of OLS? A4: No perfect multicollinearity. What does this mean? Case #1: no two explanatory variables can be perfectly correlated. Case #2: no combination of explanatory variables can be perfectly correlated.
55 Q7 assumptions of OLS? Analogue: to solve a system of equations, you need as many equations as there are unknowns. Think of OLS: we get as many FOCs as there are parameters.
56 Q7 assumptions of OLS? Example of case #2: a constant and two dummy variables. Define X 1 = 1 if vi = 0 and 0 otherwise X 2 = 1 if vi = 1 and 0 otherwise This is the dummy-variable trap.
57 Q7 assumptions of OLS? Example of case #1: A 2-variable model (App 6.2 in S&W) 2 explanatory variables and homosc. errors. Then σ 2 β1 = 1 n ρ X1,X 2 σ u 2 2 σ X1 σ 2 β1 = the variance of β 1.
58 Q7 assumptions of OLS? σ 2 β1 = 1 n ρ X1,X 2 σ u 2 2 σ X1 Notice what happens when you increase ρ X1,X 2. A4 is also called the full rank condition.
59 Issues 8. How to choose which explanatory variables to include / exclude?
60 Q8 how to choose the expl. variables? Too few explanatory variables possible omitted variable bias. Too many variables multicollinearity and inflated se s. Note: too many requires correlation among explanatory variables. Can one test one s way out of this? No, but tests do help.
61 Q8 how to choose the expl. variables? There are tests of individual and of joint significance. Why cannot I run these on autopilot? Case #1: start from a small model, add variables according to some (statistical) criterion. Case#2: start from a large model, drop variables according to some (statistical) criterion.
62 Q8 how to choose the expl. variables? What goes wrong? 1. Statistical significance economic significance. 2. Statistical significance economic relevance. 3. You may end up with variables that are highly correlated with Y, but have no real connection to it. 4. Multiple testing leads to wrong (too good) test results.
63 Q8 The principled approach 1. Before touching your data, write down a protocol. 2. Base explanatory (control) variables on theory and existing knowledge. 3. Specify a testing protocol. 4. Execute
64 Q8 The practical approach 1. Try to be as close to the principled approach as possible. 2. Learning allowed and encouraged new/respecification. 3. Robustness testing.
65 Q8 Robustness testing 1. It is rarely the case that there is a right model that you can (re)cover. 2. Ask: are your results sensitive to small, well-justified changes to your model? 1. Adding (meaningful) variables. 2. Deleting variables. 3. Changing functional form. 4. Changing assumptions about the error term.
66 Issues 9. What if the world is more complicated than linear?
67 Q9 - What if the world is more complicated than linear? Well, make your model non-linear. Many ways to do this. Let s go through some of them. 1. Keeping variables the same, but making the function more complicated. 2. Transforming the variables.
68 Q9 Higher order polynomials p X = σ M i=0 α i X i = α 0 X 0 +α 1 X 1 +α M X M So thus far we have used a 1st order polynomial... Highprice= f VI, VI, u = β 0 + β VI VI + β TV TV + u
69 Q9 Higher order polynomials Would it make sense to add a 2nd order term for VI? What about TV? Highprice= f VI, TV, u = β 0 + β VI VI + β TV TV + β TV2 TV 2 + u
70 Q9 Higher order polynomials What is now the partial derivative wrt. TV? How to determine the degree of the polynomial? Start from a reasonable one (3 or 4). Test down. Notice: Here you have a prior plan and a clear sequence in mind.
71 Q9 Higher order polynomials Notice how there is a (big) difference in whether you take a higher order polynomial of a control variable vs. a treatment variable. Control variable: to make sure the treatment effect (=coefficient of the treatment variable) not biased because of wrong functional form on control variables. Treatment variable: to allow for different treatment effects ( heterogenous treatment effects ).
72 Q9 Example: Testing for U-shape A 2nd order polynomial gives you a U-shape. How to test? 1. Start from a 3rd order polynomial. 2. Test significance of 3rd order term (and joint sign. of 2nd and 3rd). 3. Drop 3rd order if insign., test 2nd order term.
73 Variable tv3 tv2 tv1 vi tv tv tv const N r F all F (TV2, TV3)
74 E[Highprice VI = 0] = expected ticket price when VI = 0 TV quart. quadr. linear
75
76 Q9 - What if the world is more complicated than linear? Can you do more than use polynomials? Yes... Y = f X + u Give f X any shape you like. We will skip this for now (semi- and nonparametric estimation).
77 Q9 Interactions What if there is reason to believe that the effect of X 1 depends on the value of X 2? Examples: 1. Returns to education different by gender. 2. Effect of R&D subsidies different by firm size.
78 Q9 Example: Effect of VI on ticket price depends on TV Highprice= f VI, TV, u = β 0 + β VI VI + β TV TV + u Highprice= f VI, TV, u = β 0 + β VI VI + β VI TV VI TV + β TV TV + u What is now the expected ticket price VI?
79 Variable (1) (2) vi vi x tv tv const N r F F(VI,VIxTV) 0.6 p-value 0.549
80 Q9 Example: Effect of VI on ticket price depends on TV How to calculate the effect of VI on ticket price? Now depends on the value of TV directly. Notice: 1. without the interaction VI TV, the effect of VI on ticket price independent of TV (= the same no matter what value TV takes). 2. not true any more with the interaction.
81 β VI VI + β VITV VI x tv
82 Q9 Transformations of variables What is a transformation of a variable? Use some g(x) instead of X. Most often use (natural) log of X. Sometimes 1/X. Always use a monotonic transformation.
83 Q9 Which variable to transform? Y, X, or both (all)? Using logs smooths the data, i.e., decreases the differences across different values that the variable takes. Taking logs allows negative values for a non-negative variable (if value < 1).
84 Y=Ln(X)
85 Log approximation to %-change ln Y + Y ln(y) Y Y
86 Q9 Which variable to transform? 1. Only Y Interpretation of β VI. Ln(Highprice) = β 0 + β VI VI + β TV TV + u Highprice = e β 0+β VI VI+β TV TV+u = e β 0 e β VIVI e β TVTV e u β VI = %-increase in Highprice due to a 1 unit increase in TV.
87 0.7 Accuracy of the %/ln - approximation % ln
88 Q9 Which variable to transform? 2. Only X Highprice = β 0 + β VI VI + β TV lntv + u Interpretation of β TV. β TV = change in Highprice due to a 1% increase in TV.
89 Q9 Which variable to transform? 3. Both Y and X ln(highprice) = β 0 + β VI VI + β TV lntv + u Interpretation of β TV. β TV = %-change in Highprice due to a 1% change in TV.
90 Variable linear loglinear linearlog loglog vi tv lntv const N r F
91 Q9 Interpretations of β TV Linear: a 1 unit increase in TV increases ticket prices by 0.064$ Loglinear: a 1 unit increase in TV increases ticket prices by 5.9% 0.06$. Linearlog: a 20% increase in TV increases ticket prices by = 0.04$ Loglog: a 1% increase in TV increases ticket prices by 0.188%. A 20% % 0.04$
92 Issues 10. What all can go wrong, and how would I know / find out?
93 Q10 What can go wrong? Internal validity. External validity.
94 Internal validity 1. Omitted variable bias. 2. Functional form misspecification (mistake). 3. Measurement error in variable(s). 4. Sample selection. 5. Simultaneous causality. 6. Non-homoskedastic errors.
95 Omitted variable bias Condition the one we have already discussed. Judicious choice of controls. New data. What else? we will get to these.
96 Functional form How can you be sure? 1. Tests between the functional forms you try. 2. Note: can easily test only those functional forms that are nested. Example #1: 1st and 2nd order polynomial - nested. Example #2: loglog and linear non-nested.
97 Functional form Try out different ones and check robustness of your results.
98 Measurement error in variables Case #1: Y measured with error, error random. Y obs = Y + error Let s have a look at our regression: Y = β 0 + β 1 X + u Y obs = Y + error = β 0 + β 1 X + u + error
99 Measurement error in variables Measurement error in Y not a big problem (as long as random). Leads to higher s.e., but no bias.
100 Measurement error in variables Case #2: X measured with error, error random. X obs = X + error Let s have a look at our regression: Y = β 0 + β 1 X obs + u Y = β 0 + β 1 (X + error) + u
101 Measurement error in variables One can show (see SW ch. 9.2): መβ 1 = σ X 2 σ 2 2 β 1 X + σ error σ X 2 σ 2 X +σ2 = signal to noise ratio. error The larger is the role of the error, the more is መβ 1 downward biased. = Attenuation bias.
102 Sample selection Your observations are not a random sample of the underlying population. Ex #1:Estimate the returns to entrepreneurship using 5 year old firms. The non-profitable exit. Ex #2: Estimate the returns to graduating quickly. Those who graduate quickly have unobservable skills that make them (un)attractive to employers.
103 Sample selection Ex #3: estimate effects of R&D subsidies. Firms that get subsidies not avg firms. Rule #1: think through and understand selection into your sample. We will discuss this later, but in general is an advanced topic.
104 Simultaneous causality Think of the determination of prices and quantities. Price affects how much is sold and produced. How much is bought and produced affects the price. simultaneous causality. We will come back to this.
105 Non-homoskedastic errors Heteroskedasticity. With sequential observations, maybe also correlation over time ( autocorrelation ). With e.g. geographical data, correlation across observation units ( clustering ). Affects statistical precision of individual coefficients, nothing else.
106 Variable homosk heterosk cluster: city cluster: theatre vi tv const N r F
107 External validity A branch of economics in which economic theory and statistical methods are fused in the analysis of numerical and institutional data Hood and Koopmans (1953, pp. xv.). Hood, W. C., and T. C. Koopmans (eds.), 1953, Studies in Econometric Method, Wiley.
108 External validity Any (material) change to any of the components of your study jeopardizes external validity. 1. Differences in (applicable) theory. 2. Differences in statistical method. 3. Differences in data (including in populations). 4. Differences in institutions.
109 External validity Is any study externally valid? Yes and no. Best to ensure internal validity, and conduct many studies.
Applied 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 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 informationLinear Regression with Multiple Regressors
Linear Regression with Multiple Regressors (SW Chapter 6) Outline 1. Omitted variable bias 2. Causality and regression analysis 3. Multiple regression and OLS 4. Measures of fit 5. Sampling distribution
More informationECON Introductory Econometrics. Lecture 16: Instrumental variables
ECON4150 - Introductory Econometrics Lecture 16: Instrumental variables Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 12 Lecture outline 2 OLS assumptions and when they are violated Instrumental
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 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 informationMultiple Regression. Midterm results: AVG = 26.5 (88%) A = 27+ B = C =
Economics 130 Lecture 6 Midterm Review Next Steps for the Class Multiple Regression Review & Issues Model Specification Issues Launching the Projects!!!!! Midterm results: AVG = 26.5 (88%) A = 27+ B =
More informationLinear Regression with Multiple Regressors
Linear Regression with Multiple Regressors (SW Chapter 6) Outline 1. Omitted variable bias 2. Causality and regression analysis 3. Multiple regression and OLS 4. Measures of fit 5. Sampling distribution
More informationMultiple Regression Analysis: Estimation. Simple linear regression model: an intercept and one explanatory variable (regressor)
1 Multiple Regression Analysis: Estimation Simple linear regression model: an intercept and one explanatory variable (regressor) Y i = β 0 + β 1 X i + u i, i = 1,2,, n Multiple linear regression model:
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 informationChapter 6: Linear Regression With Multiple Regressors
Chapter 6: Linear Regression With Multiple Regressors 1-1 Outline 1. Omitted variable bias 2. Causality and regression analysis 3. Multiple regression and OLS 4. Measures of fit 5. Sampling distribution
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 informationReview of Econometrics
Review of Econometrics Zheng Tian June 5th, 2017 1 The Essence of the OLS Estimation Multiple regression model involves the models as follows Y i = β 0 + β 1 X 1i + β 2 X 2i + + β k X ki + u i, i = 1,...,
More informationApplied Statistics and Econometrics
Applied Statistics and Econometrics Lecture 7 Saul Lach September 2017 Saul Lach () Applied Statistics and Econometrics September 2017 1 / 68 Outline of Lecture 7 1 Empirical example: Italian labor force
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 informationIntroduction to Econometrics. Multiple Regression
Introduction to Econometrics The statistical analysis of economic (and related) data STATS301 Multiple Regression Titulaire: Christopher Bruffaerts Assistant: Lorenzo Ricci 1 OLS estimate of the TS/STR
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 informationEcon 836 Final Exam. 2 w N 2 u N 2. 2 v N
1) [4 points] Let Econ 836 Final Exam Y Xβ+ ε, X w+ u, w N w~ N(, σi ), u N u~ N(, σi ), ε N ε~ Nu ( γσ, I ), where X is a just one column. Let denote the OLS estimator, and define residuals e as e Y X.
More information2) 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
Introduction to Econometrics Midterm April 26, 2011 Name Student ID MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. (5,000 credit for each correct
More information1 Motivation for Instrumental Variable (IV) Regression
ECON 370: IV & 2SLS 1 Instrumental Variables Estimation and Two Stage Least Squares Econometric Methods, ECON 370 Let s get back to the thiking in terms of cross sectional (or pooled cross sectional) data
More informationLecture#12. Instrumental variables regression Causal parameters III
Lecture#12 Instrumental variables regression Causal parameters III 1 Demand experiment, market data analysis & simultaneous causality 2 Simultaneous causality Your task is to estimate the demand function
More informationRewrap ECON November 18, () Rewrap ECON 4135 November 18, / 35
Rewrap ECON 4135 November 18, 2011 () Rewrap ECON 4135 November 18, 2011 1 / 35 What should you now know? 1 What is econometrics? 2 Fundamental regression analysis 1 Bivariate regression 2 Multivariate
More informationIntroduction to Econometrics. Multiple Regression (2016/2017)
Introduction to Econometrics STAT-S-301 Multiple Regression (016/017) Lecturer: Yves Dominicy Teaching Assistant: Elise Petit 1 OLS estimate of the TS/STR relation: OLS estimate of the Test Score/STR relation:
More information7 Introduction to Time Series
Econ 495 - Econometric Review 1 7 Introduction to Time Series 7.1 Time Series vs. Cross-Sectional Data Time series data has a temporal ordering, unlike cross-section data, we will need to changes some
More informationEconometrics 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 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 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 informationECON Introductory Econometrics. Lecture 11: Binary dependent variables
ECON4150 - Introductory Econometrics Lecture 11: Binary dependent variables Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 11 Lecture Outline 2 The linear probability model Nonlinear probability
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 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 informationCHAPTER 6: SPECIFICATION VARIABLES
Recall, we had the following six assumptions required for the Gauss-Markov Theorem: 1. The regression model is linear, correctly specified, and has an additive error term. 2. The error term has a zero
More informationNonlinear Regression Functions
Nonlinear Regression Functions (SW Chapter 8) Outline 1. Nonlinear regression functions general comments 2. Nonlinear functions of one variable 3. Nonlinear functions of two variables: interactions 4.
More informationLecture 5. In the last lecture, we covered. This lecture introduces you to
Lecture 5 In the last lecture, we covered. homework 2. The linear regression model (4.) 3. Estimating the coefficients (4.2) This lecture introduces you to. Measures of Fit (4.3) 2. The Least Square Assumptions
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 informationExam ECON3150/4150: Introductory Econometrics. 18 May 2016; 09:00h-12.00h.
Exam ECON3150/4150: Introductory Econometrics. 18 May 2016; 09:00h-12.00h. This is an open book examination where all printed and written resources, in addition to a calculator, are allowed. If you are
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 informationEMERGING MARKETS - Lecture 2: Methodology refresher
EMERGING MARKETS - Lecture 2: Methodology refresher Maria Perrotta April 4, 2013 SITE http://www.hhs.se/site/pages/default.aspx My contact: maria.perrotta@hhs.se Aim of this class There are many different
More informationECON 594: Lecture #6
ECON 594: Lecture #6 Thomas Lemieux Vancouver School of Economics, UBC May 2018 1 Limited dependent variables: introduction Up to now, we have been implicitly assuming that the dependent variable, y, was
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 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 informationContest Quiz 3. Question Sheet. In this quiz we will review concepts of linear regression covered in lecture 2.
Updated: November 17, 2011 Lecturer: Thilo Klein Contact: tk375@cam.ac.uk Contest Quiz 3 Question Sheet In this quiz we will review concepts of linear regression covered in lecture 2. NOTE: Please round
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 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 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 information7 Introduction to Time Series Time Series vs. Cross-Sectional Data Detrending Time Series... 15
Econ 495 - Econometric Review 1 Contents 7 Introduction to Time Series 3 7.1 Time Series vs. Cross-Sectional Data............ 3 7.2 Detrending Time Series................... 15 7.3 Types of Stochastic
More informationIntroduction to Econometrics Third Edition James H. Stock Mark W. Watson The statistical analysis of economic (and related) data
Introduction to Econometrics Third Edition James H. Stock Mark W. Watson The statistical analysis of economic (and related) data 1/2/3-1 1/2/3-2 Brief Overview of the Course Economics suggests important
More informationRegression #8: Loose Ends
Regression #8: Loose Ends Econ 671 Purdue University Justin L. Tobias (Purdue) Regression #8 1 / 30 In this lecture we investigate a variety of topics that you are probably familiar with, but need to touch
More informationECON Introductory Econometrics. Lecture 17: Experiments
ECON4150 - Introductory Econometrics Lecture 17: Experiments Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 13 Lecture outline 2 Why study experiments? The potential outcome framework.
More informationApplied Quantitative Methods II
Applied Quantitative Methods II Lecture 4: OLS and Statistics revision Klára Kaĺıšková Klára Kaĺıšková AQM II - Lecture 4 VŠE, SS 2016/17 1 / 68 Outline 1 Econometric analysis Properties of an estimator
More informationNinth ARTNeT Capacity Building Workshop for Trade Research "Trade Flows and Trade Policy Analysis"
Ninth ARTNeT Capacity Building Workshop for Trade Research "Trade Flows and Trade Policy Analysis" June 2013 Bangkok, Thailand Cosimo Beverelli and Rainer Lanz (World Trade Organization) 1 Selected econometric
More informationEconometrics Honor s Exam Review Session. Spring 2012 Eunice Han
Econometrics Honor s Exam Review Session Spring 2012 Eunice Han Topics 1. OLS The Assumptions Omitted Variable Bias Conditional Mean Independence Hypothesis Testing and Confidence Intervals Homoskedasticity
More information8. Nonstandard standard error issues 8.1. The bias of robust standard errors
8.1. The bias of robust standard errors Bias Robust standard errors are now easily obtained using e.g. Stata option robust Robust standard errors are preferable to normal standard errors when residuals
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 informationSTOCKHOLM UNIVERSITY Department of Economics Course name: Empirical Methods Course code: EC40 Examiner: Lena Nekby Number of credits: 7,5 credits Date of exam: Friday, June 5, 009 Examination time: 3 hours
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 informationEconometrics Problem Set 11
Econometrics Problem Set WISE, Xiamen University Spring 207 Conceptual Questions. (SW 2.) This question refers to the panel data regressions summarized in the following table: Dependent variable: ln(q
More informationLecture 5: Omitted Variables, Dummy Variables and Multicollinearity
Lecture 5: Omitted Variables, Dummy Variables and Multicollinearity R.G. Pierse 1 Omitted Variables Suppose that the true model is Y i β 1 + β X i + β 3 X 3i + u i, i 1,, n (1.1) where β 3 0 but that the
More informationA Course in Applied Econometrics Lecture 14: Control Functions and Related Methods. Jeff Wooldridge IRP Lectures, UW Madison, August 2008
A Course in Applied Econometrics Lecture 14: Control Functions and Related Methods Jeff Wooldridge IRP Lectures, UW Madison, August 2008 1. Linear-in-Parameters Models: IV versus Control Functions 2. Correlated
More informationLinear Regression with Time Series Data
Econometrics 2 Linear Regression with Time Series Data Heino Bohn Nielsen 1of21 Outline (1) The linear regression model, identification and estimation. (2) Assumptions and results: (a) Consistency. (b)
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 informationApplied Quantitative Methods II
Applied Quantitative Methods II Lecture 10: Panel Data Klára Kaĺıšková Klára Kaĺıšková AQM II - Lecture 10 VŠE, SS 2016/17 1 / 38 Outline 1 Introduction 2 Pooled OLS 3 First differences 4 Fixed effects
More informationINTRODUCTION TO BASIC LINEAR REGRESSION MODEL
INTRODUCTION TO BASIC LINEAR REGRESSION MODEL 13 September 2011 Yogyakarta, Indonesia Cosimo Beverelli (World Trade Organization) 1 LINEAR REGRESSION MODEL In general, regression models estimate the effect
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 informationHandout 12. Endogeneity & Simultaneous Equation Models
Handout 12. Endogeneity & Simultaneous Equation Models In which you learn about another potential source of endogeneity caused by the simultaneous determination of economic variables, and learn how to
More informationLecture#17. Time series III
Lecture#17 Time series III 1 Dynamic causal effects Think of macroeconomic data. Difficult to think of an RCT. Substitute: different treatments to the same (observation unit) at different points in time.
More informationA Guide to Modern Econometric:
A Guide to Modern Econometric: 4th edition Marno Verbeek Rotterdam School of Management, Erasmus University, Rotterdam B 379887 )WILEY A John Wiley & Sons, Ltd., Publication Contents Preface xiii 1 Introduction
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 informationChapter 7. Hypothesis Tests and Confidence Intervals in Multiple Regression
Chapter 7 Hypothesis Tests and Confidence Intervals in Multiple Regression Outline 1. Hypothesis tests and confidence intervals for a single coefficie. Joint hypothesis tests on multiple coefficients 3.
More informationHypothesis Tests and Confidence Intervals in Multiple Regression
Hypothesis Tests and Confidence Intervals in Multiple Regression (SW Chapter 7) Outline 1. Hypothesis tests and confidence intervals for one coefficient. Joint hypothesis tests on multiple coefficients
More informationEconometrics I KS. Module 1: Bivariate Linear Regression. Alexander Ahammer. This version: March 12, 2018
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
More informationThe returns to schooling, ability bias, and regression
The returns to schooling, ability bias, and regression Jörn-Steffen Pischke LSE October 4, 2016 Pischke (LSE) Griliches 1977 October 4, 2016 1 / 44 Counterfactual outcomes Scholing for individual i is
More informationEconometrics II. Nonstandard Standard Error Issues: A Guide for the. Practitioner
Econometrics II Nonstandard Standard Error Issues: A Guide for the Practitioner Måns Söderbom 10 May 2011 Department of Economics, University of Gothenburg. Email: mans.soderbom@economics.gu.se. Web: www.economics.gu.se/soderbom,
More informationHypothesis Tests and Confidence Intervals. in Multiple Regression
ECON4135, LN6 Hypothesis Tests and Confidence Intervals Outline 1. Why multipple regression? in Multiple Regression (SW Chapter 7) 2. Simpson s paradox (omitted variables bias) 3. Hypothesis tests and
More informationMaking sense of Econometrics: Basics
Making sense of Econometrics: Basics Lecture 4: Qualitative influences and Heteroskedasticity Egypt Scholars Economic Society November 1, 2014 Assignment & feedback enter classroom at http://b.socrative.com/login/student/
More informationEconometrics. Week 8. Fall Institute of Economic Studies Faculty of Social Sciences Charles University in Prague
Econometrics Week 8 Institute of Economic Studies Faculty of Social Sciences Charles University in Prague Fall 2012 1 / 25 Recommended Reading For the today Instrumental Variables Estimation and Two Stage
More informationECONOMETRICS HONOR S EXAM REVIEW SESSION
ECONOMETRICS HONOR S EXAM REVIEW SESSION Eunice Han ehan@fas.harvard.edu March 26 th, 2013 Harvard University Information 2 Exam: April 3 rd 3-6pm @ Emerson 105 Bring a calculator and extra pens. Notes
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 informationFinal Exam. Question 1 (20 points) 2 (25 points) 3 (30 points) 4 (25 points) 5 (10 points) 6 (40 points) Total (150 points) Bonus question (10)
Name Economics 170 Spring 2004 Honor pledge: I have neither given nor received aid on this exam including the preparation of my one page formula list and the preparation of the Stata assignment for the
More informationLeast Squares Estimation-Finite-Sample Properties
Least Squares Estimation-Finite-Sample Properties Ping Yu School of Economics and Finance The University of Hong Kong Ping Yu (HKU) Finite-Sample 1 / 29 Terminology and Assumptions 1 Terminology and Assumptions
More informationWISE International Masters
WISE International Masters ECONOMETRICS Instructor: Brett Graham INSTRUCTIONS TO STUDENTS 1 The time allowed for this examination paper is 2 hours. 2 This examination paper contains 32 questions. You are
More informationQuantitative Methods I: Regression diagnostics
Quantitative Methods I: Regression University College Dublin 10 December 2014 1 Assumptions and errors 2 3 4 Outline Assumptions and errors 1 Assumptions and errors 2 3 4 Assumptions: specification Linear
More information10. Time series regression and forecasting
10. Time series regression and forecasting Key feature of this section: Analysis of data on a single entity observed at multiple points in time (time series data) Typical research questions: What is the
More informationLecture 9: Panel Data Model (Chapter 14, Wooldridge Textbook)
Lecture 9: Panel Data Model (Chapter 14, Wooldridge Textbook) 1 2 Panel Data Panel data is obtained by observing the same person, firm, county, etc over several periods. Unlike the pooled cross sections,
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 informationLinear Models in Econometrics
Linear Models in Econometrics Nicky Grant At the most fundamental level econometrics is the development of statistical techniques suited primarily to answering economic questions and testing economic theories.
More informationDynamic Panels. Chapter Introduction Autoregressive Model
Chapter 11 Dynamic Panels This chapter covers the econometrics methods to estimate dynamic panel data models, and presents examples in Stata to illustrate the use of these procedures. The topics in this
More informationEcon 423 Lecture Notes
Econ 423 Lecture Notes (hese notes are modified versions of lecture notes provided by Stock and Watson, 2007. hey are for instructional purposes only and are not to be distributed outside of the classroom.)
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 informationChapter 11. Regression with a Binary Dependent Variable
Chapter 11 Regression with a Binary Dependent Variable 2 Regression with a Binary Dependent Variable (SW Chapter 11) So far the dependent variable (Y) has been continuous: district-wide average test score
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 informationSimultaneous Equation Models Learning Objectives Introduction Introduction (2) Introduction (3) Solving the Model structural equations
Simultaneous Equation Models. Introduction: basic definitions 2. Consequences of ignoring simultaneity 3. The identification problem 4. Estimation of simultaneous equation models 5. Example: IS LM model
More informationApplied Health Economics (for B.Sc.)
Applied Health Economics (for B.Sc.) Helmut Farbmacher Department of Economics University of Mannheim Autumn Semester 2017 Outlook 1 Linear models (OLS, Omitted variables, 2SLS) 2 Limited and qualitative
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 informationLECTURE 10. Introduction to Econometrics. Multicollinearity & Heteroskedasticity
LECTURE 10 Introduction to Econometrics Multicollinearity & Heteroskedasticity November 22, 2016 1 / 23 ON PREVIOUS LECTURES We discussed the specification of a regression equation Specification consists
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 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 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 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 informationThe F distribution. If: 1. u 1,,u n are normally distributed; and 2. X i is distributed independently of u i (so in particular u i is homoskedastic)
The F distribution If: 1. u 1,,u n are normally distributed; and. X i is distributed independently of u i (so in particular u i is homoskedastic) then the homoskedasticity-only F-statistic has the F q,n-k
More informationNonrecursive Models Highlights Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised April 6, 2015
Nonrecursive Models Highlights Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised April 6, 2015 This lecture borrows heavily from Duncan s Introduction to Structural
More information