Lecture 9 Regression Analysis.

Slides:



Advertisements
Similar presentations
Name: Date: Read temperatures on a thermometer Independent / Some adult support / A lot of adult support
Advertisements

Which Test? Which Test? Explorin g Data Explorin g Data Planning a Study Planning a Study Anticipat.
Determining and Forecasting Load Reductions from Demand Side Programs September 11-12, 2007 Presented by: Bill Bland, V.P. Consulting, GoodCents Liza Thompson,
2.4 Using Linear Models 1.Modeling Real-World Data 2.Predicting with Linear Models.
Can you explain the ideas
£1 Million £500,000 £250,000 £125,000 £64,000 £32,000 £16,000 £8,000 £4,000 £2,000 £1,000 £500 £300 £200 £100 Welcome.
Section 5.5 – Exponential and Logarithmic Models
Intro to Motion.
Spearman’s Rank For relationship data. Non-parametric i.e. no assumptions are made about data fitting a normal distribution You must have more than 5.
Welcome to Econ 420 Applied Regression Analysis
Regression, Correlation. Research Theoretical empirical Usually combination of the two.
1 Simple Linear Regression and Correlation The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES Assessing the model –T-tests –R-square.
Chapter 10 Regression. Defining Regression Simple linear regression features one independent variable and one dependent variable, as in correlation the.
Chapter 4 Part I - Introduction to Simple Linear Regression Applied Management Science for Decision Making, 2e © 2014 Pearson Learning Solutions Philip.
Simple Linear Regression
Correlation-Regression The correlation coefficient measures how well one can predict X from Y or Y from X.
SIMPLE LINEAR REGRESSION
1 Simple Linear Regression Chapter Introduction In this chapter we examine the relationship among interval variables via a mathematical equation.
Simple Linear Regression Analysis
SIMPLE LINEAR REGRESSION
REGRESSION Predict future scores on Y based on measured scores on X Predictions are based on a correlation from a sample where both X and Y were measured.
Simple Linear Regression. Introduction In Chapters 17 to 19, we examine the relationship between interval variables via a mathematical equation. The motivation.
Regression and Correlation BUSA 2100, Sect , 3.5.
Relationships Among Variables
Correlation & Regression Math 137 Fresno State Burger.
Correlation and Linear Regression
Sec 10.3 Coefficient of Determination and Standard Error of the Estimate.
SIMPLE LINEAR REGRESSION
Introduction to Linear Regression and Correlation Analysis
Simple Linear Regression. Correlation Correlation (  ) measures the strength of the linear relationship between two sets of data (X,Y). The value for.
Correlation and Regression
1 Least squares procedure Inference for least squares lines Simple Linear Regression.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
Production Planning and Control. A correlation is a relationship between two variables. The data can be represented by the ordered pairs (x, y) where.
Correlation Analysis. A measure of association between two or more numerical variables. For examples height & weight relationship price and demand relationship.
Correlation & Regression
Part III - Forecast Confidence Intervals Chapter 4 Statistics for Managers Using Microsoft Excel, 7e © 2014 Pearson Prentice-Hall, Inc. Philip A. Vaccaro,
Linear Regression. Determine if there is a linear correlation between horsepower and fuel consumption for these five vehicles by creating a scatter plot.
Chapter 11 Correlation and Simple Linear Regression Statistics for Business (Econ) 1.
Chapter 10 For Explaining Psychological Statistics, 4th ed. by B. Cohen 1 A perfect correlation implies the ability to predict one score from another perfectly.
STA291 Statistical Methods Lecture LINEar Association o r measures “closeness” of data to the “best” line. What line is that? And best in what terms.
Multiple Regression. Simple Regression in detail Y i = β o + β 1 x i + ε i Where Y => Dependent variable X => Independent variable β o => Model parameter.
Correlation and Regression. fourth lecture We will learn in this lecture: Correlation and Regression 1- Linear Correlation Coefficient of Pearson 2- Simple.
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.
Economics 173 Business Statistics Lecture 10 Fall, 2001 Professor J. Petry
Chapter 8: Simple Linear Regression Yang Zhenlin.
Linear Prediction Correlation can be used to make predictions – Values on X can be used to predict values on Y – Stronger relationships between X and Y.
© 2001 Prentice-Hall, Inc.Chap 13-1 BA 201 Lecture 18 Introduction to Simple Linear Regression (Data)Data.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
1 Simple Linear Regression and Correlation Least Squares Method The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES.
Regression Analysis Deterministic model No chance of an error in calculating y for a given x Probabilistic model chance of an error First order linear.
1 1 Slide The Simple Linear Regression Model n Simple Linear Regression Model y =  0 +  1 x +  n Simple Linear Regression Equation E( y ) =  0 + 
Chapter 7 Linear Regression. Bivariate data x – variable: is the independent or explanatory variable y- variable: is the dependent or response variable.
WELCOME TO THE PRESENTATION ON LINEAR REGRESSION ANALYSIS & CORRELATION (BI-VARIATE) ANALYSIS.
Introduction. We want to see if there is any relationship between the results on exams and the amount of hours used for studies. Person ABCDEFGHIJ Hours/
Regression Analysis AGEC 784.
Correlation & Regression
CHAPTER 10 Correlation and Regression (Objectives)
Simple Linear Regression
Simple Linear Regression
Correlation and Regression
SIMPLE LINEAR REGRESSION
Chapter 7 Demand Forecasting in a Supply Chain
SIMPLE LINEAR REGRESSION
Simple Linear Regression
Ch 4.1 & 4.2 Two dimensions concept
Regression & Correlation (1)
بسم الله الرحمن الرحيم. Correlation & Regression Dr. Moataza Mahmoud Abdel Wahab Lecturer of Biostatistics High Institute of Public Health University.
Correlation & Regression
Presentation transcript:

Lecture 9 Regression Analysis

Relationship between “Cause” and “Effect”t Regression analysis establishes relationship between a dependent variable and independent variables Relationship between “Cause” and “Effect”t Relationship between variables

Usefulness of regression analysis Regression analysis is a vary widely used tool for research. It shows type and magnitude of relationship between two variables.

Example of Usefulness of Regression Analysis : Shows for example whether there is any relationship between an increase in household income (Y) land an increase in consumption (C ). Whether there is positive or negative relationship between Y and C. Whether if : Y C or reverse How much of an increase in income (Y) is spent on consumption ( C ).

Example of Usefulness of Regression Analysis Regression is also used for prediction and forecasting, Regression analysis allows to measure confidence or significance level of the findings.

Example of Usefulness of Regression Analysis Increase in traffic jam (hours of non-movement) depends on Increase in number of cars in Dhaka City. (+ dependency) A decrease in number of School drop-out depends on an increase I income of parents.(-ve dependency) An increase in household income leads to an increase in household consumption.

Other Logical Examples of Positive and Negative Dependency

Forms of regression models A regression model relates dependent variable Y to be a function/relation of independent variable X. Symbolically, Y = f (Xi) Where i = 1,2,3,4,…

Diagrammatic Representation of Regression Model Consumption Expenditure(,000Tk) Each dot represent sample data for Income and Expenditure for each sample household 100 90 130 Income of the Household (,000 Tk) 120

Consumption Expenditure ( C ) C = a + by Regression analysis draw a mean /average line with equation C = a + b Y so that difference between sample data and estimated data is minimized. Income of the Household (Y) Does dotted line minimize deviations?

Deviations between sample value and the mean value Mean value line

Diagrammatic Representation of Regression Equation In mean or average line, square of the deviation ( C i) for each of the sample from mean ( C )is minimized. Why ? Because simple sum of difference from mean is always zero.

Example C - C Sum is zero 1 -1 0 (C – C)**2 1 0 -1 0 (C – C)**2 1 0 Sum of square is + number Y 10 8 9 Av Y is 9 C 6 7 Av C is 7 Dependent variable

Formula for Regression coefficient b when sum of square is minimized , b = (Ci – C) (Yi –Y) (Yi – Y) 2 i = 1,2, ….n

General Formula If Y is dependent variable and X is independent variable e.g. Y = f (x) then Regression coefficient = Sum of (Xi –X) (Yi – Y) Sum of (Xi –X)**2

Example : Given the following data C = f (Y), predict Consumption level for a household with annual income of 500 thousand Taka Annual Income (Y) (,000Tk) 100 150 200 250 300 Annual Expenditure (C ) 80 90 110 120

Example : Given the following data, predict Consumption level for a household with annual income of 500 thousand Taka. (Fig in,000Tk) Annual Income (Y) Av Y = 200 Yi - Y 100 -100 150 -50 200 250 50 300 Annual Expenditure (C ) Av C = 100 Ci - C 80 -20 90 -10 110 10 120 20

Example (Ci – C) (Yi –Y) = 2000 +500 + 0 + 500 + 2000 = 5000 = 2000 +500 + 0 + 500 + 2000 = 5000 (Yi – Y) 2 = 10000+2500 + 0 + 2500+ 10000 = 25000 Therefore b = (Ci – C) (Yi –Y) / (Yi – Y) 2 = 0.2

Calculated Regression Equation Example C = a + b Y Or C = a + 0.2 Y or C = a + 0.2 Y Or a = C -0.2 Y Or a = 100-0.2 x 200 = 100 – 40 = 60 Therefore C = 60 + 0.2 Y

Calculated Regression Equation Example C = 60 +0.2 Y What kind of relationship between Y and C ? How much consumption increases for Tk 1000 increase in income ?

C = 60 +0.2 Y What is consumption, when income is zero? What is predicted consumption, when income is Tk 500,000?

Correlation : A measure of simple relationship Correlation shows only associanship or relationship between two variables. Whereas Regression analysis shows dependency relationship Correlation between two variables ( for example Income and Expenditure) is measured by a formula shown as ;

Formula of Correlation coefficient r is (Ci – C) (Yi –Y) (Yi – Y) 2 (Ci – C)2

Formula of Correlation coefficient r in terms of regression coefficient r (Yi – Y)**2 r = b (Ci – C )**2

The End

Class Assignment Given the following data, calculate correlation coefficient between Income and Expenditure. Also predict how much Consumption will increase for a 1000 Tk increase in household income? Annual Income (Y) (,000Tk) 110 160 210 260 310 Annual Expenditure (C ) 75 85 95 105 115

The End