Diploma in Statistics Introduction to Regression Lecture 4.11 Introduction to Regression Lecture 4.2 Indicator variables for estimating seasonal effects.

Slides:



Advertisements
Similar presentations
Chapter 9: Simple Regression Continued
Advertisements

Exercise 7.5 (p. 343) Consider the hotel occupancy data in Table 6.4 of Chapter 6 (p. 297)
Forecasting Using the Simple Linear Regression Model and Correlation
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
Statistics Measures of Regression and Prediction Intervals.
 Coefficient of Determination Section 4.3 Alan Craig
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
Chapter 13 Additional Topics in Regression Analysis
Multiple Regression Involves the use of more than one independent variable. Multivariate analysis involves more than one dependent variable - OMS 633 Adding.
Multivariate Data Analysis Chapter 4 – Multiple Regression.
Exercise 7.1 a. Find and report the four seasonal factors for quarter 1, 2, 3 and 4 sn1 = 1.191, sn2 = 1.521, sn3 = 0.804, sn4 = b. What is the.
Part II – TIME SERIES ANALYSIS C2 Simple Time Series Methods & Moving Averages © Angel A. Juan & Carles Serrat - UPC 2007/2008.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 15-1 Chapter 15 Multiple Regression Model Building Basic Business Statistics 11 th Edition.
© 2000 Prentice-Hall, Inc. Chap Forecasting Using the Simple Linear Regression Model and Correlation.
Statistics 350 Lecture 17. Today Last Day: Introduction to Multiple Linear Regression Model Today: More Chapter 6.
Week 14 Chapter 16 – Partial Correlation and Multiple Regression and Correlation.
Simple Linear Regression Analysis
Review for Final Exam Some important themes from Chapters 9-11 Final exam covers these chapters, but implicitly tests the entire course, because we use.
Multiple Linear Regression Response Variable: Y Explanatory Variables: X 1,...,X k Model (Extension of Simple Regression): E(Y) =  +  1 X 1 +  +  k.
(c) Martin L. Puterman1 BABS 502 Regression Based Forecasting February 28, 2011.
Diploma in Statistics Introduction to Regression Lecture 5.11 Introduction to Regression Lecture Review 2.Transforming data, the log transform i.liver.
Correlation and Regression
Introduction to Linear Regression and Correlation Analysis
Linear Trend Lines Y t = b 0 + b 1 X t Where Y t is the dependent variable being forecasted X t is the independent variable being used to explain Y. In.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Correlation and Regression
Diploma in Statistics Introduction to Regression Lecture 2.21 Introduction to Regression Lecture Review of Lecture 2.1 –Homework –Multiple regression.
Linear Trend Lines = b 0 + b 1 X t Where is the dependent variable being forecasted X t is the independent variable being used to explain Y. In Linear.
Copyright © 2011 Pearson Education, Inc. Regression Diagnostics Chapter 22.
ESTIMATING & FORECASTING DEMAND Chapter 4 slide 1 Regression Analysis estimates the equation that best fits the data and measures whether the relationship.
CHAPTER 14 MULTIPLE REGRESSION
Introduction to Linear Regression
Chap 14-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 14 Additional Topics in Regression Analysis Statistics for Business.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 27 Time Series.
Diploma in Statistics Introduction to Regression Lecture 2.11 Introduction to Regression Lecture Review of Lecture Correlation 3.Pitfalls with.
Diploma in Statistics Introduction to Regression Lecture 3.11 Lecture 3.1 Multiple Regression (continued) Review Homework Review Analysis of Variance Review.
Diploma in Statistics Introduction to Regression Lecture 4.11 Introduction to Regression Lecture Review Lecture Review Laboratory Exercise.
Basic Concepts of Correlation. Definition A correlation exists between two variables when the values of one are somehow associated with the values of.
1 Lecture 4 Main Tasks Today 1. Review of Lecture 3 2. Accuracy of the LS estimators 3. Significance Tests of the Parameters 4. Confidence Interval 5.
Autocorrelation in Time Series KNNL – Chapter 12.
14- 1 Chapter Fourteen McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
Multiple regression. Example: Brain and body size predictive of intelligence? Sample of n = 38 college students Response (Y): intelligence based on the.
Section 12.3 Regression Analysis HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems, Inc. All.
STA 286 week 131 Inference for the Regression Coefficient Recall, b 0 and b 1 are the estimates of the slope β 1 and intercept β 0 of population regression.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 12.3.
Copyright © 2011 Pearson Education, Inc. Time Series Chapter 27.
Scatter Diagrams scatter plot scatter diagram A scatter plot is a graph that may be used to represent the relationship between two variables. Also referred.
[1] Simple Linear Regression. The general equation of a line is Y = c + mX or Y =  +  X.  > 0  > 0  > 0  = 0  = 0  < 0  > 0  < 0.
Multiple Regression I 1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 4 Multiple Regression Analysis (Part 1) Terry Dielman.
EXCEL DECISION MAKING TOOLS BASIC FORMULAE - REGRESSION - GOAL SEEK - SOLVER.
Copyright © 2011 Pearson Education, Inc. Regression Diagnostics Chapter 22.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 14-1 Chapter 14 Multiple Regression Model Building Statistics for Managers.
Multiple Regression II 1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 4 Multiple Regression Analysis (Part 2) Terry Dielman.
Time Series and Forecasting
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
MBF1413 | Quantitative Methods Prepared by Dr Khairul Anuar 8: Time Series Analysis & Forecasting – Part 1
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
Economics 173 Business Statistics Lecture 28 © Fall 2001, Professor J. Petry
Forecasting. Model with indicator variables The choice of a forecasting technique depends on the components identified in the time series. The techniques.
Linear model. a type of regression analyses statistical method – both the response variable (Y) and the explanatory variable (X) are continuous variables.
Lecture 9 Forecasting. Introduction to Forecasting * * * * * * * * o o o o o o o o Model 1Model 2 Which model performs better? There are many forecasting.
Chapter 15 Multiple Regression Model Building
Introduction to Regression Lecture 6.2
Regression Analysis Part D Model Building
ENM 310 Design of Experiments and Regression Analysis
What is Correlation Analysis?
Week 14 Chapter 16 – Partial Correlation and Multiple Regression and Correlation.
CHAPTER 29: Multiple Regression*
Correlation and Regression
Presentation transcript:

Diploma in Statistics Introduction to Regression Lecture 4.11 Introduction to Regression Lecture 4.2 Indicator variables for estimating seasonal effects in time series –another application, Meter Sales analysis Correlated explanatory variables

Diploma in Statistics Introduction to Regression Lecture 4.12 Housing Completions case study

Diploma in Statistics Introduction to Regression Lecture 4.13 Table 1.7 Completions and Quarterly Indicators

Diploma in Statistics Introduction to Regression Lecture 4.14 Model formulation Completions =  1  Q 1 +  2  Q 2 +  3  Q 3 +  4  Q4 +   Time + . Quarter 1:Completions =  1 +   Time Quarter 2:Completions =  2 +   Time, Homework 4.1.1:Write down the prediction formulas for future third and fourth quarters.

Diploma in Statistics Introduction to Regression Lecture 4.15 Prediction formula Predicted completions = 3,248  Q  Q  Q  Q  Time  500 Exercise:Write down separate prediction formulas for each of the four quarters. Make predictions for each quarter of 2001 and of 2002.

Diploma in Statistics Introduction to Regression Lecture 4.16 A sales forecasting problem Southern Oil Products vegetable oil producer raw material supply is seasonal, variety of sources / countries problems in second quarter of last year prompts business review forecasts required for –budgetting and staff planning –quantifying extent of last year's problem

Diploma in Statistics Introduction to Regression Lecture 4.17 Table 9.1Quarterly production of vegetable oil, in numbers of 50 litre drums, for a six year period

Diploma in Statistics Introduction to Regression Lecture 4.18 Initial data analysis

Diploma in Statistics Introduction to Regression Lecture 4.19 A simple linear model for trend (Years 1-5) Regression Analysis: Production versus Time The regression equation is Production = Time Exercise: Estimate quarterly/annual growth in production Predictor Coef SE Coef T P Constant Time Exercise: Calculate a confidence interval for quarterly/annual growth in production S = Exercise: Comment on prediction

Diploma in Statistics Introduction to Regression Lecture Quarterly indicator variables Special variables Q1, Q2, Q3 and Q4 called indicator variables may be added to the simple regression model to produce a multiple regression model incorporating the seasonal effects. Each quarterly indicator takes the value 1 in the relevant quarter and 0 otherwise. Note that, in each row, only one of the quarterly indicators takes the value 1, while the other three take the value 0. Thus, for each time (row), the indicator with value 1 indicates the corresponding quarter, 1, 2, 3 or 4

Diploma in Statistics Introduction to Regression Lecture Table 9.2 Quarterly production of vegetable oil, in numbers of 50 litre drums, with Time and quarterly indicators, for a five year period

Diploma in Statistics Introduction to Regression Lecture Multiple regression model Production =  1  Q 1 +  2  Q 2 +  3  Q 3 +  4  Q 4 +   Time + .

Diploma in Statistics Introduction to Regression Lecture Regression Analysis Production vs Q1, Q2, Q3, Q4, Time The regression equation is Production = 1030 Q Q Q Q Time Predictor Coef SE Coef T P Noconstant Q Q Q Q Time S =

Diploma in Statistics Introduction to Regression Lecture Exercise Predict the first quarter production levels for Year 6 and Year 7 Comment on prediction error with respect to (i) its previous vale (ii) recent production levels Next: Diagnostic analysis

Diploma in Statistics Introduction to Regression Lecture Exercise Following calculation of a revised regression, make a table of initial and revised coefficient estimates and residual standard deviations. Compare. Which would you choose? Why?

Diploma in Statistics Introduction to Regression Lecture Exercise Confirm and quantify the extent of the problem in Year 6, Q2. Homework Confirm and quantify the extent of the recovery in Year 6, Q3.

Diploma in Statistics Introduction to Regression Lecture Multiple regression model, alternative formulation Production =  1  Q 1 +  2  Q 2 +  3  Q 3 +  Time  Time + .

Diploma in Statistics Introduction to Regression Lecture Alternative regression * Q4 is highly correlated with other X variables * Q4 has been removed from the equation. The regression equation is Production = Q Q Q Time Predictor Coef SE Coef T P Constant Q Q Q Time S =

Diploma in Statistics Introduction to Regression Lecture Homework List correspondences between the output from the original regression and the output from the alternative regression. Confirm that the coefficients of Q1, Q2 and Q3 in the original are the corresponding coefficients in the alternative with the Q4 coefficient added.

Diploma in Statistics Introduction to Regression Lecture Introduction to Regression Lecture 4.2 Indicator variables for estimating seasonal effects in time series –another application, Meter Sales analysis Correlated explanatory variables

Diploma in Statistics Introduction to Regression Lecture Another application, meter sales analysis Recall the analysis of Meter sales, discussed in Lab 1 Feedback.doc.

Diploma in Statistics Introduction to Regression Lecture Another application, Meter Sales analysis Meter Sales jumped when nominal Phone Charge increased. Model these jumps by adding "indicators" defined to be 0 for all years prior to the jump and 1 for all years during and after the jump. Thus, the first jump occurred during 1952, so the corresponding indicator will be 0 from 1949 to 1952 and 1 from 1953 to Multiplying this explanatory variable by regression coefficient  adds 0 to predicted Meter Sales from 1949 to 1952 and adds  from 1953 to 1983.

Diploma in Statistics Introduction to Regression Lecture Another application, Meter Sales analysis Regression Analysis: Meter Sales versus GNP, RLP,... Predictor Coef SE Coef T P Constant GNP RLP RPC Jump Jump Jump Jump S =

Diploma in Statistics Introduction to Regression Lecture Another application, Meter Sales analysis Note that the t-value for RPC is negligible so that RPC may be omitted. The variation explained by RPC is captured by the four indicator variables. Also, the s value is lower than before, suggesting that the variation in Meter Sales is better explained by the indicators than by RPC alone. N.B.Additional uses for indicators may be found in Extra Notes, Indicators.doc

Diploma in Statistics Introduction to Regression Lecture Introduction to Regression Lecture 4.2 Indicator variables for estimating seasonal effects in time series –another application, Meter Sales analysis Correlated explanatory variables

Diploma in Statistics Introduction to Regression Lecture Correlated explanatory variables Ref:Extra Notes Homework Calculate the simple linear regressions of Jobtime on each of T_Ops and Units. Confirm the corresponding t-values. Calculate the simple linear regression of Jobtime on Ops per Unit. Comment of the negative correlation of Jobtime with Ops per Unit in the light of the corresponding t-value. Confirm the calculation of the R 2 values.

Diploma in Statistics Introduction to Regression Lecture Reading SA §§ Hamilton, pp 82-84,