Interacting a dummy variable with a continuous variable Consider one of the regression models in your statistics assignment: the dependent variable is.

Slides:



Advertisements
Similar presentations
Further Inference in the Multiple Regression Model Hill et al Chapter 8.
Advertisements

Welcome to Econ 420 Applied Regression Analysis Study Guide Week Nine.
1 Javier Aparicio División de Estudios Políticos, CIDE Otoño Regresión.
Hypothesis Testing Steps in Hypothesis Testing:
Chapter 14, part D Statistical Significance. IV. Model Assumptions The error term is a normally distributed random variable and The variance of  is constant.
Econ 488 Lecture 5 – Hypothesis Testing Cameron Kaplan.
Sample Size Power and other methods. Non-central Chisquare.
Lecture 3 (Ch4) Inferences
Regression Analysis Once a linear relationship is defined, the independent variable can be used to forecast the dependent variable. Y ^ = bo + bX bo is.
4.3 Confidence Intervals -Using our CLM assumptions, we can construct CONFIDENCE INTERVALS or CONFIDENCE INTERVAL ESTIMATES of the form: -Given a significance.
Some Topics In Multivariate Regression. Some Topics We need to address some small topics that are often come up in multivariate regression. I will illustrate.
Chapter 13 Multiple Regression
Regresi dan Rancangan Faktorial Pertemuan 23 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
Chapter 12 Multiple Regression
1 Regression Econ 240A. 2 Outline w A cognitive device to help understand the formulas for estimating the slope and the intercept, as well as the analysis.
Chapter 12b Testing for significance—the t-test Developing confidence intervals for estimates of β 1. Testing for significance—the f-test Using Excel’s.
Multiple Linear Regression Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College Publishing.
© 2003 Prentice-Hall, Inc.Chap 14-1 Basic Business Statistics (9 th Edition) Chapter 14 Introduction to Multiple Regression.
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 +
PSY 307 – Statistics for the Behavioral Sciences
Econ 140 Lecture 171 Multiple Regression Applications II &III Lecture 17.
Multiple Regression Applications
1 Regression Analysis Regression used to estimate relationship between dependent variable (Y) and one or more independent variables (X). Consider the variable.
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Are the Means of Several Groups Equal? Ho:Ha: Consider the following.
Chapter 11 Multiple Regression.
EC Prof. Buckles1 Multiple Regression Analysis y =  0 +  1 x 1 +  2 x  k x k + u 2. Inference.
Ch. 14: The Multiple Regression Model building
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 13-1 Chapter 13 Introduction to Multiple Regression Statistics for Managers.
Multiple Linear Regression Analysis
Multiple Linear Regression Response Variable: Y Explanatory Variables: X 1,...,X k Model (Extension of Simple Regression): E(Y) =  +  1 X 1 +  +  k.
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2010 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Chapter 14 Analysis.
Multiple Regression. In the previous section, we examined simple regression, which has just one independent variable on the right side of the equation.
Inference about Two Population Standard Deviations.
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
Review of Statistics Group Results. Which type of statistics? When comparing two group scores-Use the t-test. When comparing more than two scores: Use.
How do Lawyers Set fees?. Learning Objectives 1.Model i.e. “Story” or question 2.Multiple regression review 3.Omitted variables (our first failure of.
Regression Part II One-factor ANOVA Another dummy variable coding scheme Contrasts Multiple comparisons Interactions.
QMS 6351 Statistics and Research Methods Regression Analysis: Testing for Significance Chapter 14 ( ) Chapter 15 (15.5) Prof. Vera Adamchik.
Lecturer: Kem Reat, Viseth, PhD (Economics)
Comparing Two Variances
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
Inference for Regression Chapter 14. Linear Regression We can use least squares regression to estimate the linear relationship between two quantitative.
Chapter 5 Demand Estimation Managerial Economics: Economic Tools for Today’s Decision Makers, 4/e By Paul Keat and Philip Young.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
Testing Differences in Population Variances
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
1 Experimental Statistics - week 14 Multiple Regression – miscellaneous topics.
VI. Regression Analysis A. Simple Linear Regression 1. Scatter Plots Regression analysis is best taught via an example. Pencil lead is a ceramic material.
1 AAEC 4302 ADVANCED STATISTICAL METHODS IN AGRICULTURAL RESEARCH Chapter 14: F Tests.
Welcome to Econ 420 Applied Regression Analysis Study Guide Week Seven.
Welcome to Econ 420 Applied Regression Analysis Study Guide Week Eight.
Copyright © Cengage Learning. All rights reserved. 12 Analysis of Variance.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
The general linear test approach to regression analysis.
Mystery 1Mystery 2Mystery 3.
Copyright © 2013 Pearson Education, Inc. All rights reserved Chapter 9 Inferences Based on Two Samples Confidence Intervals and Tests of Hypotheses.
1.What is Pearson’s coefficient of correlation? 2.What proportion of the variation in SAT scores is explained by variation in class sizes? 3.What is the.
The Chi-Square Distribution. Preliminary Idea Sum of n values of a random variable.
Inferences Concerning Variances
Chapter 9 Inferences Based on Two Samples: Confidence Intervals and Tests of Hypothesis.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 14-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
1 1 Slide © 2011 Cengage Learning Assumptions About the Error Term  1. The error  is a random variable with mean of zero. 2. The variance of , denoted.
Simplify Radical Expressions Using Properties of Radicals.
Statistical Inferences for Variance Objectives: Learn to compare variance of a sample with variance of a population Learn to compare variance of a sample.
The 2 nd to last topic this year!!.  ANOVA Testing is similar to a “two sample t- test except” that it compares more than two samples to one another.
Simplify Radical Expressions Using Properties of Radicals
Chi-square and F Distributions
Our theory states Y=f(X) Regression is used to test theory.
Interacting a dummy variable with a continuous variable
Presentation transcript:

Interacting a dummy variable with a continuous variable Consider one of the regression models in your statistics assignment: the dependent variable is county population growth from 1990 to 2000 the wtemp variable is the county’s average winter temperature the ocean variable equals 1 if the county is in a state that borders the Atlantic or Pacific ocean or the gulf coast

Interacting a dummy variable with a continuous variable The effect a change in mean winter temperature has on county population growth is given by: The winter temperature variable (wtemp) shows up twice in the regression model: on its own and interacted (multiplied) with the ocean variable

Interacting a dummy variable with a continuous variable The marginal effect can be expressed by dividing both sides by the change in wtemp The marginal effect winter temperature has on predicted growth can be distinguished between counties that are near the ocean (ocean=1) and counties that aren’t (ocean=0)

Interacting a dummy variable with a continuous variable The effect if the county is in a state that borders the ocean (ocean=1): The effect if the county is not in a state bordering the ocean (ocean=0):

The interaction term generates separate marginal effects by type of county Assuming the model is linear, b 5 >0 and b 6 <0, the marginal effects can be shown as: County Population growth rate Mean winter temperature b 5 – effect for counties that don’t border ocean b 5 + b 6 – effect for counties that do border ocean

Hypothesis Tests 1.Test for difference in marginal effect between the two types of counties: H 0 : β 6 =0 H 1 : β 6 ≠0 2.Test for significant effect of mean winter temperature on growth for the counties not bordering the ocean: H 0 : β 5 =0 H 1 : β 5 ≠0

F-test 3.Test for significant effect of mean winter temperature on growth for the counties that border the ocean: H 0 : β 5 = β 6 =0 H 1 : at least one of the parameters β 5, β 6 is not zero This hypothesis test follows the F-distribution The critical value of this test which is always one- tailed is, F α,K,n-K-1 where α is the level of significance K represents the number of parameters set to zero (in this case two) n-K-1 is the degrees of freedom in the unrestricted model In the F-table, the numerator degrees of freedom is K and the denominator degrees of freedom is n-K-1

F-test The test statistic for the F-test can be generated in SAS The SAS command to run a regression and output the F-test statistic for restrictions for some parameter estimates: proc reg; model popgrowth=pop manu medinc college wtemp wtemp_ocean; test wtemp, wtemp_ocean; The test statement will produce the test statistic for the test that the parameters for the wtemp and wtemp_ocean variables are jointly zero