Indicator Variables 1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Using Indicator and Interaction Variables Terry Dielman.

Slides:



Advertisements
Similar presentations
Qualitative predictor variables
Advertisements

Copyright ©2006 Brooks/Cole A division of Thomson Learning, Inc. Introduction to Probability and Statistics Twelfth Edition Robert J. Beaver Barbara M.
Diploma in Statistics Introduction to Regression Lecture 4.11 Introduction to Regression Lecture 4.2 Indicator variables for estimating seasonal effects.
CHOW TEST AND DUMMY VARIABLE GROUP TEST
EC220 - Introduction to econometrics (chapter 5)
The Regression Equation  A predicted value on the DV in the bi-variate case is found with the following formula: Ŷ = a + B (X1)
Lecture 28 Categorical variables: –Review of slides from lecture 27 (reprint of lecture 27 categorical variables slides with typos corrected) –Practice.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 13 Nonlinear and Multiple Regression.
Trashball: A Logistic Regression Classroom Activity Christopher Morrell (Joint work with Richard Auer) Mathematics and Statistics Department Loyola University.
1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Simple Linear Regression Estimates for single and mean responses.
1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Summarizing Bivariate Data Introduction to Linear Regression.
Chapter 13 Multiple Regression
Statistical Analysis of the Regression Point Displacement Design (RPD)
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 7: Demand Estimation and Forecasting.
Chapter 12 Multiple Regression
Multiple Regression Involves the use of more than one independent variable. Multivariate analysis involves more than one dependent variable - OMS 633 Adding.
January 6, afternoon session 1 Statistics Micro Mini Multiple Regression January 5-9, 2008 Beth Ayers.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 14-1 Chapter 14 Introduction to Multiple Regression Basic Business Statistics 11 th Edition.
Statistics and Data Analysis Professor William Greene Stern School of Business IOMS Department Department of Economics.
Pris mot antal rum. Regression Analysis: Price versus Rooms The regression equation is Price = Rooms Predictor Coef SE Coef T P Constant.
Lecture 27 Polynomial Terms for Curvature Categorical Variables.
Stat 112: Lecture 18 Notes Chapter 7.1: Using and Interpreting Indicator Variables. Visualizing polynomial regressions in multiple regression Review Problem.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 15-1 Chapter 15 Multiple Regression Model Building Basic Business Statistics 11 th Edition.
CHAPTER 6 ECONOMETRICS x x x x x Dummy Variable Regression Models Dummy, or indicator, variables take on values of 0 or 1 to indicate the presence or absence.
Multiple Regression 2 Sociology 5811 Lecture 23 Copyright © 2005 by Evan Schofer Do not copy or distribute without permission.
Slide 1 DSCI 5180: Introduction to the Business Decision Process Spring 2013 – Dr. Nick Evangelopoulos Lectures 4-5: Simple Regression Analysis (Ch. 3)
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 13-1 Chapter 13 Introduction to Multiple Regression Statistics for Managers.
1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Analysis of Categorical Data Test of Independence.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 25 Categorical Explanatory Variables.
M23- Residuals & Minitab 1  Department of ISM, University of Alabama, ResidualsResiduals A continuation of regression analysis.
Chapter 14 Introduction to Multiple Regression
Business Statistics, 4e, by Ken Black. © 2003 John Wiley & Sons Business Statistics, 4e by Ken Black Chapter 15 Building Multiple Regression Models.
Slide 1 DSCI 5180: Introduction to the Business Decision Process Spring 2013 – Dr. Nick Evangelopoulos Lectures 5-6: Simple Regression Analysis (Ch. 3)
Chap 14-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 14-1 Chapter 14 Introduction to Multiple Regression Basic Business Statistics.
ANOVA 1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 9 An Introduction to Analysis of Variance Terry Dielman Applied Regression.
Solutions to Tutorial 5 Problems Source Sum of Squares df Mean Square F-test Regression Residual Total ANOVA Table Variable.
Sequential sums of squares … or … extra sums of squares.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Summarizing Bivariate Data Non-linear Regression Example.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: exercise 5.2 Original citation: Dougherty, C. (2012) EC220 - Introduction.
Fitting Curves to Data 1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 5: Fitting Curves to Data Terry Dielman Applied Regression.
Regression Models for Quantitative (Numeric) and Qualitative (Categorical) Predictors KNNL – Chapter 8.
Copyright © 2012 Pearson Education, Inc. All rights reserved Chapter 12 Multiple Regression and Model Building.
Multiple Regression I 1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 4 Multiple Regression Analysis (Part 1) Terry Dielman.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Variable Selection 1 Chapter 8 Variable Selection Terry Dielman Applied Regression Analysis:
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.
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 14-1 Chapter 14 Introduction to Multiple Regression Statistics for Managers using Microsoft.
Chapter 7 – Binary or Zero/one or Dummy Variables.
A first order model with one binary and one quantitative predictor variable.
Slide 1 DSCI 5180: Introduction to the Business Decision Process Spring 2013 – Dr. Nick Evangelopoulos Lecture 1: Introduction to 5180 class Review of.
RAMSEY’S RESET TEST OF FUNCTIONAL MISSPECIFICATION 1 Ramsey’s RESET test of functional misspecification is intended to provide a simple indicator of evidence.
Multiple Regression II 1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 4 Multiple Regression Analysis (Part 2) Terry Dielman.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 17 Simple Linear Regression and Correlation.
732G21/732G28/732A35 Lecture 6. Example second-order model with one predictor 2 Electricity consumption (Y)Home size (X)
Variable Selection 1 Chapter 8 Variable Selection Terry Dielman Applied Regression Analysis: A Second Course in Business and Economic Statistics, fourth.
Chapter 15 Multiple Regression Model Building
Multiple Regression Models
STT : Intro. to Statistical Learning
Chapter 18 – Multiple Regression
Lecture 12 More Examples for SLR More Examples for MLR 9/19/2018
Business Statistics, 4e by Ken Black
Business Statistics Multiple Regression This lecture flows well with
Lecture 18 Outline: 1. Role of Variables in a Regression Equation
Chapter 9 Integer Programming
Solutions for Tutorial 3
Regression and Categorical Predictors
Essentials of Statistics for Business and Economics (8e)
Business Statistics, 4e by Ken Black
Bell Work Solve for “x” and check your solution
Systems of Linear Equations:
Presentation transcript:

Indicator Variables 1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Using Indicator and Interaction Variables Terry Dielman Applied Regression Analysis: A Second Course in Business and Economic Statistics, fourth edition

2 POP QUIZ #10 [2.5 points]

3 POP QUIZ #10 1. A good way to incorporate gender information into a regression model is to A.Add a variable X1, with X1=1 for males and X1=0 for females B.Add a variable X1, with X1=1 for females and X1=0 for males C.Either of (A) or (B); they are equivalent D.Split the data into two groups, one for males and one for females, and run two regression models

4 POP QUIZ #10 2.In the Treasury vs. Harris case, what was the effect of adding the MALES dummy variable on the fitted line? A.It moved the Salary vs. Education line up B.It moved the Salary vs. Education line down C.It rotated the Salary vs. Education line D.It left the Salary vs. Education line unchanged E.It split the Salary vs. Education line into two lines

5 POP QUIZ #10 3. In the Meddicorp example, how many dummy variables do we need to model 3 regions? A.2 dummy variables B.3 dummy variables C.4 dummy variables D.None of the above

6 POP QUIZ #10 4. In the Treasury vs. Harris case, what was the effect of adding the interaction term MSLOPE = EDUCAT*MALES on the fitted line? A.It had no effect on the Salary vs. Education line B.It moved the Salary vs. Education line up C.It split the Salary vs. Education line into two parallel lines D.It split the Salary vs. Education line into two lines, not necessarily parallel

7 POP QUIZ #10 5.Regression output of the Sales vs. Time data is shown above. Sales were recorded every quarter. What does it mean for the p-value of Q1 to be 0.254? A.SALES in quarter 1 are not related to TIME B.SALES in quarter 1 are not different from quarter 4 C.SALES in quarter 1 are not different from quarters 2 & 3 D.SALES in quarter 1 should be deleted from the data The regression equation is SALES = TIME Q Q Q3 Predictor Coef SE Coef T P Constant TIME Q Q Q

8 Answers! √

9 POP QUIZ #10 1. A good way to incorporate gender information into a regression model is to A.Add a variable X1, with X1=1 for males and X1=0 for females B.Add a variable X1, with X1=1 for females and X1=0 for males C.Either of (A) or (B); they are equivalent D.Split the data into two groups, one for males and one for females, and run two regression models √

10 POP QUIZ #10 2.In the Treasury vs. Harris case, what was the effect of adding the MALES dummy variable on the fitted line? A.It moved the Salary vs. Education line up B.It moved the Salary vs. Education line down C.It rotated the Salary vs. Education line D.It left the Salary vs. Education line unchanged E.It split the Salary vs. Education line into two lines √

11 POP QUIZ #10 3. In the Meddicorp example, how many dummy variables do we need to model 3 regions? A.2 dummy variables B.3 dummy variables C.4 dummy variables D.None of the above √

12 POP QUIZ #10 4. In the Treasury vs. Harris case, what was the effect of adding the interaction term MSLOPE = EDUCAT*MALES on the fitted line? A.It had no effect on the Salary vs. Education line B.It moved the Salary vs. Education line up C.It split the Salary vs. Education line into two parallel lines D.It split the Salary vs. Education line into two lines, not necessarily parallel √

13 POP QUIZ #10 5.Regression output of the Sales vs. Time data is shown above. Sales were recorded every quarter. What does it mean for the p-value of Q1 to be 0.254? A.SALES in quarter 1 are not related to TIME B.SALES in quarter 1 are not different from quarter 4 C.SALES in quarter 1 are not different from quarters 2 & 3 D.SALES in quarter 1 should be deleted from the data The regression equation is SALES = TIME Q Q Q3 Predictor Coef SE Coef T P Constant TIME Q Q Q √