Correlation and Regression-II

Slides:



Advertisements
Similar presentations
Kin 304 Regression Linear Regression Least Sum of Squares
Advertisements

Linear Equations Review. Find the slope and y intercept: y + x = -1.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Curve Fitting ~ Least Squares Regression Chapter.
Regresi Linear Sederhana Pertemuan 01 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
Definition  Regression Model  Regression Equation Y i =  0 +  1 X i ^ Given a collection of paired data, the regression equation algebraically describes.
Correlation Correlation is the relationship between two quantitative variables. Correlation coefficient (r) measures the strength of the linear relationship.
Regression Regression: Mathematical method for determining the best equation that reproduces a data set Linear Regression: Regression method applied with.
LINEAR REGRESSION: What it Is and How it Works Overview What is Bivariate Linear Regression? The Regression Equation How It’s Based on r.
LINEAR REGRESSION: What it Is and How it Works. Overview What is Bivariate Linear Regression? The Regression Equation How It’s Based on r.
Least Square Regression
Least Square Regression
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 17 Least Square Regression.
EGR 105 Foundations of Engineering I Fall 2007 – week 7 Excel part 3 - regression.
Analyzing quantitative data – section III Week 10 Lecture 1.
Empirical Estimation Review EconS 451: Lecture # 8 Describe in general terms what we are attempting to solve with empirical estimation. Understand why.
Advantages of Multivariate Analysis Close resemblance to how the researcher thinks. Close resemblance to how the researcher thinks. Easy visualisation.
Transforming to Achieve Linearity
Chapter 11 Simple Regression
Relationships between Variables. Two variables are related if they move together in some way Relationship between two variables can be strong, weak or.
Section 4.2 Regression Equations and Predictions.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
MECN 3500 Inter - Bayamon Lecture 9 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Statistical Methods Statistical Methods Descriptive Inferential
Regression. Population Covariance and Correlation.
Thomas Knotts. Engineers often: Regress data  Analysis  Fit to theory  Data reduction Use the regression of others  Antoine Equation  DIPPR.
Slide 8- 1 Copyright © 2010 Pearson Education, Inc. Active Learning Lecture Slides For use with Classroom Response Systems Business Statistics First Edition.
1 Multiple Regression A single numerical response variable, Y. Multiple numerical explanatory variables, X 1, X 2,…, X k.
PS 225 Lecture 20 Linear Regression Equation and Prediction.
Aim: Review for Exam Tomorrow. Independent VS. Dependent Variable Response Variables (DV) measures an outcome of a study Explanatory Variables (IV) explains.
Revision: Pivot Table 1. Histogram 2. Trends 3. Linear 4. Exponential
Environmental Modeling Basic Testing Methods - Statistics III.
. 5.1 write linear equation in slope intercept form..5.2 use linear equations in slope –intercept form..5.3 write linear equation in point slope form..5.4.
© 2001 Prentice-Hall, Inc.Chap 13-1 BA 201 Lecture 18 Introduction to Simple Linear Regression (Data)Data.
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.
Correlation and Regression Chapter 9. § 9.2 Linear Regression.
Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.
OLS Regression What is it? Closely allied with correlation – interested in the strength of the linear relationship between two variables One variable is.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
REGRESSION Stats 1 with Liz. AIMS By the end of the lesson, you should be able to… o Understand the method of least squares to find a regression line.
Chapter 8 Part I Answers The explanatory variable (x) is initial drop, measured in feet, and the response variable (y) is duration, measured in seconds.
Chapter 4: Basic Estimation Techniques
Regression and Correlation of Data Summary
Linear Regression.
Chapter 4 Basic Estimation Techniques
Regression Analysis AGEC 784.
Linear Regression Special Topics.
CHAPTER 3 Describing Relationships
Regression Chapter 6 I Introduction to Regression
Kin 304 Regression Linear Regression Least Sum of Squares
SIMPLE LINEAR REGRESSION MODEL
BPK 304W Regression Linear Regression Least Sum of Squares
BPK 304W Correlation.
Multiple Regression A curvilinear relationship between one variable and the values of two or more other independent variables. Y = intercept + (slope1.
Linear Regression.
Regression Models - Introduction
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Linear regression Fitting a straight line to observations.
Correlation and Regression-III
Least-Squares Regression
Lesson 2.2 Linear Regression.
Correlation and Regression
Least Square Regression
EQUATION 4.1 Relationship Between One Dependent and One Independent Variable: Simple Regression Analysis.
Multivariate Analysis Regression
Ch 4.1 & 4.2 Two dimensions concept
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. Find the correlation coefficient & interpret.
Lesson 2.2 Linear Regression.
9/27/ A Least-Squares Regression.
Chapter 14 Multiple Regression
Regression Models - Introduction
Presentation transcript:

Correlation and Regression-II QSCI 381 – Lecture 37 (Larson and Farber, Sects 9.2+9.4)

Introduction regression line Having determined that the correlation between two variables is significant, we now need to quantify the relationship by the line that best fits the data. This line is called the and it can be used to predict the value of y for a given value of x. regression line

Fitting a Regression Line-I We refer to the difference between each value of y and the value predicted by the regression line as a . The regression line (or the line of best fit) is chosen so that the sum of squared residuals is minimized. residual

Fitting a Regression Line-II d3 d2 d1 Minimize

Equation of a Regression Line-I Slope = m Intercept=b The equation of a regression line for an independent variable x and a dependent variable y is: where is the predicted y-value for a given x-value.

Equation of a Regression Line-II The slope m and the y-intercept b are estimated using the equations: where is the mean of the y-values and is the mean of the x-values. The regression line always passes through the point .

Example-I Length and weight are related by a power curve: This equation can be transformed to a linear relationship by taking logarithms: We will estimate the values for a and c for blue warehou.

The relationship looks linear after log-transformation Example-II The relationship looks linear after log-transformation

Example-III X Y XY X2 3.13 5.51 17.25 9.79 3.39 6.29 21.33 11.49 3.38 6.39 21.62 11.46 2.71 4.21 11.39 7.34 3.95 7.99 31.54 15.59 3.83 7.62 29.17 14.65 3.44 6.58 22.66 11.84 7.94 31.40 15.63 3.60 7.01 25.20 12.95 3.63 25.45 13.20 35.01 66.54 237.01 123.93

Example IV

Using EXCEL to Estimate a Regression Line-I Data – Data Analysis – Regression

Using EXCEL to Estimate a Regression Line-II The function LINEST implements the regression dialog box. INDEX(LINEST(Y1:Y10,X1:X10),1) – slope INDEX(LINEST(Y1:Y10,X1:X10),2) – intercept. This function includes several other features which we will discover in the next lecture.

Application of Regression Lines Use the regression line from the first example to find the logarithm of the weight of a fish whose length is 50cm.

Multiple Linear Regression-I It is not uncommon to be able to make better predictions using more than one independent (explanatory) variable. A equation has the form: where are the explanatory variables. multiple regression