1 DSCI 3023 Linear Regression Outline Linear Regression Analysis –Linear trend line –Regression analysis Least squares method –Model Significance Correlation.

Slides:



Advertisements
Similar presentations
Chapter 12 Simple Linear Regression
Advertisements

Chap 12-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 12 Simple Regression Statistics for Business and Economics 6.
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Data Analysis: Bivariate Correlation and Regression CHAPTER sixteen.
Learning Objectives Copyright © 2004 John Wiley & Sons, Inc. Bivariate Correlation and Regression CHAPTER Thirteen.
Learning Objectives 1 Copyright © 2002 South-Western/Thomson Learning Data Analysis: Bivariate Correlation and Regression CHAPTER sixteen.
1 Simple Linear Regression and Correlation The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES Assessing the model –T-tests –R-square.
Causal Forecasting by Gordon Lloyd. What will be covered? What is forecasting? What is forecasting? Methods of forecasting Methods of forecasting What.
Chapter 10 Regression. Defining Regression Simple linear regression features one independent variable and one dependent variable, as in correlation the.
CORRELATON & REGRESSION
Chapter 10 Simple Regression.
Chapter 12 Simple Regression
Correlation and Regression Analysis
SIMPLE LINEAR REGRESSION
Chapter Topics Types of Regression Models
1 Simple Linear Regression Chapter Introduction In this chapter we examine the relationship among interval variables via a mathematical equation.
Regression Analysis In regression analysis we analyze the relationship between two or more variables. The relationship between two or more variables could.
Analysis of Individual Variables Descriptive – –Measures of Central Tendency Mean – Average score of distribution (1 st moment) Median – Middle score (50.
Simple Linear Regression Analysis
Simple Linear Regression. Introduction In Chapters 17 to 19, we examine the relationship between interval variables via a mathematical equation. The motivation.
Forecasting using trend analysis
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Simple Linear Regression Analysis Chapter 13.
Introduction to Linear Regression and Correlation Analysis
Chapter 14 Introduction to Multiple Regression Sections 1, 2, 3, 4, 6.
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
Biostatistics Unit 9 – Regression and Correlation.
Jon Curwin and Roger Slater, QUANTITATIVE METHODS: A SHORT COURSE ISBN © Thomson Learning 2004 Jon Curwin and Roger Slater, QUANTITATIVE.
1 FORECASTING Regression Analysis Aslı Sencer Graduate Program in Business Information Systems.
Statistics for Business and Economics 7 th Edition Chapter 11 Simple Regression Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 12-1 Correlation and Regression.
Applied Quantitative Analysis and Practices LECTURE#22 By Dr. Osman Sadiq Paracha.
Applied Quantitative Analysis and Practices LECTURE#23 By Dr. Osman Sadiq Paracha.
Correlation Analysis. A measure of association between two or more numerical variables. For examples height & weight relationship price and demand relationship.
10B11PD311 Economics REGRESSION ANALYSIS. 10B11PD311 Economics Regression Techniques and Demand Estimation Some important questions before a firm are.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
Correlation and Regression Basic Concepts. An Example We can hypothesize that the value of a house increases as its size increases. Said differently,
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
ECON 338/ENVR 305 CLICKER QUESTIONS Statistics – Question Set #8 (from Chapter 10)
Multiple Regression. Simple Regression in detail Y i = β o + β 1 x i + ε i Where Y => Dependent variable X => Independent variable β o => Model parameter.
Chapter Thirteen Copyright © 2006 John Wiley & Sons, Inc. Bivariate Correlation and Regression.
Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.
SIMPLE LINEAR REGRESSION AND CORRELLATION
1 Simple Linear Regression and Correlation Least Squares Method The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
1 Forecasting/ Causal Model MGS Forecasting Quantitative Causal Model Trend Time series Stationary Trend Trend + Seasonality Qualitative Expert.
Multiple Regression Analysis Regression analysis with two or more independent variables. Leads to an improvement.
Lecture 10 Introduction to Linear Regression and Correlation Analysis.
BPA CSUB Prof. Yong Choi. Midwest Distribution 1. Create scatter plot Find out whether there is a linear relationship pattern or not Easy and simple using.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
Correlation and Regression Basic Concepts. An Example We can hypothesize that the value of a house increases as its size increases. Said differently,
Chapter 12 Simple Regression Statistika.  Analisis regresi adalah analisis hubungan linear antar 2 variabel random yang mempunyai hub linear,  Variabel.
Introduction Many problems in Engineering, Management, Health Sciences and other Sciences involve exploring the relationships between two or more variables.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Bivariate Regression. Bivariate Regression analyzes the relationship between two variables. Bivariate Regression analyzes the relationship between two.
Inference for Least Squares Lines
REGRESSION (R2).
Basic Estimation Techniques
3.1 Examples of Demand Functions
Correlation and Regression
Chapter 11 Simple Regression
Relationship with one independent variable
Quantitative Methods Simple Regression.
Econ 3790: Business and Economics Statistics
CHAPTER 10 Correlation and Regression (Objectives)
Basic Estimation Techniques
Relationship with one independent variable
Simple Linear Regression
Forecasting Plays an important role in many industries
Forecasting 3 Regression Analysis Ardavan Asef-Vaziri
Presentation transcript:

1 DSCI 3023 Linear Regression Outline Linear Regression Analysis –Linear trend line –Regression analysis Least squares method –Model Significance Correlation coefficient - R Coefficient of determination - R 2 t-statistic F statistic

2 DSCI 3023 Linear Trend A forecasting technique relating demand to time Demand is referred to as a dependent variable, –a variable that depends on what other variables do in order to be determined Time is referred to as an independent variable, –a variable that the forecaster allows to vary in order to investigate the dependent variable outcome

3 DSCI 3023 Linear Trend Linear regression takes on the form y = a + bx y = demand and x = time A forecaster allows time to vary and investigates the demands that the equation produces A regression line can be calculated using what is called the least squares method

4 DSCI 3023 Why Linear Trend? Why do forecasters chose a linear relationship? –Simple representation –Ease of use –Ease of calculations –Many relationships in the real world are linear –Start simple and eliminate relationships which do not work

5 DSCI 3023 Least Squares Method The parameters for the linear trend are calculated using the following formulas b (slope) = (  xy - n x y )/(  x 2 - nx 2 ) a = y - b x n = number of periods x =  x/n = average of x (time) y =  y/n = average of y (demand)

6 DSCI 3023 Correlation A measure of the strength of the relationship between the independent and dependent variables i.e., how well does the right hand side of the equation explain the left hand side Measured by the the correlation coefficient, r r = (n*  xy -  x  y)/[(n*  x 2 - (  x) 2 )(n*  y 2 - (  y) 2 ] 0.5

7 DSCI 3023 Correlation The correlation coefficient can range from 0.0 < | r |< 1.0 The higher the correlation coefficient the better, e.g.,

8 DSCI 3023 Correlation Another measure of correlation is the coefficient of determination, r 2, the correlation coefficient, r, squared r 2 is the percentage of variation in the dependent variable that results from the independent variable i.e., how much of the variation in the data is explained by your model

9 DSCI 3023 Multiple Regression A more powerful extension of linear regression Multiple regression relates a dependent variable to more than one independent variables e.g., new housing may be a function of several independent variables –interest rate –population –housing prices –income

10 DSCI 3023 Multiple Regression A multiple regression model has the following general form y =  0 +  1 x 1 +  2 x  n x n  0 represents the intercept and the other  ’s are the coefficients of the contribution by the independent variables the x’s represent the independent variables

11 DSCI 3023 Multiple Regression Performance How a multiple regression model performs is measured the same way as a linear regression r 2 is calculated and interpreted A t-statistic is also calculated for each  to measure each independent variables significance The t-stat is calculated as follows t-stat =  i /sse  i

12 DSCI 3023 F Statistic How well a multiple regression model performs is measured by an F statistic F is calculated and interpreted F-stat = ssr 2 /sse 2 Measures how well the overall model is performing - RHS explains LHS

13 DSCI 3023 Least Squares Example Calculate the mean of x and the mean of y Calculate the slope using the LS formula Calculate the intercept using the LS formula Plot the LS line and the data Interpret the relationship to the data

14 DSCI 3023 Comparison of LS and Time Series Use the same example for lumber sales Forecast lumber sales using the linear regression model developed and the building permit data supplied Also forecast using a 3-MA Calculate MAD for each method and compare