Introduction to simple linear regression

Slides:



Advertisements
Similar presentations
Managerial Economics in a Global Economy
Advertisements

Lesson 10: Linear Regression and Correlation
Chapter 12 Simple Linear Regression
Forecasting Using the Simple Linear Regression Model and Correlation
Regresi Linear Sederhana Pertemuan 01 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
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.
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
Chapter 10 Curve Fitting and Regression Analysis
Learning Objectives 1 Copyright © 2002 South-Western/Thomson Learning Data Analysis: Bivariate Correlation and Regression CHAPTER sixteen.
Correlation and Regression
1 Simple Linear Regression and Correlation The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES Assessing the model –T-tests –R-square.
Definition  Regression Model  Regression Equation Y i =  0 +  1 X i ^ Given a collection of paired data, the regression equation algebraically describes.
Chapter 10 Simple Regression.
Correlation and Simple Regression Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College Publishing.
9. SIMPLE LINEAR REGESSION AND CORRELATION
Regression Analysis. Unscheduled Maintenance Issue: l 36 flight squadrons l Each experiences unscheduled maintenance actions (UMAs) l UMAs costs $1000.
Correlation and Regression. Correlation What type of relationship exists between the two variables and is the correlation significant? x y Cigarettes.
RESEARCH STATISTICS Jobayer Hossain Larry Holmes, Jr November 6, 2008 Examining Relationship of Variables.
Lecture 19 Simple linear regression (Review, 18.5, 18.8)
Introduction to simple linear regression ASW, Economics 224 – Notes for November 5, 2008.
1 1 Slide Simple Linear Regression Chapter 14 BA 303 – Spring 2011.
Lecture 5 Correlation and Regression
Correlation & Regression
Regression and Correlation Methods Judy Zhong Ph.D.
Introduction to Linear Regression and Correlation Analysis
Chapter 11 Simple Regression
1 FORECASTING Regression Analysis Aslı Sencer Graduate Program in Business Information Systems.
Chapter 6 & 7 Linear Regression & Correlation
EQT 272 PROBABILITY AND STATISTICS
Managerial Economics Demand Estimation. Scatter Diagram Regression Analysis.
INTRODUCTORY LINEAR REGRESSION SIMPLE LINEAR REGRESSION - Curve fitting - Inferences about estimated parameter - Adequacy of the models - Linear.
Correlation Analysis. A measure of association between two or more numerical variables. For examples height & weight relationship price and demand relationship.
Correlation & Regression
10B11PD311 Economics REGRESSION ANALYSIS. 10B11PD311 Economics Regression Techniques and Demand Estimation Some important questions before a firm are.
Examining Bivariate Data Unit 3 – Statistics. Some Vocabulary Response aka Dependent Variable –Measures an outcome of a study Explanatory aka Independent.
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.
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.
CHAPTER 5 CORRELATION & LINEAR REGRESSION. GOAL : Understand and interpret the terms dependent variable and independent variable. Draw a scatter diagram.
© 2001 Prentice-Hall, Inc.Chap 13-1 BA 201 Lecture 18 Introduction to Simple Linear Regression (Data)Data.
Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.
All Rights Reserved to Kardan University 2014 Kardan University Kardan.edu.af.
Free Powerpoint Templates ROHANA BINTI ABDUL HAMID INSTITUT E FOR ENGINEERING MATHEMATICS (IMK) UNIVERSITI MALAYSIA PERLIS.
Biostatistics Regression and Correlation Methods Class #10 April 4, 2000.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
BUSINESS MATHEMATICS & STATISTICS. Module 6 Correlation ( Lecture 28-29) Line Fitting ( Lectures 30-31) Time Series and Exponential Smoothing ( Lectures.
REGRESSION AND CORRELATION SIMPLE LINEAR REGRESSION 10.2 SCATTER DIAGRAM 10.3 GRAPHICAL METHOD FOR DETERMINING REGRESSION 10.4 LEAST SQUARE METHOD.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 9 l Simple Linear Regression 9.1 Simple Linear Regression 9.2 Scatter Diagram 9.3 Graphical.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
The simple linear regression model and parameter estimation
Regression Analysis AGEC 784.
PDF, Normal Distribution and Linear Regression
Bivariate & Multivariate Regression Analysis
REGRESSION (R2).
3.1 Examples of Demand Functions
Chapter 5 STATISTICS (PART 4).
SIMPLE LINEAR REGRESSION MODEL
Simple Linear Regression
Correlation and Regression
ECONOMETRICS DR. DEEPTI.
The Least-Squares Regression Line
6-1 Introduction To Empirical Models
Undergraduated Econometrics
Simple Linear Regression
Correlation and Regression
BEC 30325: MANAGERIAL ECONOMICS
Introduction to Regression
Presentation transcript:

Introduction to simple linear regression ASW, 12.1-12.2 Economics 224 – Notes for November 5, 2008

Regression model Relation between variables where changes in some variables may “explain” or possibly “cause” changes in other variables. Explanatory variables are termed the independent variables and the variables to be explained are termed the dependent variables. Regression model estimates the nature of the relationship between the independent and dependent variables. Change in dependent variables that results from changes in independent variables, ie. size of the relationship. Strength of the relationship. Statistical significance of the relationship.

Examples Dependent variable is retail price of gasoline in Regina – independent variable is the price of crude oil. Dependent variable is employment income – independent variables might be hours of work, education, occupation, sex, age, region, years of experience, unionization status, etc. Price of a product and quantity produced or sold: Quantity sold affected by price. Dependent variable is quantity of product sold – independent variable is price. Price affected by quantity offered for sale. Dependent variable is price – independent variable is quantity sold.

Source: CANSIM II Database (Vector v1576530 and v735048 respectively)

Bivariate and multivariate models (Education) x y (Income) (Education) x1 (Sex) x2 (Experience) x3 (Age) x4 Bivariate or simple regression model Multivariate or multiple regression model y (Income) Model with simultaneous relationship Price of wheat Quantity of wheat produced

Bivariate or simple linear regression (ASW, 466) x is the independent variable y is the dependent variable The regression model is The model has two variables, the independent or explanatory variable, x, and the dependent variable y, the variable whose variation is to be explained. The relationship between x and y is a linear or straight line relationship. Two parameters to estimate – the slope of the line β1 and the y-intercept β0 (where the line crosses the vertical axis). ε is the unexplained, random, or error component. Much more on this later.

Regression line The regression model is Data about x and y are obtained from a sample. From the sample of values of x and y, estimates b0 of β0 and b1 of β1 are obtained using the least squares or another method. The resulting estimate of the model is The symbol is termed “y hat” and refers to the predicted values of the dependent variable y that are associated with values of x, given the linear model.

Relationships Economic theory specifies the type and structure of relationships that are to be expected. Historical studies. Studies conducted by other researchers – different samples and related issues. Speculation about possible relationships. Correlation and causation. Theoretical reasons for estimation of regression relationships; empirical relationships need to have theoretical explanation.

Uses of regression Amount of change in a dependent variable that results from changes in the independent variable(s) – can be used to estimate elasticities, returns on investment in human capital, etc. Attempt to determine causes of phenomena. Prediction and forecasting of sales, economic growth, etc. Support or negate theoretical model. Modify and improve theoretical models and explanations of phenomena.

Income hrs/week 8000 38 35 6400 50 18000 37.5 2500 15 5400 37 3000 30 15000 6000 3500 5000 24000 45 1000 4 4000 20 11000 2100 25 25000 46 8800 200 2000 7000 43 4800 Discuss cleaning the data. – 0 incomes out – income and 0 hours out – The 200 hours?

Trendline shows the positive relationship. Evidence of other variables? R2 = 0.311 Significance = 0.0031

Selected only.

The role of the two significant observations

Outliers Rare, extreme values may distort the outcome. Could be an error. Could be a very important observation. Outlier: more than 3 standard deviations from the mean. If you see one, check if it is a mistake.

The role of the two significant observations

The role of the two significant observations

Correlation = 0.8703 Source: CANSIM II Database (Vector v1576530 and v735048 respectively)

Be wary of the scatter graph, it is not always perfect. Close to zero relationship, but there really is a more complex one. Correlation = +0.12.

Next Wednesday, November 12 Least squares method (ASW, 12.2) Goodness of fit (ASW, 12.3) Assumptions of model (ASW, 12.4) Assignment 5 will be available on UR Courses by late afternoon Friday, November 7. No class on Monday, November 10 but I will be in the office, CL247, from 2:30 – 4:00 p.m.