Overview 4.2 Introduction to Correlation 4.3 Introduction to Regression.

Slides:



Advertisements
Similar presentations
Lesson 10: Linear Regression and Correlation
Advertisements

6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
Correlation and Regression
Chapter 4 The Relation between Two Variables
Chapter 6: Exploring Data: Relationships Lesson Plan
Chapter 15 (Ch. 13 in 2nd Can.) Association Between Variables Measured at the Interval-Ratio Level: Bivariate Correlation and Regression.
Chapter 4 Part I - Introduction to Simple Linear Regression Applied Management Science for Decision Making, 2e © 2014 Pearson Learning Solutions Philip.
Chapter 4 Describing the Relation Between Two Variables
Describing the Relation Between Two Variables
SIMPLE LINEAR REGRESSION
Regression Chapter 10 Understandable Statistics Ninth Edition By Brase and Brase Prepared by Yixun Shi Bloomsburg University of Pennsylvania.
Copyright © 2014, 2013, 2010 and 2007 Pearson Education, Inc. Chapter Describing the Relation between Two Variables 4.
CHAPTER 3 Describing Relationships
Introduction to Linear Regression.  You have seen how to find the equation of a line that connects two points.
Correlation and Linear Regression
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 13 Linear Regression and Correlation.
Chapter 8: Bivariate Regression and Correlation
Correlation and Regression
Linear Regression and Correlation
Descriptive Methods in Regression and Correlation
Linear Regression.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Simple Linear Regression Analysis Chapter 13.
SIMPLE LINEAR REGRESSION
Introduction to Linear Regression and Correlation Analysis
Linear Regression and Correlation
Correlation and Linear Regression
Copyright © Cengage Learning. All rights reserved.
STAT 211 – 019 Dan Piett West Virginia University Lecture 2.
Slide Copyright © 2008 Pearson Education, Inc. Chapter 4 Descriptive Methods in Regression and Correlation.
Chapter 14 – Correlation and Simple Regression Math 22 Introductory Statistics.
Chapter 4 Correlation and Regression Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
Chapter 13 Statistics © 2008 Pearson Addison-Wesley. All rights reserved.
Chapter 6: Exploring Data: Relationships Lesson Plan Displaying Relationships: Scatterplots Making Predictions: Regression Line Correlation Least-Squares.
Chapter 6 & 7 Linear Regression & Correlation
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 13 Multiple Regression Section 13.1 Using Several Variables to Predict a Response.
Linear Functions 2 Sociology 5811 Lecture 18 Copyright © 2004 by Evan Schofer Do not copy or distribute without permission.
© 2008 Pearson Addison-Wesley. All rights reserved Chapter 1 Section 13-6 Regression and Correlation.
Correlation is a statistical technique that describes the degree of relationship between two variables when you have bivariate data. A bivariate distribution.
1.6 Linear Regression & the Correlation Coefficient.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
Chapter 3 Section 3.1 Examining Relationships. Continue to ask the preliminary questions familiar from Chapter 1 and 2 What individuals do the data describe?
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 13 Linear Regression and Correlation.
Correlation Analysis. A measure of association between two or more numerical variables. For examples height & weight relationship price and demand relationship.
Summarizing Bivariate Data
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 4 Section 2 – Slide 1 of 20 Chapter 4 Section 2 Least-Squares Regression.
Chapter 11 Correlation and Simple Linear Regression Statistics for Business (Econ) 1.
Correlation and Regression. Section 9.1  Correlation is a relationship between 2 variables.  Data is often represented by ordered pairs (x, y) and.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 3 Describing Relationships 3.2 Least-Squares.
CORRELATION. Correlation key concepts: Types of correlation Methods of studying correlation a) Scatter diagram b) Karl pearson’s coefficient of correlation.
Chapter 9: Correlation and Regression Analysis. Correlation Correlation is a numerical way to measure the strength and direction of a linear association.
CHAPTER 5 CORRELATION & LINEAR REGRESSION. GOAL : Understand and interpret the terms dependent variable and independent variable. Draw a scatter diagram.
Scatter Diagram of Bivariate Measurement Data. Bivariate Measurement Data Example of Bivariate Measurement:
LEAST-SQUARES REGRESSION 3.2 Least Squares Regression Line and Residuals.
CHAPTER 3 Describing Relationships
Discovering Mathematics Week 9 – Unit 6 Graphs MU123 Dr. Hassan Sharafuddin.
© 2011 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license.
CORRELATION ANALYSIS.
Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Linear Regression and Correlation Chapter 13.
Chapter 15 Association Between Variables Measured at the Interval-Ratio Level.
Linear Regression Essentials Line Basics y = mx + b vs. Definitions
Chapter 5 STATISTICS (PART 4).
SIMPLE LINEAR REGRESSION MODEL
The Least-Squares Regression Line
Chapter 13 Multiple Regression
Ice Cream Sales vs Temperature
Lecture Notes The Relation between Two Variables Q Q
Equations of Lines and Modeling
9/27/ A Least-Squares Regression.
Presentation transcript:

Overview 4.2 Introduction to Correlation 4.3 Introduction to Regression

Scatterplots Used to summarize the relationship between two quantitative variables that have been measured on the same element Graph of points (x, y) each of which represents one observation from the data set One of the variables is measured along the horizontal axis and is called the x variable The other variable is measured along the vertical axis and is called the y variable

Predictor Variable and Response Variable The value of the x variable can be used to predict or estimate the value of the y variable The x variable is referred to as the predictor variable The y variable is called the response variable

Scatterplot Terminology Note the terminology in the caption to Figure 4.2. When describing a scatterplot, always indicate the y variable first and use the term versus (vs.) or against the x variable. This terminology reinforces the notion that the y variable depends on the x variable.

FIGURE 4.2 Scatterplot of sales price versus square footage.

Positive relationship As the x variable increases in value, the y variable also tends to increase. FIGURE 4.3 (a) Scatterplot of a positive relationship

Negative relationship As the x variable increases in value, the y variable tends to decrease FIGURE 4.3 (b) scatterplot of a negative relationship

No apparent relationship As the x variable increases in value, the y variable tends to remain unchanged FIGURE 4.3 (c) scatterplot of no apparent relationship.

4.2 Introduction to Correlation Objective: By the end of this section, I will be able to… 1) Calculate and interpret the value of the correlation coefficient.

Correlation Coefficient r Measures the strength and direction of the linear relationship between two variables. s x is the sample standard deviation of the x data values. s y is the sample standard deviation of the y data values.

Example Calculating the correlation coefficient r Find the value of the correlation coefficient r for the temperature data in Table Table 4.11 High and low temperatures, in degrees Fahrenheit, of 10 American cities

Interpreting the Correlation Coefficient r 1) Values of r close to 1 indicate a positive relationship between the two variables.  The variables are said to be positively correlated.  As x increases, y tends to increase as well.

Interpreting the Correlation Coefficient r 2) Values of r close to -1 indicate a negative relationship between the two variables.  The variables are said to be negatively correlated.  As x increases, y tends to decrease.

Interpreting the Correlation Coefficient r 3) Other values of r indicate the lack of either a positive or negative linear relationship between the two variables.  The variables are said to be uncorrelated  As x increases, y tends to neither increase nor decrease linearly.

Guidelines for Interpreting the Correlation Coefficient r If the correlation coefficient between two variables is greater than 0.7, the variables are positively correlated. between 0.33 and 0.7, the variables are mildly positively correlated. between –0.33 and 0.33, the variables are not correlated. between –0.7 and –0.33, the variables are mildly negatively correlated. less than –0.7, the variables are negatively correlated.

Example Interpreting the correlation coefficient Interpret the correlation coefficient found in Example 4.5.

Example 4.6 continued Solution In Example 4.5, we found the correlation coefficient for the relationship between high and low temperature to be r = r = very close to 1. We would therefore say that high and low temperatures for these 10 American cities are strongly positively correlated. As low temperature increases, high temperatures also tend to increase.

Equivalent Computational Formula for Calculating the Correlation Coefficient r

Example 4.7 Use the computational formula to calculate the correlation coefficient r for the relationship between square footage and sales price of the eight home lots for sale in Glen Ellyn from Table 4.6 (Example 4.3 in Section 4.1).

Summary Section 4.2 introduces the correlation coefficient r, a measure of the strength of linear association between two numeric variables. Values of r close to 1 indicate that the variables are positively correlated. Values of r close to –1 indicate that the variables are negatively correlated. Values of r close to 0 indicate that the variables are not correlated.

4.3 Introduction to Regression Objectives: By the end of this section, I will be able to… 1) Calculate the value and understand the meaning of the slope and the y intercept of the regression line. 2) Predict values of y for given values of x.

Equation of the Regression Line Approximates the relationship between x and y The equation is where the regression coefficients are the slope, b 1, and the y intercept, b 0. The “hat” over the y (pronounced “y-hat”) indicates that this is an estimate of y and not necessarily an actual value of y.

Example Calculating the regression coefficients b 0 and b 1 Find the value of the regression coefficients b 0 and b 1 for the temperature data in Table Table 4.11 High and low temperatures, in degrees Fahrenheit, of 10 American cities

Example 4.8 continued Step 4: Thus, the equation of the regression line for the temperature data is

Example 4.8 continued Since y and x represent high and low temperatures, respectively, this equation is read as follows: “The estimated high temperature for an American city is degrees Fahrenheit plus times the low temperature for that city.”

Using the Regression Equation to Make Predictions For any particular value of x, the predicted value for y lies on the regression line. Example 4.11 Suppose we are considering moving to a city that has a low temperature of 47 degrees Fahrenheit (ºF) on this particular winter’s day. What would the estimated high temperature be for this city?

Example 4.11 continued Solution Plug the value of 47ºF for the variable low into the regression equation from Example 4.8: We would say: “The estimated high temperature for an American city with a low of 47ºF, is ºF.”

Interpreting the Slope Relationship Between Slope and Correlation Coefficient The slope b 1 of the regression line and the correlation coefficient r always have the same sign. b 1 is positive if and only if r is positive. b 1 is negative if and only if r is negative.