1 Econometrics (NA1031) Chap 7 Using Indicator Variables.

Slides:



Advertisements
Similar presentations
Rerandomization in Randomized Experiments STAT 320 Duke University Kari Lock Morgan.
Advertisements

Computational Statistics. Basic ideas  Predict values that are hard to measure irl, by using co-variables (other properties from the same measurement.
Random Assignment Experiments
C 3.7 Use the data in MEAP93.RAW to answer this question
Using Indicator Variables
Economics 20 - Prof. Anderson1 Multiple Regression Analysis y =  0 +  1 x 1 +  2 x  k x k + u 7. Specification and Data Problems.
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
Omitted Variable Bias Methods of Economic Investigation Lecture 7 1.
The General Linear Model. The Simple Linear Model Linear Regression.
Econ 140 Lecture 151 Multiple Regression Applications Lecture 15.
The Use and Interpretation of the Constant Term
Choosing a Functional Form
The Simple Linear Regression Model: Specification and Estimation
Linear Regression.
Copyright © 2008 by the McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Managerial Economics, 9e Managerial Economics Thomas Maurice.
Econ 140 Lecture 121 Prediction and Fit Lecture 12.
Chapter 10 Simple Regression.
1Prof. Dr. Rainer Stachuletz Multiple Regression Analysis y =  0 +  1 x 1 +  2 x  k x k + u 7. Specification and Data Problems.
McGraw-Hill/Irwin Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved. CHAPTER 2 Tools of Positive Analysis.
Linear Regression with One Regression
1 SOC 3811 Basic Social Statistics. 2 Reminder  Hand in your Assignment 4.
Regression Analysis Regression used to estimate relationship between dependent variable (Y) and one or more independent variables (X). Our theory states.
CHAPTER 4 ECONOMETRICS x x x x x Multiple Regression = more than one explanatory variable Independent variables are X 2 and X 3. Y i = B 1 + B 2 X 2i +
Lecture 9: One Way ANOVA Between Subjects
1 Regression Analysis Regression used to estimate relationship between dependent variable (Y) and one or more independent variables (X). Consider the variable.
TOOLS OF POSITIVE ANALYSIS
Today Today: Chapter 8, start Chapter 9 Assignment: Recommended Questions: 9.1, 9.8, 9.20, 9.23, 9.25.
1-1 CHAPTER 2 Tools of Positive Analysis Copyright © 2010 by the McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 15 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
Introduction to Linear Regression
Learning Theory Reza Shadmehr logistic regression, iterative re-weighted least squares.
Statistics and Econometrics for Business II Fall 2014 Instructor: Maksym Obrizan Lecture notes III # 2. Advanced topics in OLS regression # 3. Working.
Copyright © 2005 by the McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Managerial Economics Thomas Maurice eighth edition Chapter 4.
Ch. 2 Tools of Positive Economics. Theoretical Tools of Public Finance theoretical tools The set of tools designed to understand the mechanics behind.
Education 793 Class Notes Multiple Regression 19 November 2003.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 13-1 Introduction to Regression Analysis Regression analysis is used.
Latent Growth Modeling Byrne Chapter 11. Latent Growth Modeling Measuring change over repeated time measurements – Gives you more information than a repeated.
1 Econometrics (NA1031) Lecture 4 Prediction, Goodness-of-fit, and Modeling Issues.
1 Econometrics (NA1031) Lecture 1 Introduction. 2 ”How much” type questions oBy how much a unit change in income affects consumption? oBy how much should.
9.1 Chapter 9: Dummy Variables A Dummy Variable: is a variable that can take on only 2 possible values: yes, no up, down male, female union member, non-union.
Chap 6 Further Inference in the Multiple Regression Model
Chapter 6 Introduction to Multiple Regression. 2 Outline 1. Omitted variable bias 2. Causality and regression analysis 3. Multiple regression and OLS.
1 Econometrics (NA1031) Lecture 3 Interval Estimation and Hypothesis Testing.
Chap 5 The Multiple Regression Model
LESSON 6: REGRESSION 2/21/12 EDUC 502: Introduction to Statistics.
Chap 8 Heteroskedasticity
Chap 9 Regression with Time Series Data: Stationary Variables
1 G Lect 3M Regression line review Estimating regression coefficients from moments Marginal variance Two predictors: Example 1 Multiple regression.
Introduction to Multilevel Analysis Presented by Vijay Pillai.
Jump to first page Inferring Sample Findings to the Population and Testing for Differences.
The General Linear Model. Estimation -- The General Linear Model Formula for a straight line y = b 0 + b 1 x x y.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
By Randall Munroe, xkcd.com Econometrics: The Search for Causal Relationships.
Chapter 9 Sampling Distributions 9.1 Sampling Distributions.
Chapter 4 Basic Estimation Techniques
Linear Regression with One Regression
Basic Estimation Techniques
Understanding Standards Event Higher Statistics Award
Basic Estimation Techniques
Nonlinear Relationships
Introduction to Econometrics
Mathematical Foundations of BME Reza Shadmehr
Daniela Stan Raicu School of CTI, DePaul University
Our theory states Y=f(X) Regression is used to test theory.
Nonlinear Relationships
Introduction to Logistic Regression
Ch. 13. Pooled Cross Sections Across Time: Simple Panel Data.
Positive analysis in public finance
Simultaneous Equations Models
Ch. 13. Pooled Cross Sections Across Time: Simple Panel Data.
Presentation transcript:

1 Econometrics (NA1031) Chap 7 Using Indicator Variables

2 Indicator or dummy variables Consider the model:

3 FIGURE 7.1 An intercept indicator variable

4 Different slopes SQFT x D is the interaction between SQFT and D

5 FIGURE 7.2 (a) A slope-indicator variable (b) Slope- and intercept-indicator variables

6 Different specifications

7 A wage equation

8 A log-linear model What is the interpretation of δ ? Let’s first write the difference between females and males: This is approximately the percentage difference

9 For a better calculation, the wage difference is: By the property of logs: Subtracting 1 from both sides: The percentage difference between wages of females and males is 100(e δ - 1)%

10 Linear probability model Let us represent the variable indicating a choice in a choice problem as: The probability that the first alternative is chosen is P[ y = 1] = p and the probability that the second alternative is chosen is P[ y = 0] = 1 - p The probability function for the binary indicator variable y is: The indicator variable y is said to follow a Bernoulli distribution The expected value of y is E(y) = p, and its variance is var(y) = p(1 – p)

11 Treatment Effects Causality can be established by randomized controlled experiment Say we want to test a new drug: We randomly assign test subjects to a treatment group, with others being treated as a control group (receiving a placebo drug). We then compare the two groups. The ability to perform randomized controlled experiments in economics is limited because the subjects are people, and their economic well- being is at stake.

12 Treatment Effects Avoid the faulty line of reasoning known as post hoc, ergo propter hoc One event’s preceding another does not necessarily make the first the cause of the second Another way to say this is embodied in the warning that ‘‘correlation is not the same as causation’’ Data may exhibit a selection bias. When membership in the treated group is in part determined by choice, then the sample is not a random sample

13 Difference estimator Define the indicator variable d as: The model is then: And the regression functions are:

14 Difference estimator The least squares estimator for β 2, the treatment effect, is: The estimator b 2 is called the difference estimator, because it is the difference between the sample means of the treatment and control groups is the selection bias in the estimation of the treatment effect We can eliminate the self-selection bias if we randomly assign individuals to treatment and control groups, so that there are no systematic differences between the groups, except for the treatment itself

15 Natural experiments Randomized controlled experiments are rare in economics because they are expensive and involve human subjects Natural experiments, also called quasi- experiments, rely on observing real-world conditions that approximate what would happen in a randomized controlled experiment Treatment appears as if it were randomly assigned

16 FIGURE 7.3 Difference-in-Differences Estimation

17 Difference-in-Differences Estimation Estimation of the treatment effect is based on data averages for the two groups in the two periods: The estimator is called a differences-in-differences (abbreviated as D-in-D, DD, or DID) estimator of the treatment effect.

18 Stata Start Stata mkdir C:\PE cd C:\PE copy chap07_15.do doedit chap07_15.do

19 Assignment Exercise 7.5 and 7.6 page 290 in the textbook.