Yard. Doç. Dr. Tarkan Erdik Regression analysis - Week 12 1.

Slides:



Advertisements
Similar presentations
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Advertisements

Lesson 10: Linear Regression and Correlation
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Curve Fitting ~ Least Squares Regression Chapter.
Forecasting Using the Simple Linear Regression Model and Correlation
13- 1 Chapter Thirteen McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
11 Simple Linear Regression and Correlation CHAPTER OUTLINE
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
Simple Linear Regression. G. Baker, Department of Statistics University of South Carolina; Slide 2 Relationship Between Two Quantitative Variables If.
Objectives (BPS chapter 24)
Simple Linear Regression
LECTURE 3 Introduction to Linear Regression and Correlation Analysis
Chapter 10 Simple Regression.
Chapter 13 Introduction to Linear Regression and Correlation Analysis
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 13 Introduction to Linear Regression and Correlation Analysis.
SIMPLE LINEAR REGRESSION
Chapter Topics Types of Regression Models
Linear Regression and Correlation Analysis
Chapter 13 Introduction to Linear Regression and Correlation Analysis
Simple Linear Regression Analysis
Quantitative Business Analysis for Decision Making Simple Linear Regression.
SIMPLE LINEAR REGRESSION
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Chapter 14 Introduction to Linear Regression and Correlation Analysis
Correlation and Regression Analysis
Simple Linear Regression Analysis
Lecture 5 Correlation and Regression
Correlation & Regression
Correlation and Linear Regression
Regression and Correlation Methods Judy Zhong Ph.D.
SIMPLE LINEAR REGRESSION
Introduction to Linear Regression and Correlation Analysis
Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one.
Inference for regression - Simple linear regression
Chapter 11 Simple Regression
Linear Regression and Correlation
Correlation and Linear Regression
1 Least squares procedure Inference for least squares lines Simple Linear Regression.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 12-1 Correlation and Regression.
Introduction to Linear Regression
Chap 12-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 12 Introduction to Linear.
Applied Quantitative Analysis and Practices LECTURE#23 By Dr. Osman Sadiq Paracha.
Lecture 8 Simple Linear Regression (cont.). Section Objectives: Statistical model for linear regression Data for simple linear regression Estimation.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
Chapter 4 Linear Regression 1. Introduction Managerial decisions are often based on the relationship between two or more variables. For example, after.
1 11 Simple Linear Regression and Correlation 11-1 Empirical Models 11-2 Simple Linear Regression 11-3 Properties of the Least Squares Estimators 11-4.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 13-1 Introduction to Regression Analysis Regression analysis is used.
1 Regression Analysis The contents in this chapter are from Chapters of the textbook. The cntry15.sav data will be used. The data collected 15 countries’
ANOVA, Regression and Multiple Regression March
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
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 + 
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Linear Regression and Correlation Chapter 13.
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.
Correlation and Linear Regression
The simple linear regression model and parameter estimation
Chapter 4 Basic Estimation Techniques
Regression Analysis AGEC 784.
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Basic Estimation Techniques
Chapter 11: Simple Linear Regression
Correlation and Regression
SIMPLE LINEAR REGRESSION
SIMPLE LINEAR REGRESSION
Linear Regression and Correlation
Presentation transcript:

Yard. Doç. Dr. Tarkan Erdik Regression analysis - Week 12 1

2

When there are two or more variables, there may be some realitionship between (or among) the variables. In the presence of randomnes, the relationship between the two variables will not be unique. For a given value of one variable, there is a range of possible value of the other variable. 3

4 TYPICAL EXAMPLES to REGRESSION ANALYSIS 1. Size of a house and the electricty consumption. 2. Size of an automobile and fuel consumption. 3. Wave height during a storm event and damage at a breakwater. 4. Precipitation and flow in a basin. 5. Cement/water ratio in a concrete block and its resistance to presure. 6. The vehicle number at a certain bridge and time of the day. 7. Flows in neighboring basins.

5 WHAT IS THE COMMON SIDE OF THESE EXAPLES? These relations are NOT of a deterministic (functional) character. In other words, when one of the variables takes a certain value the other will not always take the same value. This value will change more or less in various observations with the effect of other variables which we have not considered in the relation.

6 Result: The relationship between these variables, therefore, requires a probabilistic approach. The mathematical expression showing a relation of the above mentioned type is called REGRESSION EQUATION.

7 Response Regressor Intercept Slope Simple linear regression

8 price of a house Area of the house Age of the house

Why do we need regression analysis? to check whether there is a significant relation between the variables under consideration, to obtain the regression equation expressing this relation and to evaluate the confidence interval of the estimates to be made by using this equation. 9

Regression analysis can be classified as follows: 1. Simple linear regression analysis: it is assumed that there is a linear relationship between two variables. 2. Multivariate linear regression analysis: It is assumed that there is a linear relationship among more than two variables. 3. Nonlinear regression analysis: it is assumed that a nonlinear relation of which the form is expressed by a pre-selected equation exists between two or more variables. 10

Correlation coefficient being  X,Y =0 shows that there is NO linear dependence between X and Y, whereas the absolute value of  X,Y approaching 1 means that the dependence between the variables strengthens approaching a deterministic relationship. (However, correlation coefficient having a value close to 1 does not always show a cause and effect relationship between the two variables. Both of the variables being effected by another variable may be the cause of a high correlation coefficient) 11

12 In cases of small samples it is required to divide by N-1 instead of N in Eq. (7.1).

13

14

15

16

The estimated r X,Y statistic is NOT equal to the population  X,Y value. We must know the sampling distribution of r X,Y statistic to decide about the dependence by considering the estimated r X,Y value. 17

The Method of Least Squares 18 y=ax+b a= b=

Example: Annual flows (10 6 m 3 ) at two stations on the river Dicle are given below: 19 Year X Y Year X Y However it is not sufficient only to plot the observed value pairs to decide whether there is a significant relationship between the two random variables.

 x =  y = 4397s X = 7669s Y = 2768 If we substitute the values into the correlation coef. eq. 20 r X,Y = 0.868

21

22

23

24

Some assumptions of regression analysis 1-The deviations of scatter points from the fitted curve have zero average with assumed constant variance. 2-the fitting of a regression curve may pass close to a certain percentage of points, but this cannot account for the validity of the method; 3- The prediction errors are expected to abide with a Gaussian distribution function which is not the case in many practical studies 25

Computer applications with Excel 26

27

28

29

Regression analysis by STATISTICA 30

31

32

33

34

35

36 Question: Please derive regression equation for the following variables