Linear Regression Y i =  0 +  1 x i +  i Marco Lattuada Swiss Federal Institute of Technology - ETH Institut für Chemie und Bioingenieurwissenschaften.

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

Chapter 12 Simple Linear Regression
Chap 12-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 12 Simple Regression Statistics for Business and Economics 6.
Forecasting Using the Simple Linear Regression Model and Correlation
Linear Regression 1Daniel Baur / Numerical Methods for Chemical Engineers / Linear Regression Daniel Baur ETH Zurich, Institut für Chemie- und Bioingenieurwissenschaften.
Inference for Regression
Regression Analysis Simple Regression. y = mx + b y = a + bx.
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
Simple Linear Regression. Start by exploring the data Construct a scatterplot  Does a linear relationship between variables exist?  Is the relationship.
Chapter 12 Simple Linear Regression
Linear Systems of Equations Ax = b Marco Lattuada Swiss Federal Institute of Technology - ETH Institut für Chemie und Bioingenieurwissenschaften ETH Hönggerberg/
2DS00 Statistics 1 for Chemical Engineering Lecture 3.
1-1 Regression Models  Population Deterministic Regression Model Y i =  0 +  1 X i u Y i only depends on the value of X i and no other factor can affect.
Chapter 10 Simple Regression.
Chapter 12 Simple Regression
Linear Regression with One Regression
Statistics 350 Lecture 16. Today Last Day: Introduction to Multiple Linear Regression Model Today: More Chapter 6.
Lesson #32 Simple Linear Regression. Regression is used to model and/or predict a variable; called the dependent variable, Y; based on one or more independent.
Response Surfaces max(S(  )) Marco Lattuada Swiss Federal Institute of Technology - ETH Institut für Chemie und Bioingenieurwissenschaften ETH Hönggerberg/
Chapter Topics Types of Regression Models
Simple Linear Regression Analysis
Non Linear Regression Y i = f(  x i ) +  i Marco Lattuada Swiss Federal Institute of Technology - ETH Institut für Chemie und Bioingenieurwissenschaften.
Ch. 14: The Multiple Regression Model building
Statistics 350 Lecture 17. Today Last Day: Introduction to Multiple Linear Regression Model Today: More Chapter 6.
Simple Linear Regression and Correlation
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Implicit ODE Solvers Daniel Baur ETH Zurich, Institut.
15: Linear Regression Expected change in Y per unit X.
Simple Linear Regression Analysis
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.
OPIM 303-Lecture #8 Jose M. Cruz Assistant Professor.
Statistics for Business and Economics 7 th Edition Chapter 11 Simple Regression Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch.
Applied Quantitative Analysis and Practices LECTURE#23 By Dr. Osman Sadiq Paracha.
1 Chapter 12 Simple Linear Regression. 2 Chapter Outline  Simple Linear Regression Model  Least Squares Method  Coefficient of Determination  Model.
Chapter 5: Regression Analysis Part 1: Simple Linear Regression.
Lesson Multiple Regression Models. Objectives Obtain the correlation matrix Use technology to find a multiple regression equation Interpret the.
1 Multiple Regression A single numerical response variable, Y. Multiple numerical explanatory variables, X 1, X 2,…, X k.
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 13-1 Introduction to Regression Analysis Regression analysis is used.
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.
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)
28. Multiple regression The Practice of Statistics in the Life Sciences Second Edition.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
Principal Component Analysis (PCA)
Linear Regression 1Michael Sokolov / Numerical Methods for Chemical Engineers / Linear Regression Michael Sokolov ETH Zurich, Institut für Chemie- und.
Linear Systems of Equations Iterative and Relaxation Methods Ax = b Marco Lattuada Swiss Federal Institute of Technology - ETH Institut für Chemie und.
Chapter 12 Simple Linear Regression n Simple Linear Regression Model n Least Squares Method n Coefficient of Determination n Model Assumptions n Testing.
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 + 
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Multiple Regression Chapter 14.
Simple linear regression and correlation Regression analysis is the process of constructing a mathematical model or function that can be used to predict.
1 AAEC 4302 ADVANCED STATISTICAL METHODS IN AGRICULTURAL RESEARCH Part II: Theory and Estimation of Regression Models Chapter 5: Simple Regression Theory.
Introduction Many problems in Engineering, Management, Health Sciences and other Sciences involve exploring the relationships between two or more variables.
INTRODUCTION TO MULTIPLE REGRESSION MULTIPLE REGRESSION MODEL 11.2 MULTIPLE COEFFICIENT OF DETERMINATION 11.3 MODEL ASSUMPTIONS 11.4 TEST OF SIGNIFICANCE.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Nonlinear Regression 1Michael Sokolov / Numerical Methods for Chemical Engineers / Nonlinear Regression Michael Sokolov ETH Zurich, Institut für Chemie-
Chapter 20 Linear and Multiple Regression
Regression Analysis AGEC 784.
Multiple Linear Regression
Chapter 11 Simple Regression
Quantitative Methods Simple Regression.
Zero of a Nonlinear Function f(x) = 0
Stats Club Marnie Brennan
CHAPTER 29: Multiple Regression*
Chapter 12 Inference on the Least-squares Regression Line; ANOVA
Linear Regression.
Zero of a Nonlinear System of Algebraic Equations f(x) = 0
Regression and Correlation of Data
Introduction to Regression
Presentation transcript:

Linear Regression Y i =  0 +  1 x i +  i Marco Lattuada Swiss Federal Institute of Technology - ETH Institut für Chemie und Bioingenieurwissenschaften ETH Hönggerberg/ HCI F135 – Zürich (Switzerland) Marco Lattuada Swiss Federal Institute of Technology - ETH Institut für Chemie und Bioingenieurwissenschaften ETH Hönggerberg/ HCI F135 – Zürich (Switzerland)

Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Simple Linear Regressions – Page # 2 Regression Analysis Aim: To know to which extent a certain response (dependent) variable is related to a set of explanatory (independent) variables. Example: James David Forbes (Edinburgh ) Aim: To know to which extent a certain response (dependent) variable is related to a set of explanatory (independent) variables. Example: James David Forbes (Edinburgh ) ResponseObservations Professor in glaciology. He measured the water boiling points and atmospheric pressures at 17 different locations in the Swiss alps (Jungfrau) and in Scotland with the aim of using the boiling temperature of water to estimate altitude.

Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Simple Linear Regressions – Page # 3 Regression Model Input data: vectors x and Y, where: x i → i-th observation Y i → i-th response, or measurement Model: Y =  0 +  1 x +  or Y i =  0 +  1 x i +  i Output data: → estimated values of  0 and  1 Input data: vectors x and Y, where: x i → i-th observation Y i → i-th response, or measurement Model: Y =  0 +  1 x +  or Y i =  0 +  1 x i +  i Output data: → estimated values of  0 and  1 Measurement Error Fundamental assumption: errors are mutually independent and normally distributed with mean zero and variance  2 :

Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Simple Linear Regressions – Page # 4 Residuals  i

Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Simple Linear Regressions – Page # 5 Estimation of the Parameters Least Square Method: Minimum of S: Least Square Method: Minimum of S: The objective function (S) expresses a measure of the closeness between the regression line and the observations  I want to find the minimum of S

Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Simple Linear Regressions – Page # 6 Example

Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Simple Linear Regressions – Page # 7 Example: Parameter Estimation Averages Estimation of  0 and  1

Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Simple Linear Regressions – Page # 8 Example: Matlab Regression Routine  = confidence interval

Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Simple Linear Regressions – Page # 9 Residuals Outlier

Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Simple Linear Regressions – Page # 10 Removal of the Outlier

Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Simple Linear Regressions – Page # 11 Analysis of Variance (ANOVA) Total Sum of Squares Sum of Squares due to Regression Sum of Squares due to Error Total Sum of Squares Sum of Squares due to Regression Sum of Squares due to Error Coefficient of Determination R 2 = 1   i = 0 R 2 = 0  regression does not explain variation of Y

Alessandro Butté – Statistical and Numerical Methods for Chemical Engineers Simple Linear Regressions – Page # 12 Regression Analysis with Matlab Regression Routine Interval of confidence Regression Routine Interval of confidence

Alessandro Butté – Statistical and Numerical Methods for Chemical Engineers Simple Linear Regressions – Page # 13 Regression Analysis with Matlab Residuals Confidence interval for the residuals

Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Simple Linear Regressions – Page # 14 Multiple Linear Regression Approximate model: Residuals Least Squares Sum of Square Residuals (SSR)